Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp161921lqj; Wed, 10 Apr 2024 07:08:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9XOvvvr1zgmgmKIOnbx1RB+jYQLAmlQV2LICDA/M+wD/POtN8R19cIRbGxCt33jwRMTNgvj/zZ9D8jTYXN2ha3DZMeHIQSb2yU9BsDA== X-Google-Smtp-Source: AGHT+IEU5us1pMw1yqJjGQrkhdHut9enX2F6CwV3cQJdUKNwb0v6DhIuicUkGj1qojb0rRAa0WWO X-Received: by 2002:a17:902:9308:b0:1e2:3cbe:adcc with SMTP id bc8-20020a170902930800b001e23cbeadccmr3076998plb.49.1712758087210; Wed, 10 Apr 2024 07:08:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712758087; cv=pass; d=google.com; s=arc-20160816; b=evqgjJfIIiDeyg1LlxmXf2Qs3dqNcaw4WMaS8SusiIIa2VFfsivSUbj6ng/iGIF3NJ x+yf+zdyvKGqMEj5OZrvVTIi5u6fwXQhrwr4D+p/cuc/noDkw84L0/GJUIkDtJN6Rynw yFnpg5EVu1tzJ3c16u443lB3LEclEBPuBK14yB/zaOjcS3tjwLhAtA24wNLDdLMXmRcI dF/ZO2HPEzo8sKPmZS4T9stEupXj/RCPXH0j67eoxmxfpHi6noQkI2y6+ahDTMepms9J VPp6nsah2hZWXKOGy01c1NOlC+m/3rfDNLZgX+TMyp03MFpejhbFkae1oC1mP6NekGii nqDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XxZBdangzLZbswlWJdLnEx3pFoI7DkcoPR4t4uQXCk4=; fh=8wwa64NsEuPcwCXBitsHl0wUGzlXsUa2BTttv92lIhc=; b=dIdT281JDXoGVdzXsc8FhP+Z1UvrdCCPB23KIk0vIKgYsKQW2fBCO7WDlOTvicIoLE 8jXTtPfJYZlCahNyvS0Pb0E1WQAC+9BSsP6KfqXVI5oVDKlgVfcUfnWwwwvhDWWuBx9D 0KnPUwHf7e49y+pyNwq0ggnkkYRSgX6hu0IaL7C1dWWkRhnCNz1CCRXtrJIXcmas8310 4Q6JmIdYXCuFzDHTu8jOIH7p78B+imkdrkJDzj+KfKCzcuStoJ853sCJ1iCp+ThFaP1g EGZzLhYoYaJsIT9RfVo5NcyEG/E2BmgeS5VXfy0+56bTIOU5bRAJ4lNmtmoUjQYdhPlV B0yA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XN6zeQN0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138608-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jg13-20020a17090326cd00b001e432ed06ddsi5625577plb.208.2024.04.10.07.08.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:08:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XN6zeQN0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138608-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C1240B2F023 for ; Wed, 10 Apr 2024 13:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A0C515EFA6; Wed, 10 Apr 2024 13:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XN6zeQN0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A3C5B15ADBF; Wed, 10 Apr 2024 13:31:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712755884; cv=none; b=dYkb67X0k2wMIomnOlhnSbQEBsXigeJE2H7paVAdR4ycGbtGfCA9VBPJDBajFrFfWbhRmofKDNaQ7tLOgfygtXuVZYXGkXVsNw+jwjXj6JuqeGzNDifbklEqWddOkx21Njc4QLQzhHsyijB/0AISQeSTUrTaZUBg1LP0ETFu1vk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712755884; c=relaxed/simple; bh=8/wXwcx5NajVLNTz4GkObpje3TaN5khbVxkN03PMLec=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WO8iKet3h2n5yfas3B0F6jWDqFUS78XRLGCJ9UWsm1Z9eWOyHOkhr4DaRDF886eFGorVft/up7t9ts0OgdYhzjBjLRJ2kceItxcbW9LFc5GLJtsDoYHn4SOgw6FOlhH8MowqDUhvjBXgT+dfsUB/+RR4Xw5nLxv7iMI0XEC2eeE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XN6zeQN0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B10E8C433C7; Wed, 10 Apr 2024 13:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712755884; bh=8/wXwcx5NajVLNTz4GkObpje3TaN5khbVxkN03PMLec=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XN6zeQN05eLen8fg+5sCAAEdjHNXR2mOh0YmTXlp+rL6lDKXZoy2mNpLFhxL73dR2 gd0M+gKKu3Xykr4kbP3dfhXCI6qIoxhSH/BpJo7aE3ztAPIREHU3FTXiDlZhPaaSRf fLw+sUbJV6llvQXmthltyFuFI/wD1uO8p5iLi9FeE4cDccQLCY7NB7WvNyEv0Ah71m sanCsCg4cSn7R5BkD533dPWPaUSMwTnncoY0KumIIX/5FJ2JYEV5Nsse1N71XCgTfe HoG/owUUCbTbd5sSCthWIWTc8L+JZM0dRrCZkt89DuvMkgiQCnoVWypLaO5BKUX5jo 8KVewOtWhuqow== Date: Wed, 10 Apr 2024 15:31:20 +0200 From: Andi Shyti To: Arnd Bergmann Cc: Peter Korsgaard , Andrew Lunn , Arnd Bergmann , 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 Message-ID: References: <20240408092923.2816928-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240408092923.2816928-1-arnd@kernel.org> 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. > Reported-by: Geert Uytterhoeven > Link: https://lore.kernel.org/lkml/CAMuHMdVUQ2WgtpYPYfO2T=itMmZ7w=geREqDtsP8Q3ODh9rxdw@mail.gmail.com/ > Signed-off-by: Arnd Bergmann This will go through i2c/i2c-host and sent in the merge window pull request. Applied to i2c/i2c-host on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [1/1] i2c: ocores: convert to ioport_map() for IORESOURCE_IO commit: a43939d2d96aec5fcb77d0abd75bab5e6ab006d3