Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp249280lqg; Thu, 11 Apr 2024 01:18:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUi1OdlKSUlzHAD93eh+6cL9YDuZDXKUOfTed15xZEyBBma7sjtSb/NtTsXSdvzspkix4V+94JB528b8SdMcG3eIZ3Q3+MV0Ov6gapPfg== X-Google-Smtp-Source: AGHT+IE+i6bP42qyMnohs7CB01PGA0NnHRx814eiODrrctugViGn3vW+1WcsQF6bqnV9KPsjKyYy X-Received: by 2002:a17:906:d555:b0:a52:11c8:764e with SMTP id cr21-20020a170906d55500b00a5211c8764emr1812291ejc.25.1712823481657; Thu, 11 Apr 2024 01:18:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712823481; cv=pass; d=google.com; s=arc-20160816; b=NNuWsQK1ZgA54i67SRwVKj1swSOdrEfC9Zwg7UgiS1J11lXkTtPAwZTOEw7xU1Nz+I GX4vhnBdRS+Inc0YrrxLMHnULY7GOZkcGpUYKdtzif+nlvjUESgZ4xIAjVw3EHlbVaBW Hic/TfcCDEtZlRX5k3saiebg3ZyIAXL3rG8H36ZZ9O/D5PHJlgr6dPsWBZFO/c/jIVZK /BB95uBhnRg8I94wyOntdR1itgo1hNyN/wbF17UFEq3wOAr9rsAjyp6gBxfV/YlyhAK1 VL1Kkd6IYF8dC6jsbL0Oo+fQ7ff1th6JBrWQEisq9aiBd7/rTQlP1SwwdtETRw+/9yuZ nRXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=a9JwUZrGblp20dvEFGPjA+XJw4OSt/yDPHXDqtQgFVo=; fh=btI2azDCKEpGNEpNxGLjcfdJMHtO/PH+JzYbYg7sPxs=; b=d5o/H5Zaxoyk1MDZe1+YLpaKpz+SjvFGLNLil05AJhdby33F8mkKtFQRB60g7ypTr5 ZcPAmGK7od5nuYMK7q+5Nx3B/jI6i5PesKJ08k74cC18EAbcY3CZoSzG19ljgC2IBcGJ ZSd1/c4AQGvDSqHXdQMaeLEZzDm9McljvBSYrMCgVQ7+Z1fR7iQlYJZgztY3IXDMS3cs vGndYemXCgZXcFFgdT3tONAlyPQkwe1uEBZvJ3mHgb0bj9w0/M6+KjWDYxnCkr48tckC m3w61RH+wdFMpOLA8CMKqgfqP4hVk+V5O8fKFdT5O7LtQ3u/n+W81+6zYYEVUpDsG3If imMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=UD2IrW3O; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=dNDFwyDL; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-140053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o20-20020a170906289400b00a51d5bfa6e8si509139ejd.692.2024.04.11.01.18.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 01:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=UD2IrW3O; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=dNDFwyDL; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-140053-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140053-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E31D51F26855 for ; Thu, 11 Apr 2024 08:08:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22A3713FD74; Thu, 11 Apr 2024 08:08:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="UD2IrW3O"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dNDFwyDL" Received: from wfhigh5-smtp.messagingengine.com (wfhigh5-smtp.messagingengine.com [64.147.123.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76CAC664DD; Thu, 11 Apr 2024 08:07:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.156 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712822881; cv=none; b=eSZ4mMwp8ykmeAq3cVGxG6SUHrGhkgYR6CCIn6x5HUK3zI5XCVzTZooXGB7iMS3YGczR5kbpua6fwAKeh3L3kA2E8F/N437wRrZWhH9Zp+Ntu9rRDPoCSTyhd4Ro4Hu0TFDvuXiHqyS7qXEuVvu7KZP/A00l+V5W3qExTXOVo38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712822881; c=relaxed/simple; bh=Y9qmUzmwCH60stgnS2mlNEdLDQMwLF9+umsngwH+J9g=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=dbOci2LltYBzLWpfsKU7UMZlvY0VcKNediexCYKfKIS8w9yFJikCvA4znQUN3RKozX+QE2xLCTGAfNb7wuRNvId/2P4rVtO/eUlxnCv0mG0UkaPI6SePYJhblodxjoxTMirLZDjyTbxyFCFN9EtIfEpvVOWMh+U6wc85iKc9sJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=UD2IrW3O; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=dNDFwyDL; arc=none smtp.client-ip=64.147.123.156 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 93CF91800121; Thu, 11 Apr 2024 04:07:57 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 11 Apr 2024 04:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1712822877; x=1712909277; bh=a9JwUZrGbl p20dvEFGPjA+XJw4OSt/yDPHXDqtQgFVo=; b=UD2IrW3OrJwa+Ojyp+ZJlgG8+h g6lKkftIzZb9dn9EKkGp80kJhtC9UyXYoc+H7QoJFj8hKwDaId14BtnQLqblVTw2 wG1PdCoOhXkPy813083zpqWz3+ADhJS3ZTFOWW6vQLSiZb+fQuJ1yPYZT7CJQE1t PtnByjlYhALKqFIXnuJYs0ZGgw+uclF6aNBx/StrkB2moDMvA1p5yf4DOHKUY1aL TZGA5vNVPAmLZeRBJbdW6DS79ODfloSVWWhAd7umbzvc1EPBz3SvKCVZ+QLMy1hU Q2ydlwODPT/Kxm99/ezz3N6zsrcjib0eLRRXRoeMTBEXD1JR4VJmwGmbCjnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712822877; x=1712909277; bh=a9JwUZrGblp20dvEFGPjA+XJw4OS t/yDPHXDqtQgFVo=; b=dNDFwyDLzke3ysux49qnsencJejakrLKtOO1UinrZPFP azOhqUMSqbE394PzDvEXOfmfc7PwaJs18tjP7oBNzrtWV3q61fEumDRWuWMnjU13 x2hQ8Wb5LNhdXQAfAN6c83baOajnJNr+hXUS+/xj0rIZZ0pev9DTe3st6nhY4+2g wGXHdT7nhf/3JTrotJCgkkCjMNZtj5gdXI/cn8/+RBt4pBXM57n7+GXtX4gFh6TO PRVWAv5TggrFfYoEzBSrL/ehJeQm6zRrzCCDHLmboBRR7QKF+nm54K7paddYvV+J 7bCvQ6Sqf0rPcXSnGps7+dLNQfJvPvtttQxjqGGmMg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehjedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 276F2B60092; Thu, 11 Apr 2024 04:07:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <5f99920d-0c9c-4921-ab85-e5bca11c2da6@app.fastmail.com> In-Reply-To: References: <20240408092923.2816928-1-arnd@kernel.org> Date: Thu, 11 Apr 2024 10:07:30 +0200 From: "Arnd Bergmann" To: "Andi Shyti" , "Arnd Bergmann" Cc: "Peter Korsgaard" , "Andrew Lunn" , "Geert Uytterhoeven" , "Wolfram Sang" , "Jarkko Nikula" , "Geert Uytterhoeven" , "Niklas Schnelle" , "Samuel Holland" , "Gregor Herburger" , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: ocores: convert to ioport_map() for IORESOURCE_IO Content-Type: text/plain On Wed, Apr 10, 2024, at 15:31, Andi Shyti wrote: > Hi Arnd, > > On Mon, Apr 08, 2024 at 11:28:36AM +0200, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> There is at least one machine that uses this driver but does not >> have support for inb()/outb() instructions. >> >> Convert this to using ioport_map() so it can build on architectures >> that don't provide these but work correctly on machines that require >> using port I/O. >> >> Fixes: 53f44c1005ba ("i2c: add HAS_IOPORT dependencies") > > I had to update this Fixes tag as I have done a rebase. > Ok, thanks for merging. In case you do another rebase, you could also move this patch ahead of the other one to avoid adding and then removing the dependency again. Arnd