Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp593252pxb; Thu, 21 Apr 2022 06:29:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9U2Yam8s9nNhv0so+HR/gx61ODcWwmJ8Q9+bQrcNwIa4/UYQGe8GIset6OQ4JW5qUiOwO X-Received: by 2002:a17:902:ce11:b0:15b:4232:e5e7 with SMTP id k17-20020a170902ce1100b0015b4232e5e7mr833594plg.39.1650547741640; Thu, 21 Apr 2022 06:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650547741; cv=none; d=google.com; s=arc-20160816; b=VVzU/X2s4AdxwuUK7UxY+FRQR0vpOgFLKXi8/lz5Uy3YWx2Fb7vp2qdk4+F3eXJlzT LLzUzK0usgQSV3jsEO1skPSLpSylz7pc/3cmRpUWnNiTuFeUkhVzKURMI5wbz9UeGq5/ tQ1AwN7+rzebDQPom50CkCHT1bVnsf1qkskSUsAlibw+5pZsUJL58vcNgV8mGVxJR9T4 44jt+OpaEG4Bvs82At9KiRd5nPW/XZ/qg7++Mf3r9hI+geCJy6gUXKKVc5+8RBJs+2Yb 7SsZ25ugwRPQpkjLQa5wB7yln6ywzlyRoobzKO4W3ETFgGoJUo4jw8j2aMGbFfxsr+ao KlaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=rUNzNTA7KiGKI5Gr3YCJNZKZM2l+gczyHinoEn3uWM0=; b=E1SRBu0PNok3/+0KYnAqtTM2jaz5fWqK1czGOdGsmPRdeAUJ95CvRJsvDNMMfn66gV 9Aw8M4qf7QgyY9BA4nA0WVhXZ7C2h/YR4Ucxd268MN7RKKXA0/fAdUCyA9vd11r/grNE wWDV9gHQiPCeyuc3VzgXo2WibEZqIlducwQBPf0RMdjQ4krYL9S9I6Tfr4lEfSy9EobH cJioI981AqTUWSbCX3Yll4XqfiNJAUqmrwYaSRGoSvowAYJv+7+tLZpZ2COBwdv2TYeP vM0DIIuptfHu5jyWcoDJEwLVUFFg6tbqT2A+g4y40QJZn5O0aj0cA0gR1K9avpR1jCMY NQhA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a632c05000000b003a2c77e0d4asi5361772pgs.23.2022.04.21.06.28.44; Thu, 21 Apr 2022 06:29:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359285AbiDTEh2 (ORCPT + 99 others); Wed, 20 Apr 2022 00:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236411AbiDTEh1 (ORCPT ); Wed, 20 Apr 2022 00:37:27 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 530F810CD; Tue, 19 Apr 2022 21:34:42 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 4E88F67373; Wed, 20 Apr 2022 06:34:38 +0200 (CEST) Date: Wed, 20 Apr 2022 06:34:37 +0200 From: "hch@lst.de" To: Arnd Bergmann Cc: Sven Peter , "hch@lst.de" , Keith Busch , "axboe@fb.com" , "sagi@grimberg.me" , Hector Martin , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Marc Zyngier , DTML , Linux ARM , Linux Kernel Mailing List , linux-nvme@lists.infradead.org, linux-spdx@vger.kernel.org Subject: Re: [PATCH v2 6/6] nvme-apple: Add initial Apple SoC NVMe driver Message-ID: <20220420043437.GA1123@lst.de> References: <20220415142055.30873-1-sven@svenpeter.dev> <20220415142055.30873-7-sven@svenpeter.dev> <20220419053157.GA31530@lst.de> <866f79b1-6c02-4248-ac98-594829fed204@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 Tue, Apr 19, 2022 at 11:52:15AM +0200, Arnd Bergmann wrote: > > I just checked again and 64-bit accesses seem to work fine. > > I'll remove the lo_hi_* calls and this include. > > If you remove the #include, it is no longer possible to compile-test > this on all 32-bit architectures, though that is probably fine as long > as the Kconfig file has the right dependencies, like > > depends on ARCH_APPLE || (COMPILE_TEST && 64BIT) > > I'd prefer to keep the #include here, but I don't mind the dependency > if Christoph prefers it that way. So thre's really two steps here: 1) stop uing lo_hi_readq diretly which forces 32-bit access even on 64-bit platforms 2) stop using the io-64-nonatomic headers entirely I definitively want 1) done if the hardware does not require it. Trying to cater to 32-bit build tests on hardware that has no chance of ever being used there by including the header seems a bit silly, but if it makes folks happy I can live with it. > > Arnd ---end quoted text---