Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37654359rwd; Tue, 11 Jul 2023 18:10:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlG2xEmhCc2Ad3CJLvHzGNLvkRHHWDkeYK0BVSYRVnxZvRCmCiZtAOhq0r44Y6tfvMsh/mb6 X-Received: by 2002:a05:6870:1f8f:b0:1b0:1e3f:1369 with SMTP id go15-20020a0568701f8f00b001b01e3f1369mr21158510oac.57.1689124218927; Tue, 11 Jul 2023 18:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689124218; cv=none; d=google.com; s=arc-20160816; b=a+ns/+HAMvWjlMjVi/eadMsNHzZRoNZhTB/dfCJJH8JEl7YAZgxukmBBKUmBJKPJcE iubGrj1XGJfo30EKkuvBAyq+I146f+bzyJZiP29l3LQa/RO7NwmytQp45mFGws4BWMD2 O8cGewPI68TAspsfCYXvQA0GQsDHJ2LMhKTmkTxGyORLFjZbWXy42v/eggUCW/0TuS2j jmnCZjy8WoZMxLInwcYlX1+0BIHzqN7IRWmZvDy/HSquiyjFkFAtNdWOZDhNQ1m5Kp0E h2zV4g1gK8gN9jOSWmg7CVucd4wXAnjA1vex+dbBQnV2XeV74cHouo+z9xIXlT4Idrzt SnvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vuMz9r50CK+igrSG6zWU18FkXs8hvCJFWii7yehFB7U=; fh=FdGul/3E3jJ5e6gAVhgJzTA8HG58sStIHblVHdPtxqk=; b=W6FQz+JiNFjLskQKZoNiqoEwKB/cU95x2SQ49tNPOXyu1+Qb4couim9gQx9nBfwYPz BwHmZ0aFlVw8RF9Z6AiPzhPQABxyuN0IHwSZ1jTh+dBia+nvJdt7+GPhI+Fsozdzi77f R9uFk63zLfhqNzs1WHmRwtaI/rKwotZuBoe7aZixVTj2SzU8vNpWfV5H5z5apT/RuqRE ZisGDf2lFiY2ZIX/Sh6LLK4DvF0RtywMtAOMtkN5cqaihDSOiUzx8gQCq4clW5hfIQx/ jQnJlv2g1VGt+aO3/0Fp48UsWxTjHYHdX7FRg71HtlgPsjxsBrMJRBFN9fBClo1c8s1G +ulw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MjxJ4ePS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gz4-20020a17090b0ec400b00263c23a5693si2321876pjb.13.2023.07.11.18.10.06; Tue, 11 Jul 2023 18:10:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MjxJ4ePS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231497AbjGLArm (ORCPT + 99 others); Tue, 11 Jul 2023 20:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231417AbjGLAr1 (ORCPT ); Tue, 11 Jul 2023 20:47:27 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E64A10C2 for ; Tue, 11 Jul 2023 17:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689122798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vuMz9r50CK+igrSG6zWU18FkXs8hvCJFWii7yehFB7U=; b=MjxJ4ePSZgt4vRcXsQ9MZ3sWpbj0yJD0avb2tobjNJ4ICg/s6EhA6jH/z1ocBNrfAt5Q3E YiKRo2+SoCYBktfCW7KxZLPm59gRZ9nAgj2dKy1YjZxH06616u30DfEoSMtytrPYLnicgK oKCjlqwZhpf74B/mT+laqnLh/z5LQAo= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-326-UqLtC1v8M-aI35IVovLruQ-1; Tue, 11 Jul 2023 20:46:35 -0400 X-MC-Unique: UqLtC1v8M-aI35IVovLruQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EC44A1C47671; Wed, 12 Jul 2023 00:46:33 +0000 (UTC) Received: from localhost (ovpn-12-61.pek2.redhat.com [10.72.12.61]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4830BC09A09; Wed, 12 Jul 2023 00:46:17 +0000 (UTC) Date: Wed, 12 Jul 2023 08:46:13 +0800 From: Baoquan He To: Simon Horman Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, schnelle@linux.ibm.com, vkoul@kernel.org, eli.billauer@gmail.com, arnd@arndb.de, gregkh@linuxfoundation.org, derek.kiernan@amd.com, dragan.cvetic@amd.com, linux@dominikbrodowski.net, Jonathan.Cameron@huawei.com, linus.walleij@linaro.org, tsbogend@alpha.franken.de, joyce.ooi@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, tglx@linutronix.de, maz@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, frowand.list@gmail.com, kernel test robot , netdev@vger.kernel.org Subject: Re: [PATCH 5/8] net: altera-tse: make ALTERA_TSE depend on HAS_IOMEM Message-ID: References: <20230707135852.24292-1-bhe@redhat.com> <20230707135852.24292-6-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/23 at 06:17pm, Simon Horman wrote: > On Fri, Jul 07, 2023 at 09:58:49PM +0800, Baoquan He wrote: > > On s390 systems (aka mainframes), it has classic channel devices for > > networking and permanent storage that are currently even more common > > than PCI devices. Hence it could have a fully functional s390 kernel > > with CONFIG_PCI=n, then the relevant iomem mapping functions > > [including ioremap(), devm_ioremap(), etc.] are not available. > > > > Here let ALTERA_TSE depend on HAS_IOMEM so that it won't be built > > to cause below compiling error if PCI is unset: > > > > ------ > > ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined! > > ------ > > > > Reported-by: kernel test robot > > Closes: https://lore.kernel.org/oe-kbuild-all/202306211329.ticOJCSv-lkp@intel.com/ > > Signed-off-by: Baoquan He > > > Reviewed-by: Simon Horman > Tested-by: Simon Horman # build-tested Thanks, Simon. > > I wonder if this should also have: > > Fixes: ed33ef648964 ("Altera TSE: Add Altera Ethernet Driver Makefile and Kconfig") Agree, it's worth having Fixes tag.