Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp559761rdf; Fri, 3 Nov 2023 08:24:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7mwiFHsCQpA0OBwXY/9rY1CGxnDeIRngHtmReyldckjM1MVKalfcqqvaSUy7da6uaZcXA X-Received: by 2002:a05:6a00:2494:b0:6bd:f760:6a9d with SMTP id c20-20020a056a00249400b006bdf7606a9dmr28116368pfv.14.1699025064033; Fri, 03 Nov 2023 08:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699025064; cv=none; d=google.com; s=arc-20160816; b=GplxdjTin7Zh5W27RCRw2+yiyqv81rsZDWqe2Py3PbBvT5LGj6/3mLaBEdKwbwOdZh jmCDFAk5E2ih5e0CMNAaF8ICk7b62etIVG3cZkMwdXXl0hqQgJbJ7L0xXPpY0b2VwEqN 1lDEu5dbeYEueemJTyMzjsV/6kCb+yj0FDxtBtPbcXLjj9ahELSYnkcu3No4pbg6U8Pc al8tQ6qC6SmKk20LKMA+RU25oD3znN5Vz7hxyZ5yg0Gpd8s0Iv/tm63o2o92E3eeoDzh +6DIus2h92+5xQQj2ihZMVZjO2RffZyqjGjvDQrZ8/WG0nNEMj4LWVFNAx8yQshUfGN7 kpyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=67R62b0eh+IthZanNAXyjHjgiFCbV0L1bey98xlT/u0=; fh=4ikOcPdV2TbT8nodvgfI+AVrl0TM33OMQ2mPOwK1pgg=; b=lYBwRI9xXno7g3Ks3al+wkMKJuXkFGsg1kuOdxmay3UKhQnNVNjBUHin1MOlYN8MRy +Dy2a/HkXuJfseelXml05CvhEOQRHlQZG9KGTkrfORtpPuNdVJ0UlBxHDhUypAWs5gcR aDYpUnjeZMs3yzP/hkAajmBlPhWDq2BX7jON+Vpn4IS2Hbcbe9GtCbN9qAXhWk7xV6af oxpJ7CJPQf64IKMcXO4Sp0rum4M8XGvQP+fxPSjf1mDerQCOtmQC9e1AmcmpiTSPxAUh 9d/Mbvvzoj4dtVi00v3xj9dv16CQya3mpLTN2bou93FbVCYrZ1WQ0/r38U0V0nc9LCN2 TwPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b005859b1b34f7si1735189pgb.862.2023.11.03.08.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 08:24:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 26830831440F; Fri, 3 Nov 2023 08:24:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbjKCPXl (ORCPT + 99 others); Fri, 3 Nov 2023 11:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjKCPXk (ORCPT ); Fri, 3 Nov 2023 11:23:40 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1CC58112; Fri, 3 Nov 2023 08:23:38 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6AECC2F4; Fri, 3 Nov 2023 08:24:20 -0700 (PDT) Received: from [10.57.81.32] (unknown [10.57.81.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A6FC03F64C; Fri, 3 Nov 2023 08:23:31 -0700 (PDT) Message-ID: <3b4ac48b-e29d-415f-89f1-6d354f18c4a4@arm.com> Date: Fri, 3 Nov 2023 15:23:28 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 06/10] ASoC: pxa: Suppress SSPA on ARM64 Content-Language: en-GB To: Mark Brown , =?UTF-8?Q?Duje_Mihanovi=C4=87?= Cc: Michael Turquette , Stephen Boyd , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tony Lindgren , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Leo Yan , Zhangfei Gao , Lubomir Rintel , Catalin Marinas , Will Deacon , Kees Cook , Tony Luck , "Guilherme G . Piccoli" , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, alsa-devel@alsa-project.org, linux-hardening@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Karel Balej , kernel test robot References: <20231102152033.5511-1-duje.mihanovic@skole.hr> From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 03 Nov 2023 08:24:21 -0700 (PDT) On 2023-11-02 3:26 pm, Mark Brown wrote: > On Thu, Nov 02, 2023 at 04:20:29PM +0100, Duje Mihanović wrote: >> The SSPA driver currently seems to generate ARM32 assembly, which causes >> build errors when building a kernel for an ARM64 ARCH_MMP platform. >> >> Fixes: fa375d42f0e5 ("ASoC: mmp: add sspa support") >> Reported-by: kernel test robot > >> tristate "SoC Audio via MMP SSPA ports" >> - depends on ARCH_MMP >> + depends on ARCH_MMP && ARM > > This isn't a fix for the existing code, AFAICT the issue here is that > ARCH_MMP is currently only available for arm and presumably something in > the rest of your series makes it available for arm64. This would be a > prerequisite for that patch. > > Please don't just insert random fixes tags just because you can. FWIW it doesn't even seem to be the right reason either. AFACIT the issue being introduced is that SND_MMP_SOC_SSPA selects SND_ARM which depends on ARM, but after patch #8 ARCH_MMP itself will no longer necessarily imply ARM. The fact that selecting SND_ARM with unmet dependencies also allows SND_ARMAACI to be enabled (which appears to be the only thing actually containing open-coded Arm asm) is tangential. Robin.