From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19176C433EF for ; Thu, 7 Apr 2022 07:27:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236050AbiDGH3f (ORCPT ); Thu, 7 Apr 2022 03:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238022AbiDGH3b (ORCPT ); Thu, 7 Apr 2022 03:29:31 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B0D04990E for ; Thu, 7 Apr 2022 00:27:31 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id qh7so8898420ejb.11 for ; Thu, 07 Apr 2022 00:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=sVKCjcyFursuGnNRsqDGWq1s5jhG02VXWdHL2aOfkHM=; b=xuliny82Z7i6PiVcYIJRHu6t+++DO8XGMUK9vsBg7UyErLpHv8jIzSQuZ+5NDKIzkW 1whTtc6iCgTqJMa66wm+DnQy0jm+Wnx1JVxRBhKifJChaHH4JzEc0EEDXFrPvAggicpp G2QMxefL0zv3Qxsb4asmTXClYA127fYxy3yjTje/TCHs9dQQLQnqTZjPl60AOyCChAHO 7jd35XlgaKfKJ8Xj/RY7llxhYXD4fAOet1XttuqAKpHaJkzzI8EboNBUFPFlW1w2wB0G ETHLeIIyBocAtZkDCGbnkYXv7FbPmaSzjYkOojFFG4+TFhT4Cd1AfYPSOAi1WWnjGWUO nnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=sVKCjcyFursuGnNRsqDGWq1s5jhG02VXWdHL2aOfkHM=; b=6mjQhcIeclNZL7gTiCUDUVufhI/JfZ1vkeqDDL6861Mt/9sErQOJDAQL2H8bhQnxCD eWvo15lopE6F3FOOh5Xv8P60NdH6+G90FU6DguwDVmSjUgpYVephwamp4qr9Qus8Nhet si/GFnOdeOOXlC05isP0ThOyqntuRkCUI6MnMCT94Swu1fbVpjLKAZPnVtJoyvsne9lQ wNUEshi/i9GEYIsRNAOVXpmJSzW9oPH3CrIjwq5j+L4msvlLMAfEOIIHNi9QzYhGO5K+ A9x1vHFWqJGJ50QGzeA1tFGYPTevJ6XIOx+myWI9NiDXyHASkeFprseP2HNhSG1HTo2S KkPA== X-Gm-Message-State: AOAM533tnVC5dw4SSQ10Rboo1+tVJuuVDiOlxBGRXCm27pAR1LJRMrpu VTU2sJzIgdVBpwPcCd0jwc9BMA== X-Google-Smtp-Source: ABdhPJxxkE3ET/sQ03551rEJpszWGXXoBdMpR35R5o6Dcc4iCbDQcrdlhEPf8pQpvtBqR84fxUR6AA== X-Received: by 2002:a17:907:6d8f:b0:6e0:1512:913b with SMTP id sb15-20020a1709076d8f00b006e01512913bmr12318510ejc.491.1649316449674; Thu, 07 Apr 2022 00:27:29 -0700 (PDT) Received: from [192.168.0.185] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id q17-20020a170906b29100b006e7f3615efcsm4071855ejz.56.2022.04.07.00.27.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 00:27:29 -0700 (PDT) Message-ID: Date: Thu, 7 Apr 2022 09:27:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 07/12] ARM: s3c24xx: remove support for ISA drivers on BAST PC/104 Content-Language: en-US To: Arnd Bergmann Cc: Arnd Bergmann , Russell King , Hartley Sweeten , Alexander Sverdlin , Hubert Feurstein , Lukasz Majewski , Alim Akhtar , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Simtec Linux Team , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ard Biesheuvel , Stephen Boyd , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, patches@opensource.cirrus.com References: <20220405091750.3076973-1-arnd@kernel.org> <20220405091750.3076973-8-arnd@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220405091750.3076973-8-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/04/2022 11:17, Arnd Bergmann wrote: > From: Arnd Bergmann > > BAST is the one machine that theoretically supports unmodified ISA > drivers for hardware on its PC/104 connector, using a custom version of > the inb()/outb() and inw()/outw() macros. > > This is incompatible with the generic version used in asm/io.h, and > can't easily be used in a multiplatform kernel. > > Removing the special case for 16-bit I/O port access on BAST gets us > closer to multiplatform, at the expense of any PC/104 users with 16-bit > cards having to either use an older kernel or modify their ISA drivers > to manually ioremap() the area and use readw()/write() in place of > inw()/outw(). Either way is probably ok, given that all of s3c24xx is > already on the way out next year, and many traditional ISA drivers are > already gone. > > Machines other than BAST already have no support for ISA drivers, though a > couple of them do map one of the external chip-selects into the ISA port > range, using the same address for 8-bit and 16-bit I/O. It is unlikely > that anything actually uses this mapping, but it's also easy to keep > this working by mapping it to the normal platform-independent PCI I/O > base that is otherwise unused on s3c24xx. > > The mach/map-base.h file is no longer referenced in global headers and > can be moved into the platform directory. > > Signed-off-by: Arnd Bergmann > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B425AC433FE for ; Thu, 7 Apr 2022 07:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zkUxoWZADyx0ltJZTstUD53r0JgiZloQhWnX/InSI9M=; b=3Q+HpZcNR2ktqk wXu4qdPWOHn++V9TQ92lVDGT1Zl2No9azPmTpLWUB59y/I29BNoeaLkDkHzRQKAFGwYbssuZGrE0p 9g7vLaAmQj4rcHl9JORI0m1Yube5mSb3CGJkV7p2/qoneMoXGlNp5bIJ67lh6akUE71Un1c5VCdBS Txq3nKYCg2/oVR9QZTUcAdyeDAHufVyWEHv6/a4SZyehNhLar9p56oIl0jSh4PC7wns4Kk145dlGg +px9QhUAuDaC+lLtDll5tZSZpCUbynw23dvAz9aBiXB5zn9ickEP79SRZjoWJHE1aK23nzVAvK7oe GXurC2z0canWwZfOHyWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncMYQ-009xro-Vj; Thu, 07 Apr 2022 07:27:44 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncMYG-009xoB-SF for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 07:27:34 +0000 Received: by mail-ej1-x635.google.com with SMTP id k23so8982958ejd.3 for ; Thu, 07 Apr 2022 00:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=sVKCjcyFursuGnNRsqDGWq1s5jhG02VXWdHL2aOfkHM=; b=xuliny82Z7i6PiVcYIJRHu6t+++DO8XGMUK9vsBg7UyErLpHv8jIzSQuZ+5NDKIzkW 1whTtc6iCgTqJMa66wm+DnQy0jm+Wnx1JVxRBhKifJChaHH4JzEc0EEDXFrPvAggicpp G2QMxefL0zv3Qxsb4asmTXClYA127fYxy3yjTje/TCHs9dQQLQnqTZjPl60AOyCChAHO 7jd35XlgaKfKJ8Xj/RY7llxhYXD4fAOet1XttuqAKpHaJkzzI8EboNBUFPFlW1w2wB0G ETHLeIIyBocAtZkDCGbnkYXv7FbPmaSzjYkOojFFG4+TFhT4Cd1AfYPSOAi1WWnjGWUO nnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=sVKCjcyFursuGnNRsqDGWq1s5jhG02VXWdHL2aOfkHM=; b=Voy5KW+e3ssH9+Z8coFFHXUixExzzs+PAPErIxmuBu/jcc7v0TwD+kstllnKaxx6fj /4VCaXjB7FjFidgMFVNHyLbK94WJyGx+fRMAyLCd7v1ItEM0f3flRoza5daxB4j6X8g7 yCNaPlMAjmLG6Y2iuBeuN9OIjhyqAyc//PkT+L/1FceD14eZoJTfZKc2ibNV7a16xkkw opWPhtzdD0J4aKfj70J1ixKAZUMOQDtB3NM04GI/vwFSQIgFEDHUgS+tDiWjqva5LAa+ 6DvfbyR/3Qwuo7P0HrW3d8C29vpbtzSirYrTHPCUG8ISi0fO9fbF2XIaoHL0a4jD5P/i dSvw== X-Gm-Message-State: AOAM532zbtyAgJ0CqIEZLvF0NDGqc5de9rXdYuqt2NKgMFfASyGqbwDf ulIkKipctDv/pFhc6r6CoWhw+A== X-Google-Smtp-Source: ABdhPJxxkE3ET/sQ03551rEJpszWGXXoBdMpR35R5o6Dcc4iCbDQcrdlhEPf8pQpvtBqR84fxUR6AA== X-Received: by 2002:a17:907:6d8f:b0:6e0:1512:913b with SMTP id sb15-20020a1709076d8f00b006e01512913bmr12318510ejc.491.1649316449674; Thu, 07 Apr 2022 00:27:29 -0700 (PDT) Received: from [192.168.0.185] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id q17-20020a170906b29100b006e7f3615efcsm4071855ejz.56.2022.04.07.00.27.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 00:27:29 -0700 (PDT) Message-ID: Date: Thu, 7 Apr 2022 09:27:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 07/12] ARM: s3c24xx: remove support for ISA drivers on BAST PC/104 Content-Language: en-US To: Arnd Bergmann Cc: Arnd Bergmann , Russell King , Hartley Sweeten , Alexander Sverdlin , Hubert Feurstein , Lukasz Majewski , Alim Akhtar , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Simtec Linux Team , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Ard Biesheuvel , Stephen Boyd , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, patches@opensource.cirrus.com References: <20220405091750.3076973-1-arnd@kernel.org> <20220405091750.3076973-8-arnd@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220405091750.3076973-8-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_002733_107806_63088392 X-CRM114-Status: GOOD ( 20.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 05/04/2022 11:17, Arnd Bergmann wrote: > From: Arnd Bergmann > > BAST is the one machine that theoretically supports unmodified ISA > drivers for hardware on its PC/104 connector, using a custom version of > the inb()/outb() and inw()/outw() macros. > > This is incompatible with the generic version used in asm/io.h, and > can't easily be used in a multiplatform kernel. > > Removing the special case for 16-bit I/O port access on BAST gets us > closer to multiplatform, at the expense of any PC/104 users with 16-bit > cards having to either use an older kernel or modify their ISA drivers > to manually ioremap() the area and use readw()/write() in place of > inw()/outw(). Either way is probably ok, given that all of s3c24xx is > already on the way out next year, and many traditional ISA drivers are > already gone. > > Machines other than BAST already have no support for ISA drivers, though a > couple of them do map one of the external chip-selects into the ISA port > range, using the same address for 8-bit and 16-bit I/O. It is unlikely > that anything actually uses this mapping, but it's also easy to keep > this working by mapping it to the normal platform-independent PCI I/O > base that is otherwise unused on s3c24xx. > > The mach/map-base.h file is no longer referenced in global headers and > can be moved into the platform directory. > > Signed-off-by: Arnd Bergmann > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel