Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1409455ybx; Tue, 5 Nov 2019 15:48:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzNxqQGA/YTgYMyUL3BlARu34jkT+pqcW3RPSPQ+XiYEsm4yVjVqM7oIuO4BOzVrXGLqn6r X-Received: by 2002:a05:6402:706:: with SMTP id w6mr5652836edx.38.1572997734194; Tue, 05 Nov 2019 15:48:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572997734; cv=none; d=google.com; s=arc-20160816; b=zWVm30nqucZeVX9kzG+DkAESnxYPk9wQtdTxWsEdGMh35I9YSupDlsyC00XsOVS6ZT gq0Nw6lP2OKLJLkAoXHRSbIh9rXsXB/gPlbBYgaOeNn4vJgop/q9h5vOeH/9jTCnkeIr w2Kuj+XmZ4+IRH8fDaOsJzjGzupCAvxonWXfpzjxlbyUshIwk3qOB9Qhh6TrHOiI6A/J 4hiSBv8Wvi7WsEGNCplE1pEy4dgMWD0yAGUf8TljSxSHZ9AAfWSXmg/Wc8wekpelZ4lN kWYwrCHuklVOJRsJxbgR/rJfW7wykO8rhJWDGq+uH4XCIkwh+9OsK5ALN9LNiXVa7Vlo 66eg== 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; bh=iUouFbp90DaJNrdZUlRPbAF1tArrEhWp17DotmP+0tk=; b=Te8zArbpk5BCsMEZIogsyH6uqvjdc11wBioNmFK4BQI/dSkVf0xdnXRl8et2vxQgwm xxMq0ekAUg5ZMU1hj4Me/fbTXeK/Q82yk2lhqa5pSQfoP8qbd/dAs/idrJ4kx1COvlG1 9tScyS5klEtcTs0k/cx39XewKHQngsXu6eFczaTwTBdWH9x21ZWo/pbF+H7nqY+YVpZY I/9JDO3IQ9F2dDBlZAVAfP/qEWMTqpfTomGOLTB8IKXkz7Ukep0Hg6s/xucpFjdl8XEo hWLt8auCYP3c8qIpyV/dpub0ykobBSWyjpDs9GR5lTXSEjyVidqz9ED6YCAkbZSszKzj YOXw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si10796371eda.375.2019.11.05.15.48.30; Tue, 05 Nov 2019 15:48:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730531AbfKEXqy (ORCPT + 99 others); Tue, 5 Nov 2019 18:46:54 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46318 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729688AbfKEXqy (ORCPT ); Tue, 5 Nov 2019 18:46:54 -0500 Received: by mail-oi1-f195.google.com with SMTP id n14so3555057oie.13; Tue, 05 Nov 2019 15:46:53 -0800 (PST) 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=iUouFbp90DaJNrdZUlRPbAF1tArrEhWp17DotmP+0tk=; b=GloMFkSFVv49fXIslmM52FiD0h/B9XkMpjoHj1MXvgheY65bTWwWSk6p/4aK+I9TVe 1EfViQDuMqXCpnQVMGQMBJFdv0yU0UOi5H5WlgREzNddxnkKwMDNW59Rqd2PmFU8Eeiv QIXvJF3+eHdm1AmoY7I5yXW6lWj2t7a4F6OzbyP35B3VQ4MkBNJ/1plVR6NpuY2m1eaB ztSd4cen/NHFOjphDxRhXfQiH7pYtCTHYCLqqE9fVy0YM7Ir943PtSUKNIcOpVVp5A8T /7CPV5YTXByaku4yaZVAdJRcXF+33VIamlX4OLFzuR9ABxYgxpC4aC9ZpvR1b5PmluyQ ZHIQ== X-Gm-Message-State: APjAAAUVrHE/eVsUUIU6udNo7CsA77HKTu3oWVvrpB/pIm0z34l2O1p4 EAXBBwB93BhbcX5iJrerNs8Rusqh X-Received: by 2002:aca:5a08:: with SMTP id o8mr444760oib.104.1572997611993; Tue, 05 Nov 2019 15:46:51 -0800 (PST) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com. [209.85.167.179]) by smtp.gmail.com with ESMTPSA id 94sm4841519otg.70.2019.11.05.15.46.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Nov 2019 15:46:51 -0800 (PST) Received: by mail-oi1-f179.google.com with SMTP id s71so19279921oih.11; Tue, 05 Nov 2019 15:46:51 -0800 (PST) X-Received: by 2002:aca:4891:: with SMTP id v139mr1318447oia.175.1572997610943; Tue, 05 Nov 2019 15:46:50 -0800 (PST) MIME-Version: 1.0 References: <20191018125234.21825-1-linux@rasmusvillemoes.dk> <20191101124210.14510-1-linux@rasmusvillemoes.dk> <20191101124210.14510-36-linux@rasmusvillemoes.dk> <4e2ac670-2bf4-fb47-2130-c0120bcf0111@c-s.fr> <24ea27b6-adea-cc74-f480-b68de163f531@rasmusvillemoes.dk> In-Reply-To: From: Li Yang Date: Tue, 5 Nov 2019 17:46:39 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 35/36] net/wan: make FSL_UCC_HDLC explicitly depend on PPC32 To: Rasmus Villemoes Cc: Christophe Leroy , Qiang Zhao , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Scott Wood , "netdev@vger.kernel.org" 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, Nov 5, 2019 at 4:47 PM Rasmus Villemoes wrote: > > On 04/11/2019 21.56, Li Yang wrote: > > >> No, this patch cannot be dropped. Please see the kbuild complaints for > >> v2,23/23 about use of IS_ERR_VALUE on not-sizeof(long) entities. I see > >> kbuild has complained about the same thing for v3 since apparently the > >> same thing appears in ucc_slow.c. So I'll fix that. > > > > When I made this comment I didn't notice you have removed all the > > architectural dependencies for CONFIG_QUICC_ENGINE. If the > > QUICC_ENGINE is only buidable on powerpc, arm and arm64, this change > > will not be needed. > > > > BTW, I'm not sure if it is a good idea to make it selectable on these > > unrelavent architectures. Real architectural dependencies and > > COMPILE_TEST dependency will be better if we really want to test the > > buildability on other platforms. > > Well, making QUICC_ENGINE depend on PPC32 || ARM would certainly make > things easier for me. Once you include ARM64 or any other 64 bit > architecture the buildbot complaints start rolling in from the > IS_ERR_VALUEs. And ARM64 should be supported as well, so there really > isn't much difference between dropping all arch restrictions and listing > the relevant archs in the Kconfig dependencies. I agree that it will be good to have the driver compile for all architectures for compile test. But list all the relevant architectures and CONFIG_COMPILE_TEST as dependencies will make it not really selected for these irrelevant architectures in real system. Regards, Leo