Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5092915rwd; Tue, 23 May 2023 18:19:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7CgsKlzX9giJcaOiJdFW4s4NGFkYuIA/FJXji6XQSQJkRAkcRiH+1kXycEaCHhRMgJfNZI X-Received: by 2002:a05:6a00:1913:b0:64a:f730:154b with SMTP id y19-20020a056a00191300b0064af730154bmr880652pfi.5.1684891173497; Tue, 23 May 2023 18:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684891173; cv=none; d=google.com; s=arc-20160816; b=fqZkXFoGtVVZbzHW2Re0EgTBbuuMQjlHDj1AQr1vUGvV6WE3Jlxn4RCuU35pYifICD C92xHRB46r2grzOKj/dsMKTunTpkLwsEic0VIHERU8EFCPtLsK9mxEfU16t5x4/z9n/u ctVkRpvieLshbPIZzbBAjpiVRhmS1BuxRDqdnCNfMyn+fr23OnCLp9oVM8p+tZwrFb83 3fxWJIsBFhHuoCVgj1M9V7nqWWKXCWe58bM7rqwuPz1dLMcsrmHC7dXQx3hCySSlRZhn 6nVM9tJ/QuDOFyYSqMsn98wCLfVLEfNClvpYSrgxRIBNulLrX8foDelZMfNsdmmyKrkc c0KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=AF+3f2cjLJFdCl9806/bunQ4+1zQ80GdB7HbBdr/Ytw=; b=AXzgF2kAexXQovTtroyZSX91YRRwycfuPsOBTJHasnsrkCaIH56S7YqfwXcwsBJvZV bsVtq7lNon8769EfyGL5sAlv6H0Bdol/IRM1LWJ/cdRWaLIJD66CewooPWImDMWeJXMb 6XwwQLy5rJiu9QyxqMUffcGr6wrJ2aT00z82pf3qo48b8apaLvvd4uIJ9N9KXI/ITm0e dxEYBvrajBEK88VPO9xx9iCRNYJGc9kJRzan9g8zOxIkwia1WwKY40cmGO+jMY2H+77I Yhbmy0XE7xfRFpF48J6pUig3FksjobBF14nv7X8EJXSPDjSfeWWZ3FNzYIjxk569PVrP GVwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=etOwzS1H; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020aa79a50000000b0064e523de3ecsi180712pfj.288.2023.05.23.18.19.17; Tue, 23 May 2023 18:19:33 -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=@kernel.org header.s=k20201202 header.b=etOwzS1H; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231152AbjEXBJ0 (ORCPT + 99 others); Tue, 23 May 2023 21:09:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbjEXBJZ (ORCPT ); Tue, 23 May 2023 21:09:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52366BB; Tue, 23 May 2023 18:09:24 -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 E44DD60DBD; Wed, 24 May 2023 01:09:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8C25C433A0; Wed, 24 May 2023 01:09:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684890563; bh=AF+3f2cjLJFdCl9806/bunQ4+1zQ80GdB7HbBdr/Ytw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=etOwzS1HsaZVoqup0adWbjYyDWxorOjSeqm2a0AeGM36MRQr46aZWsGxNmi6SOS25 rkOuykDbmW41l2Y9knmjasxxTjYPAlJvYMma6FyOSirhwLV9w14LNX/A3NSzigbMby cxY9Yf5AXpP9llHFMrAB1fDvFTX9RI3X0vnriuePfanKUYtiqdT+x4HqkyVoqDcoab T1dEZ7614D0T0YwB+4M7F5gJpbiUsQkAlWzC0AqjxnLI03+vqeIKioHzU3Gwb7wbo3 tlot5ouk7gnksk+SHks/e0eKnaLD5HjNNVFi/xZ0P9kS+o/YRMst4zUzqL/AhNKfwl 37yDbbgYFhWNQ== Message-ID: <963614dff17f71f50018f5ba2dfcd82a63d6d5fa.camel@kernel.org> Subject: Re: [PATCH v5 05/44] char: tpm: handle HAS_IOPORT dependencies From: Jarkko Sakkinen To: Niklas Schnelle , Arnd Bergmann , Peter Huewe , Jason Gunthorpe Cc: Greg Kroah-Hartman , 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 , linux-integrity@vger.kernel.org Date: Wed, 24 May 2023 04:09:20 +0300 In-Reply-To: <20230522105049.1467313-6-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-6-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.1-0ubuntu1 MIME-Version: 1.0 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 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 Mon, 2023-05-22 at 12:50 +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=3Dn 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. >=20 > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle Reviewed-by: Jarkko Sakkinen BR, Jarkko