Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp542040rwd; Tue, 16 May 2023 04:53:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Flh0PilG5+GiXsRUMhKjGFHoUUnqeSL2V+rI0aPF362u/bEqF1plKmrYQpcoaUZiKD400 X-Received: by 2002:a05:6a00:9aa:b0:646:59e4:94eb with SMTP id u42-20020a056a0009aa00b0064659e494ebmr40956020pfg.15.1684238006096; Tue, 16 May 2023 04:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684238006; cv=none; d=google.com; s=arc-20160816; b=A1/zQOHWbkkR1HyFK8WAfpl4u29qNxsxbqtg1BdX+prO6sEr8Dw0p3ZvSGEiXq1nv+ MkeGWKrLRHRmQ4UlIonCBE2T9f1uxdDozT3EA0CXtDHFIgo2QeuDSbNjl8lP9bpxKdi1 h7cQmWo50MgjiL9oZ52/aWtCwyRMs8p1ESvmTYsB+MoMSNxMihCeplLqmN0I9G4N+oLo Gy2AKRxGarS8L7k7EDOwrhgaS7u2cHlIjNg1Hnys4ZigI4qjbbn1UC/mP73MJ2gMSuBd EqGAkh4JTgXItAegsy2qb3er2r/w6JSoOgu0WmlBtsWwNt7tepBNAh1msGDyr75k9V6v NsgQ== 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=qva2ZRnsYYu9631MCqg6dP1jeVmo2pJCLhlxkYIM0hs=; b=zn5Ni2EgUqJTrEjK7tHOk+UFOFc+qqUgEZvXCSeihxcBHzg/AwdTfSnR8E8r3WI50r 0S/wl2BZUGk7kcjF9xqgjrghvAKBsnP5n5Xb3+Vr0j+amatqvuNHaXbAXko85YU9+4Da 7EmdGm7fuNag4TYfNwMgfGBknuwrln/2XHt1lGlSmOIZnQ8s9Wfhkxfk+mNNKhtXXi6F 5tJgiANcQRI8cQQ4Nd//f/QE0KRf6QGqW5vYujsf+w4s3djCRR5QA5jHg10KCcetPCYD RwhZJOeAlUsp2BOb/OUeSVdBAuT8qV+RiVQ/NJN4MO24vnFCHt3/lBAS1jT86xagdQ1m r8dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iGdJ2rYs; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f199-20020a6238d0000000b0064399c05a12si19052208pfa.232.2023.05.16.04.53.10; Tue, 16 May 2023 04:53:26 -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=@linuxfoundation.org header.s=korg header.b=iGdJ2rYs; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbjEPLq3 (ORCPT + 99 others); Tue, 16 May 2023 07:46:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbjEPLqV (ORCPT ); Tue, 16 May 2023 07:46:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B9305596; Tue, 16 May 2023 04:46:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8D0F2638C0; Tue, 16 May 2023 11:46:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 711C6C4339B; Tue, 16 May 2023 11:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1684237580; bh=/6URK8ebxKRAr1E5o6SIqB7r+nUmDZOUBzaa5dq3/fw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iGdJ2rYsmqR8oVsZahQCffWW98XsY3ZQUeXnWDOdK/AEAQZPWGakOfz+Feazfr/vl zwZZikKODPH3BvcBxPlO97qsEGQqvFknbw/tEto+OjmYA+dy8uQzKCCOKDXOXurVb1 Cn+gG0WOxgz6wHXyTwJKTcrMiK15YYAZk/wJYeq4= Date: Tue, 16 May 2023 13:46:17 +0200 From: Greg Kroah-Hartman To: Niklas Schnelle Cc: Arnd Bergmann , Corey Minyard , Peter Huewe , Jarkko Sakkinen , Jason Gunthorpe , Bjorn Helgaas , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Corey Minyard , openipmi-developer@lists.sourceforge.net, linux-integrity@vger.kernel.org Subject: Re: [PATCH v4 03/41] char: impi, tpm: depend on HAS_IOPORT Message-ID: <2023051656-mammary-cobweb-7265@gregkh> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> <20230516110038.2413224-4-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230516110038.2413224-4-schnelle@linux.ibm.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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-kernel@vger.kernel.org On Tue, May 16, 2023 at 12:59:59PM +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to add this dependency and ifdef > sections of code using inb()/outb() as alternative access methods. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Acked-by: Corey Minyard # IPMI > Reviewed-by: Jarkko Sakkinen > Signed-off-by: Niklas Schnelle > --- > Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so > per-subsystem patches may be applied independently > > drivers/char/Kconfig | 3 ++- > drivers/char/ipmi/Makefile | 11 ++++------- > drivers/char/ipmi/ipmi_si_intf.c | 3 ++- > drivers/char/ipmi/ipmi_si_pci.c | 3 +++ > drivers/char/tpm/Kconfig | 1 + > drivers/char/tpm/tpm_infineon.c | 16 ++++++++++++---- > drivers/char/tpm/tpm_tis_core.c | 19 ++++++++----------- > 7 files changed, 32 insertions(+), 24 deletions(-) TPM and IPMI patches go through different git trees, so odds are you are going to have to split this patch in 2. thanks, greg k-h