Allen & Overy (A&O) has been criticised by a High Court judge after the firm was deemed to have generated excessive costs in a five-day trial over BlackBerry patents.

A&O notched up fees totalling £5.18m representing Research in Motion (RIM) in its patent dispute with US technology company Visto, represented by Taylor Wessing.