Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3696747imb; Tue, 5 Mar 2019 16:55:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzrIWjXdmjh9IS68Oa+72TpupQqD777MIyi+/aVPXtkQ2YSyU2wVjPKDsCF3383AuE9VRgE X-Received: by 2002:a17:902:8217:: with SMTP id x23mr4174847pln.332.1551833703066; Tue, 05 Mar 2019 16:55:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551833703; cv=none; d=google.com; s=arc-20160816; b=kTyX8xDdG9JtfcD1Ml64Le8cv0s8ONUx6pKj8AMCAHK8LE97MoDTJkc4Bnxv2+draJ xgorR9+grNFui1mW2JQVpLtrgWNqrfJOKOleRUJz9u1XKsxNKCocFO+l/IOABsrGFMBd mJ51LFH0WNEUm/ksdD2/Rrqyd+f5Cw6LDdXC1aCPbEeQASAH82fd4YvyE/lrLZ+O4lAD ESqA6Nj2S3k37N8Q7BIBPrJtRXIWTbv2sthQ2BQd+p9uzaAyBbgsOEpl+vujzpUPlJ+w Qgt80OJy3VmAKfUT/uh+f/mr3fKhj3316YAdlRCgZ1dngPPDdrynzhaFW1nXScgu/yl/ Xjpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2s/7acSUCtYOlRxTJysPz2Rut01nG49rOQn+xSRqMiM=; b=kZNCeFPOMG2zisPlY1HYIoPrwAEuWdXN6jZceenSl+6GnWViqNt1e0MNHfUCgv9pSl RMH5PIYA3dPSoaolZD3MdH3bJvX1iDgSHJwI/vgWDzbVXMlUZmQS/j6watjQxru5Ua1m fMwiVuY+Gk0tOk7HslzIFGvvMllSwBRG/BDlbIqpzc2M1E2+fqS61RZ6KrBECR9eJXxS bUJpM41gv8ZUMZV6opnxjyZ/pqpNHhIclXPi4AOuYcFq/GsqkPuaY4Z9/PH+Xw08aaRn BDi/0Hb2vVEu41MSUQ4F+ISbD9ahDpUFxoeAA3rzUaxZ6f+YaPr8hlBTos2yUHBv1HLf B3Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DVwtD8NY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e127si173233pgc.360.2019.03.05.16.54.48; Tue, 05 Mar 2019 16:55:03 -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=@google.com header.s=20161025 header.b=DVwtD8NY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727737AbfCFAsI (ORCPT + 99 others); Tue, 5 Mar 2019 19:48:08 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38806 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbfCFAsI (ORCPT ); Tue, 5 Mar 2019 19:48:08 -0500 Received: by mail-pf1-f194.google.com with SMTP id n125so7040781pfn.5 for ; Tue, 05 Mar 2019 16:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2s/7acSUCtYOlRxTJysPz2Rut01nG49rOQn+xSRqMiM=; b=DVwtD8NY9jB4TQAL79Hc2X+FGQ0d6H/cOE0OHfJ31Q/F+W+MMccAVWBPVCTS+GtCCm rn9FQsaOwTfNxyQsrkfKSi3AO7dRrY2Z2iI6u2arfCu9QPAmNtJdb+RJeBHOher9Wlgh BxJob+WrfNWq3w1fCrqry3cmUkNK3qhILMFrS0/aBDl+6Le1tUi1xO3wybvyw5WIoOgj +coPWTfGuECq46oyYpILOBIPJ6QIuILwyQmd+cObqBVt26IB6mq2P8VMqRoeE7MFl6hU K2UytxJBmhcCFfJ15VdjIW6KczQBUlGdWLjiiX83xrtzIWxjzOsjxUIRqgw+Fy2RG4nT 8ZPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2s/7acSUCtYOlRxTJysPz2Rut01nG49rOQn+xSRqMiM=; b=mrdD4D1xC00qmDPuC2Eq3JmGvktxKDzSM4ej2NYLo2Hv1PVVpKYo8+HCMl3biJ6Crv i17hFu3Gj8DbBiUk8TDkn2T7F9oPXKHxkjWXaIt9NmwKMMhTZO07o/gpRQ3NRHfrG7do GidBAFGtjJR4rMSDQGRDHSp4WrM11zU60Ru9tO2vocK9ltGSGkqHVNvHfQgpSBD/JvDC GAjxnVvLAlDF8apOnSgvUpH3A5dSaXEa8b8+RnR0/CtGX9KdNTZNNlme5+0jVUpJKFOV EFjdfbNElzxWkgsd6yWS6Spl+o15p/WwkwxkJADaT5bremPdkGQF5XQAwJ+YUGvxTj6j aYOQ== X-Gm-Message-State: APjAAAU6VQ3rfrbXqvT3J6Sry9LbF6tKDE9KhaXjmlzmumGLCXqlEqZs 0W+Mafcf69UveUs6JUv8HR0F84CYCM3pxlA9WyCLGw== X-Received: by 2002:a17:902:3f81:: with SMTP id a1mr4082690pld.238.1551833286730; Tue, 05 Mar 2019 16:48:06 -0800 (PST) MIME-Version: 1.0 References: <13835555f8ef44b21d1b7ddfe1c4203d0981f77e.1551824161.git.stefan@agner.ch> In-Reply-To: From: Nick Desaulniers Date: Tue, 5 Mar 2019 16:47:55 -0800 Message-ID: Subject: Re: [PATCH 1/2] ARM: drop unnecessary WASM To: Robin Murphy Cc: Stefan Agner , Russell King , Nicolas Pitre , Mark Rutland , Arnd Bergmann , Ard Biesheuvel , Will Deacon , julien.thierry@arm.com, LKML , Thierry Reding , Nathan Chancellor , Linux ARM , Kristof Beyls , Peter Smith Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 5, 2019 at 3:39 PM Robin Murphy wrote: > > Hi Stefan, > > On 2019-03-05 10:18 pm, Stefan Agner wrote: > > The W macro for generating wide instructions when targeting Thumb-2 > > is not required for the preload data instructions (pld, pldw) since > > they are only available as wide instructions. The GNU assembler seems > > to work with or without the .w appended when compiling an Thumb-2 > > kernel. However, Clang's integrated assembler does not consider the > > .w variants as valid instructions: > > > > ./arch/arm/include/asm/processor.h:133:5: error: invalid instruction > > "pldw.w\t%a0 \n" > > ^ > > :2:1: note: instantiated into assembly here > > pldw.w [r0] > > ^ > > 1 error generated. > > Have you filed a bug against Clang for that? Something like "pldwal.w" Yes; please. For each deficiency you find, please file a bug. We're working on identifying what's missing from Clang's integrated assembler support. Given the list of issues, it's easier to estimate how much effort is needed, which helps us allocate resources towards fixing those issues better. It would be good to know if pldw.w is valid under UAL or not. Hopefully, the ARM kernel team can stress the importance of assembler support for their ISA to their LLVM team. -- Thanks, ~Nick Desaulniers