Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1405942ybj; Fri, 20 Sep 2019 09:57:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRwUKJnCR/y2Dg+CGmQ+EIhCiHh2pnpkvzMIqH6GnwSNf30s2ZC8pfQtbAue92o2mqvCdC X-Received: by 2002:aa7:d7c9:: with SMTP id e9mr7181404eds.237.1568998631091; Fri, 20 Sep 2019 09:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568998631; cv=none; d=google.com; s=arc-20160816; b=xm5b5sd1O8YFnhakm8ytl2OK4qRDZY8o6Dt0q8qAysI7qvuWv687OmhVGdDMtSTe2w uaxDJiHHT7RWGPPcKNVv+vpqU8zQ7NQrgLzpluxEXsSXf8I0KJeh8zDoF8UBUK6rRMmw Zvevh1MzS/UlqsvzLKADX+lPYcZhKmXg5EmbhxaEjocUr5ShbrgTaoLm2o3RwyBTg+wG RBYi9iX1DMt6XxtUHcVwHat4U4fZmX1AF0IVPq0LdmF+apO2SbPcUux45wA2GqejBfRf wrsT74ubu0ATDZ7Vf7CWhSHdmRqwxTRHoaUilP6o03O6qpIL7et5vN0efkrSInigVfFU lKJQ== 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=NlvPOwDHP1C+DxH46ciGbIQ82Gp/fdmy+p/JFJtAVTI=; b=zjIOJQQwAvWBTs4EIDXX/EtoPfZOB7dX4oy7MycihHRIIg7vGxYEuYbgHBoLFY7iBf nT74kc6iDDyYOY+RYvYS+2dQQAxJ2iAC+aDlA2WN0PDbTD+yCdugJeznSSjg3o7brMGE jNP+0xVwiAdeiDYW1xTxHFWZ0n4QDT1T7NlRwmEMEh5h0H0Gtg5lr2r4b5FQxbkzeF/R zyozT1g5P1sWRWuRxH0o4SqMEiN+eAqG/9ooEbzdkRzPsa8o+vv8bTuOPV5agfE3FW6l cAKx6FmYzs6HWavzwCEG4D1XA2I/dt+DxO4L2FLHDQ2cA52gM6kyAPZtkpM8xApjsqEk kHAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=NwUzUyXe; 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 f8si1325947ejd.270.2019.09.20.09.56.47; Fri, 20 Sep 2019 09:57:11 -0700 (PDT) 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=@jms.id.au header.s=google header.b=NwUzUyXe; 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 S2392588AbfITFvd (ORCPT + 99 others); Fri, 20 Sep 2019 01:51:33 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:44822 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392557AbfITFvc (ORCPT ); Fri, 20 Sep 2019 01:51:32 -0400 Received: by mail-qt1-f196.google.com with SMTP id u40so7313075qth.11 for ; Thu, 19 Sep 2019 22:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NlvPOwDHP1C+DxH46ciGbIQ82Gp/fdmy+p/JFJtAVTI=; b=NwUzUyXe+el4peKjNQG4O79OvKdtXAG8r0J4SNnG7hpdxb5bj+ErhCHnYWmyZwpfrR yYzgALwnMwMJu8WsDBxH4j3WjHqbrCW/fchFpQkTd/gTlkJku2wHf4JyAWd8/MnooPSZ qdIovw70JerTxtUcOENkNn1/HzmKUPXpnvjVM= 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=NlvPOwDHP1C+DxH46ciGbIQ82Gp/fdmy+p/JFJtAVTI=; b=At7ygweJnq3QZ6hDdfdUsbpKltkjS6hfMLLbD9Joud00o8wpP0Zp+JEb7wQL6/jHSK tk4ZqwhEP0M7/Vy8HFBmjm5MVPh70M+VzMNU76O7YgdV66KRZumyo/r53RTjdjKqODjX 09wc9kOwFM5xBaAowRgekJ/5wb5inZnd+XcBxF2EPyPw3bKZ+p7pWc19UMt2sK3HN88v mxjfejjIU3bKQ15fwiBS8IXFJBws0w/6f588m7cKfF/F+E5da8e7UvPu/po24l4ucuMu nK84bGmvC5odxLgoEXqXp2SKUnCE56EyhOr5GiAud8RdnwzCwDgGSwp1ARVpNCfl2Nhc Iqhw== X-Gm-Message-State: APjAAAXjfmD83v2DoVOQlvP5zdZsEAm/OUNc1Vjpnq1zjbd5ueuWR/UP MWsJB5f+MBZ99W7DdZ+V71nfDvtYl0s09qLXhsV4rgZN X-Received: by 2002:ac8:2e94:: with SMTP id h20mr1491513qta.234.1568958691283; Thu, 19 Sep 2019 22:51:31 -0700 (PDT) MIME-Version: 1.0 References: <20190919142654.1578823-1-arnd@arndb.de> In-Reply-To: <20190919142654.1578823-1-arnd@arndb.de> From: Joel Stanley Date: Fri, 20 Sep 2019 05:51:18 +0000 Message-ID: Subject: Re: [PATCH] ARM: aspeed: ast2500 is ARMv6K To: Arnd Bergmann Cc: Andrew Jeffery , Linux ARM , linux-aspeed , Linux Kernel Mailing List 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 Thu, 19 Sep 2019 at 14:27, Arnd Bergmann wrote: > > Linux supports both the original ARMv6 level (early ARM1136) and ARMv6K > (later ARM1136, ARM1176 and ARM11mpcore). > > ast2500 falls into the second categoy, being based on arm1176jzf-s. > This is enabled by default when using ARCH_MULTI_V6, so we should > not 'select CPU_V6'. > > Removing this will lead to more efficient use of atomic instructions. Wow, nice find. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-aspeed/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig > index a293137f5814..163931a03136 100644 > --- a/arch/arm/mach-aspeed/Kconfig > +++ b/arch/arm/mach-aspeed/Kconfig > @@ -26,7 +26,6 @@ config MACH_ASPEED_G4 > config MACH_ASPEED_G5 > bool "Aspeed SoC 5th Generation" > depends on ARCH_MULTI_V6 > - select CPU_V6 > select PINCTRL_ASPEED_G5 if !CC_IS_CLANG I can't find any trees with !CC_IS_CLANG here. Is there a problem building our pinmux driver with Clang? I tested with this patch: --- a/arch/arm/mach-aspeed/Kconfig +++ b/arch/arm/mach-aspeed/Kconfig @@ -25,8 +25,8 @@ config MACH_ASPEED_G4 config MACH_ASPEED_G5 bool "Aspeed SoC 5th Generation" + # This implies ARMv6K which covers the ARM1176 depends on ARCH_MULTI_V6 - select CPU_V6 select PINCTRL_ASPEED_G5 select FTTMR010_TIMER help If you want to apply that as a fix for 5.4 I would be happy with that. Fixes: 8c2ed9bcfbeb ("arm: Add Aspeed machine") Reviewed-by: Joel Stanley Cheers, Joel