Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4232136imj; Tue, 12 Feb 2019 12:07:26 -0800 (PST) X-Google-Smtp-Source: AHgI3IYZGfYQMvbWzuqMxACT/s/Y+gfeoMNOMU+kXFavPd/wh2QzntvkcLnYWrcmBqVwt9XdXpJt X-Received: by 2002:a17:902:9683:: with SMTP id n3mr5768296plp.333.1550002046198; Tue, 12 Feb 2019 12:07:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550002046; cv=none; d=google.com; s=arc-20160816; b=FkJ7CXAWZ4FmcoXr4a+l9xIV6v5d/tWVI6d7M0UUwWdKo9iLoBS6bVbFtEupDDyV+I 2eE0/Z2ePEdQeujPysX+gEPoXY92spZ2VdJ50UE69TeUIooTb+emb/z80klQnXRoJT+y f5c0NUTY6cFY0Q7Kk8skDYuE1rllF655qo7Qk2lGUWzFLAWcJRUY7blSVk2+1xRlhAwW 5pYN3sAgqb5bMuoTcahkNUQVQZIbPUJNhvdPtGlwteqoFz2oKoZxrhmky+V1V/C1F7Cr j8K5RRS2zJiDJhKh0ktzAOhu2GR9YXt4+JY2oUSvgN06RaxZ9eZJ9HkgnmPWdq5e9lQQ UCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=mlRbHEOXyiu40U9NCbv3zqgTF73UAsRWJa7LCVDhGlQ=; b=OvoFv6Y3pyt9Mv5R7RW3qU7DVTgOr7EE+2X8eXW1aipHGqbuuNAd7q3elSkpUWGukK ket7/DxN01VBLhMi5vysOPoQ65vnerxMVemLz4Un46ubvYvWk40DlV5zkMP6zOLloSCK QvKHPA7BGbzwf2Xwos67J5SDR18/bS5zCAvv7V0XTBe6ei5KL+8IjC7mnJyh2uMwCwRS 9FWOexx6ZECRA2xWAN7lR7HxDxlRclkByZKKerVquqkrvbh4SgBN4DFYPpOSd3wzlgmA pT96TUqpQv+ZWxcA6eDz9zWZ+K/qpisUen/pOBMnzeREMhSTgshtVdygk1yADIPtB3wI IoDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=ZmeCzXbA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si14242034ply.214.2019.02.12.12.07.10; Tue, 12 Feb 2019 12:07:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=ZmeCzXbA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728434AbfBLTbK (ORCPT + 99 others); Tue, 12 Feb 2019 14:31:10 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:43328 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727804AbfBLTbK (ORCPT ); Tue, 12 Feb 2019 14:31:10 -0500 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 209F85C026A; Tue, 12 Feb 2019 20:31:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1549999868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mlRbHEOXyiu40U9NCbv3zqgTF73UAsRWJa7LCVDhGlQ=; b=ZmeCzXbAbdKcB+EezCMBjqPkU8P/iX6dt0PA+vkXqULIS2i6TcBnyrVh3IwsFD2mpzGJdQ FPmQ9WxidmZKbZEgWtaWrCg0GZaOz4IA68E6/8o06jbF+FvEc0ZeNPOYwgygkMmMxiM0kY rYZjDj1bfOsdoVu09IRnesL+O+xQdiQ= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Tue, 12 Feb 2019 20:31:08 +0100 From: Stefan Agner To: Nicolas Pitre Cc: linux@armlinux.org.uk, ndesaulniers@google.com, natechancellor@gmail.com, arnd@arndb.de, ard.biesheuvel@linaro.org, thierry.reding@gmail.com, will.deacon@arm.com, julien.thierry@arm.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/5] ARM: convert to unified syntax In-Reply-To: References: Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.7 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.02.2019 22:24, Nicolas Pitre wrote: > On Sun, 10 Feb 2019, Stefan Agner wrote: > >> This patchset converts all assembly code to unified assembler >> language (UAL) compatible assembly code. From what I can tell, >> this mainly boils down to using conditional infixes instead of >> postfixes. >> >> Most of the conversion has been done using the following regular >> expression: >> find ./arch/arm/ -name "*.[hSc]" -exec sed -i -r \ >> "s/^((\s*[._a-zA-Z0-9]*[\:\(])?\s*)([a-z]{3})(eq|ne|cs|hs|cc|lo|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al)([a-z]{1,2})(\s)/\1\3\5\4\6/" >> \ >> {} \; >> >> The expression resulted in some false positives and missed some >> instances where infix conditionals have been used. With this >> changes applied, I compiled several kernel configurations >> successfully and without a warning. >> >> The file arch/arm/probes/kprobes/test-arm.c is still using some >> divided syntax assembler. >> >> This does not allow to use LLVM's integrated assembler just yet, >> there is still some assembler which the integrated assembler does >> not like (yet). But it is a big step towards that direction. > > OK.... > > Please document why you added .syntax unified in the commit log of each > patch where this is added along with a link to the gcc PR. Then you may > add Acked-by: Nicolas Pitre to the whole series. Agreed, that is a good idea. Will send v3. Thanks for the Acks. -- Stefan