Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1914071imj; Sun, 10 Feb 2019 13:25:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IaYkDgqDKXG0wgeueZr2w/RM+dgfg0u/taKxNyh5+S/QHMq68PdZLfBQDOryhAtNaOKooU1 X-Received: by 2002:a65:6491:: with SMTP id e17mr30603052pgv.418.1549833931969; Sun, 10 Feb 2019 13:25:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549833931; cv=none; d=google.com; s=arc-20160816; b=H8lltrQ7U1tCQ90rm49Bd8B8Gd/E3IRuRG+6d6VXG+FmLpQo0xD2eafq5PY5Ll2r+l ysZl6ORuqRkuOmEYmci4hd8tGeLHbUjrv6gkXS4wAKvs5nDliKkocJqKUqCHBt+Rd0xl ZzZS8WwMXXlSjX2W2ZHw3wek1O/CJNaKYCf7wJedB5zruZTau9WtHsyiJ790N5/Snyn6 ThzL6X4Hy25tv4/S2lgoWT3pv1REQI9ZrTNV8+zn6qcNjnOM/a5WT6CEiVI8D6H3vB1S I00QxkwCZrDLxu3o1yu3ghjngYtIb/5Ukwkr1Qd+hEQbP20E8G4goPhSAI3ZcoQ8jOu/ ycgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=wkkyoSoLEHExdCv3S3zjnYxqJ3fQjmd0c8cULl7lK4k=; b=gdeMQUQEbydyS6oLObuAQ8o80crlreb5uDfog2arn5xnCWWeynInyL5KRW62tH/bjA v6aGZla7l8YxOdYHnMWam22Wt9e9/3awNlEEaSkn+9Z6fJrU0Cs4ZUGCxv4LZgy8UCPM 2H5g2UhyROgCSaL69JW39HwFFLMCUk6BKwEaiM+x9B1wcabL12YDBOtmDc1wqvclz91a AVctCypCIkL6FIkXi6nSSvlq32ASGdOIG1MKHcfBV36E94T6GDI8RO7IXhC8WDASjWkD ZinJ6KTfFB8jQQKWWusT2DV5cvtsQOFC0GD/nMG8BSmR0GJGZA2SE083B+20uCxtBUUj GtFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XY+czLTh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si255037plb.188.2019.02.10.13.25.16; Sun, 10 Feb 2019 13:25:31 -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=@linaro.org header.s=google header.b=XY+czLTh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726655AbfBJVYs (ORCPT + 99 others); Sun, 10 Feb 2019 16:24:48 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:34875 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfBJVYs (ORCPT ); Sun, 10 Feb 2019 16:24:48 -0500 Received: by mail-qk1-f196.google.com with SMTP id w204so5364890qka.2 for ; Sun, 10 Feb 2019 13:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=wkkyoSoLEHExdCv3S3zjnYxqJ3fQjmd0c8cULl7lK4k=; b=XY+czLThZASlIpgyozy0wFDciLazcnXpU4Flf7459xpO3F3De9dkcwj3gwfIgAOq+Y KNImmyoQ8xU8djpaZMbaAAjZkjOl5SCpNZyPSQLaao2ujTh+xIJSn4TV/LG5OQce9Zwb gLRXKLb8Zsku2w+R+WsNvTVpnuGebhRQux/CuAmqg1EX9wDJoLvdKs1JD5Y7TIZWjBpR RcMDZ99CvWKnPRgz26XZPOxDl3jRimL38B8uGOX7METwQhsN2kcY6NmeCihc1Uc/GfJg miMkDvFOPHCXKkhzWWqjI9LAT3Ya1aYSeQPeimfPiIYRfzg6E64QJ3lPzYixVExfcLOy ateQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=wkkyoSoLEHExdCv3S3zjnYxqJ3fQjmd0c8cULl7lK4k=; b=ZucPyZJ5MJBooZy/EYHGltpUt88ZjHWD5uHiVLt8tw53qkzD7KIbv015jttIgqDlSE k2KNvACZKynbuDjqJ9aN3ULAVDdKLaFyaQGQGbGo5L53+Nb6004SnASO3DOk0vUkdhY4 IZ82M/x0XALaJlDLSFs1uOsa3IorJzAlHb3WogCxMYngoSSftaVlZsn/zdOU35mjt3bk y4wapafE/+r/KKm/NCSi6vTFPVhCazwyq68kCJ5n7F+hBnyjv168ASwtjdlGWUt00Oxi LoWzRQ71LpX1JCwRLgcZpI4eED5LnNxTrBbUc1p6ToqMZ/6kgWDLfpUAuXbje+ZBbFET 2BUA== X-Gm-Message-State: AHQUAuY/DaFIeq/GlH+gYP+bgt8PpQIvIj95KD7isM/8FruYLvZtMf9A wQHjGQn6Gr7ZtHd/ysJY9olzjw== X-Received: by 2002:a37:b084:: with SMTP id z126mr22723222qke.154.1549833887205; Sun, 10 Feb 2019 13:24:47 -0800 (PST) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id 55sm9052123qtq.88.2019.02.10.13.24.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Feb 2019 13:24:46 -0800 (PST) Date: Sun, 10 Feb 2019 16:24:45 -0500 (EST) From: Nicolas Pitre To: Stefan Agner 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: Message-ID: References: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Nicolas