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 8177DC64ED6 for ; Mon, 27 Feb 2023 21:05:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjB0VFX (ORCPT ); Mon, 27 Feb 2023 16:05:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229890AbjB0VFV (ORCPT ); Mon, 27 Feb 2023 16:05:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA5127D61; Mon, 27 Feb 2023 13:05:13 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id BD466B80DB8; Mon, 27 Feb 2023 21:05:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 014C0C433EF; Mon, 27 Feb 2023 21:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677531911; bh=wM7CKQVbmGuH345EmkznKBI9Vbtt2sSUgczg9Ty7nXs=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=jOPmsQJ92zMVF6JYFsoNUtFmfqH1qn9yNHrBFNCHK1WfW7u5eh/4Dt9Wuis7K36N0 zrL+jhWh1yWTKKzwbuI8LAi0DKDAghFiaLH5lvECf285Web9rihBnkQ8C3DESaEWK0 /j7dTBTpjCyFT8vHLXWUy9qwvesNEnhkTG5aQlFxMcvzvM6AKOkT0GNU1MFopQ68Gj htVUyVIN5jq24tsH7EHUCjm7Wqg+o4VRa+39BcSkQqAtkTiNRkF1yHoI7FytKL3qRN /mnyrfziJh7++JU+FiEifPiPb2v4w4HMEJbpJnpyNS69v66VYxTCeW/J/rBk/0TyWV 6UaSXElMaBwCA== Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id D2E5827C0054; Mon, 27 Feb 2023 16:05:09 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Mon, 27 Feb 2023 16:05:09 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeltddgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugeskhgvrhhnvghlrdhorhhgqeenucggtf frrghtthgvrhhnpedvveeigfetudegveeiledvgfevuedvgfetgeefieeijeejffeggeeh udegtdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrrhhnugdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkeehudej tddvgedqvdekjedttddvieegqdgrrhhnugeppehkvghrnhgvlhdrohhrghesrghrnhgusg druggv X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7653FB60086; Mon, 27 Feb 2023 16:05:08 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-183-gbf7d00f500-fm-20230220.001-gbf7d00f5 Mime-Version: 1.0 Message-Id: <3e94a109-66cc-4774-8317-3ae249e34c54@app.fastmail.com> In-Reply-To: References: <20230227133457.431729-1-arnd@kernel.org> Date: Mon, 27 Feb 2023 22:04:07 +0100 From: "Arnd Bergmann" To: "Russell King" Cc: "Dominik Brodowski" , linux-kernel@vger.kernel.org, "Arnd Bergmann" , "Bjorn Helgaas" , "Florian Fainelli" , "Hartley Sweeten" , "Ian Abbott" , "Jakub Kicinski" , "Kevin Cernekee" , "Lukas Wunner" , "Manuel Lauss" , "Oliver Hartkopp" , "Olof Johansson" , "Robert Jarzmik" , "YOKOTA Hiroshi" , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-can@vger.kernel.org, linux-mips@vger.kernel.org, linux-pci@vger.kernel.org, linux-wireless@vger.kernel.org, Netdev Subject: Re: [RFC 0/6] pcmcia: separate 16-bit support from cardbus Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Feb 27, 2023, at 21:15, Russell King (Oracle) wrote: > On Mon, Feb 27, 2023 at 02:34:51PM +0100, Arnd Bergmann wrote: >> I don't expect this to be a problem normal laptop support, as the last >> PC models that predate Cardbus support (e.g. 1997 ThinkPad 380ED) are >> all limited to i586MMX CPUs and 80MB of RAM. This is barely enough to >> boot Tiny Core Linux but not a regular distro. > > Am I understanding that the argument you're putting forward here is > "cardbus started in year X, so from year X we can ignore 16-bit > PCMCIA support" ? Right, but I'm asking this as a question, hence the 'RFC' in the subject. > Given that PCMCIA support has been present in x86 hardware at least > up to 2010, I don't see how that is any basis for making a decision > about 16-bit PCMCIA support. I assume you mean machines with Cardbus slots that can use 16-bit PCMCIA slots, rather than laptops with only PCMCIA here, right? > Isn't the relevant factor here whether 16-bit PCMCIA cards are still > in use on hardware that can run a modern distro? (And yes, x86 > machines that have 16-bit PCMCIA can still run Debian Stable today.) There are three combinations that are supported at the moment: 1. Machines with only 16-bit PCMCIA support, all very old, which rely on these slots for basic functionality. 2. Machines that support Cardbus slots that are actually used to connect 16-bit cards. 3. Machines that have a Cardbus slot and can just use 32-bit cards for whatever they need. Dominik originally raised the question whether we could kill off all PCMCIA support already given its age, which would either break all three of the above or at least the first two if Yenta-socket is kept as a PCI hotplug driver. I wanted to make sure that we keep both case 1) for sa1100/omap1/pxa and case 3) for x86, while case 2) seems much less important because there are presumably fewer users than 3), and they have an upgrade path that only involves replacing one cheap card instead of trashing the whole machine. Arnd