Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3966317rwd; Tue, 23 May 2023 00:45:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xPqR/rJFRgtFWZY8yXCK2VWHHyO2ftejUm7uLCjanFtA5q2M1nfTrdSnwuU+Xnd2ciU2p X-Received: by 2002:a05:6a20:548a:b0:10b:5f25:ec34 with SMTP id i10-20020a056a20548a00b0010b5f25ec34mr7866259pzk.18.1684827927038; Tue, 23 May 2023 00:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684827927; cv=none; d=google.com; s=arc-20160816; b=ckMnDi9o1Xz7+bPaTJPw8Lmv+aaYV2IlgVRhkJPPtcMVW0zaGEbP73CGjQrHp0qdXS WgCOZCoqtIbLJWkteeP5z8kI+KurIKcGSwV7ZBkEq91cRGX48UdLb0taWOxjkpjpP+IJ CzAVRP/prGCY0iN3NwFSfeQ0gh9bZFb/RaRYrbaI0rsw3p1UmDZSROpFHVdoZvuHnE5y 4B5b0CX1g5YrYjrZBh/kqfvfcELoCF7aDtCcD5h5eVkwmRvDkIZIyNmYhTG4gLgHEXf8 DEaua0mmhlcHFYT65mtj3tZFcA1/rdy7iIqczrw6MttbBfmkkqEqbENsFARRQ6qk9eHr dzPg== 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=+aAgQWRwJYgn+KgQ0gmOK1wQjPFN8gteuYEmQzBcNXo=; b=NT1PVh8h6b24W5riN0+cWdbzdBOfzyGS41DE9jUK88bepUDkqj+l4R71U+/rRbECVE ohL8aaW9Su4erztNxbo5WFCfvhydk+GBSKWMmUK3Aa4XPwXzNQ9vcMTz8MbGZHllZ09h h8rnuyB17hcpgmwVE4amXbhX8OD4zIzApw+g2iyJmbmrGf+f454+BWgdTT2sYK5zDswj uVg7jSNAbozX+GICGCE8/bfq0W1Xzfb5qq49Bm8udNbtxxbuuwBAnAtosSbxURd80a2F /bmjiLMQXoDRRfrInZSKpNXqf37ZgQq9aeEgFhjZRnOqE/4gpqplhwWcjuH6HY8AtHoK 87VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a170902c14600b001afc602cd55si1253187plj.21.2023.05.23.00.45.07; Tue, 23 May 2023 00:45:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235614AbjEWHeH (ORCPT + 99 others); Tue, 23 May 2023 03:34:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235619AbjEWHdm (ORCPT ); Tue, 23 May 2023 03:33:42 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE58210E6; Tue, 23 May 2023 00:32:43 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 74BAE7FE0; Tue, 23 May 2023 15:31:21 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 23 May 2023 15:31:21 +0800 Received: from [192.168.155.209] (202.188.176.82) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 23 May 2023 15:31:18 +0800 Message-ID: <33a663b7-a353-69b9-7fed-b7758cadb12b@starfivetech.com> Date: Tue, 23 May 2023 15:31:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] crypto: starfive - Depend on AMBA_PL08X instead of selecting it Content-Language: en-US To: Conor Dooley , Herbert Xu CC: Stephen Rothwell , Linux Crypto List , Linux Kernel Mailing List , Linux Next Mailing List References: <20230522105257.562cb1ec@canb.auug.org.au> <20230523103637.20175fbc@canb.auug.org.au> <20230523-pelvis-unwritten-bedc9c75d899@wendy> From: Jia Jie Ho In-Reply-To: <20230523-pelvis-unwritten-bedc9c75d899@wendy> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 23/5/2023 2:56 pm, Conor Dooley wrote: > On Tue, May 23, 2023 at 10:33:38AM +0800, Herbert Xu wrote: >> On Tue, May 23, 2023 at 10:36:37AM +1000, Stephen Rothwell wrote: >> > >> > That did not fix it :-( >> >> OK, this patch should fix it: >> >> ---8<--- >> A platform option like AMBA should never be selected by a driver. >> Use a dependency instead. > > Randy submitted a patch to change the driver to not conflict with > the arch symbols: > https://lore.kernel.org/all/20230523000606.9405-1-rdunlap@infradead.org/ > > The corresponding change here makes sense to me, > Reviewed-by: Conor Dooley > > @StarFive folks, you will need to go and submit a patch for > arch/riscv/Kconfig.socs that selects ARM_AMBA for your platform. > Sure, I'll submit a patch for this. Thanks Jia Jie