Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3095538imw; Mon, 18 Jul 2022 01:55:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t6Rralq+IQup+kuaMQnBG4iLhibxo1bKYHZ0b6Uz11isZmUNq1gTXWuyjsp1RrxapiRuc7 X-Received: by 2002:a17:906:38ca:b0:722:e836:1d85 with SMTP id r10-20020a17090638ca00b00722e8361d85mr24799185ejd.194.1658134543332; Mon, 18 Jul 2022 01:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658134543; cv=none; d=google.com; s=arc-20160816; b=SJxEG69IMC84Rr8ZmabagQg3jXwzllEj+WW71lo1WIWl5nMRFxrFeSQQyjk/pU6E+U OMgsKn0cAmqs3ivSmd0hgqcQ33CgZLwYGjJ1mtFtXiXUWNg64OK3c+mdqqNc5Qebw/t5 USSc+dWMnN1GAWDWQ6Kay6RtiAgz7anr+MODXEmBw2nAJH1XVHaEFgUcUQfP0LgRywUB GjuHNFH5INSNVtspzZb6EBkaE3j7fEspZCG9SyRse8M4E8CIlReU2nGA1f/1lddoWa5V tjOOYriGqK2KJK4OVz5b7HzNcX04t8TKyJHu74xkbKMyjcbLs4+6wnJcwKoxtW9HPwCq QcLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=EQibuB+HRd3lrCPdCHjd5Kptvz7t3wE5RCUTUbzpTH8=; b=i3CeXe5TaOv9LZki/KJ5DI2KjyrAeaRHGjAiAM4And9EKCXoBz2bTMYODIxGJuGeQX 6fkuONNWxtY7eo74U2exDEwoOQEYlyR6XXzFETS8dMtAarKjZcvAyHTvm7UqZ7+hzI55 YJcxb4fvxcbNYa+IIor+MY9eAbHQ+aIzU7O//Z/muHBWwHVe6R/c4VcATNsq2DdrGrL7 YZXANhYvMY51WcnDWfmL3ZLppNsIhUciB0POP2fGwYe8pgd+7eZcUOaV40e9Q0lWvAo3 rAfLXGE68pDckc9lhra6sbOE/ZgL3EiJKV2MJoElTq+GCHkNNgd1qKh1kipSyEVEQwRi qiPw== 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 hd33-20020a17090796a100b0072b0f6f67c8si14996536ejc.601.2022.07.18.01.55.17; Mon, 18 Jul 2022 01:55:43 -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 S233795AbiGRIWa (ORCPT + 99 others); Mon, 18 Jul 2022 04:22:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233786AbiGRIW1 (ORCPT ); Mon, 18 Jul 2022 04:22:27 -0400 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1623F1900B; Mon, 18 Jul 2022 01:22:27 -0700 (PDT) Received: by mail-qv1-f43.google.com with SMTP id r12so8265037qvm.3; Mon, 18 Jul 2022 01:22:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EQibuB+HRd3lrCPdCHjd5Kptvz7t3wE5RCUTUbzpTH8=; b=NlrPf2Ceni4K+B8ZD1iIzmYW1ljlu/GQcpa6Y3gFvAEaIHCjBYn7M1oR+PFH5bcPDa xSib4vCYKrPj8UNxVwnSTIZLLYk8loGs2ZBxMfYJtNSXFdIe4X/Sxh3hn1PzosQfelLr 4wqLNYa48Teo2Ki0Ds2Arv7Uod1adopX4O2hf7Q0Ci4L3i89RJFrb6eos3ll9FZFx3xO t810/hkl9gCfwNzHJ/wIZei+4U7dWLRdx4MtO9mwAT0v9v9rZUI44l+3T3Dl2826C4Fz xuUDf0xaTlhz577ronNrkv0PjQI5nrIANMbO06qX95a6vdMVFA9OEcafXDJXUBd/iLHo KpQw== X-Gm-Message-State: AJIora8fB2I1YbexVYBV1YUtiOStH48WSbMTLrE4T9Pb4rNRowUrHP9Y OaMI8kEuTELK8B7yeXr32Ss3i+NbJv68vA== X-Received: by 2002:a05:6214:2aa1:b0:473:2cc2:63e with SMTP id js1-20020a0562142aa100b004732cc2063emr20457565qvb.26.1658132546301; Mon, 18 Jul 2022 01:22:26 -0700 (PDT) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com. [209.85.128.173]) by smtp.gmail.com with ESMTPSA id bk34-20020a05620a1a2200b006af1f0af045sm10390047qkb.107.2022.07.18.01.22.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jul 2022 01:22:26 -0700 (PDT) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-31bf3656517so98859317b3.12; Mon, 18 Jul 2022 01:22:25 -0700 (PDT) X-Received: by 2002:a81:5404:0:b0:31c:c24d:94b0 with SMTP id i4-20020a815404000000b0031cc24d94b0mr28386378ywb.502.1658132545091; Mon, 18 Jul 2022 01:22:25 -0700 (PDT) MIME-Version: 1.0 References: <20220718004114.3925745-1-shorne@gmail.com> <20220718004114.3925745-2-shorne@gmail.com> In-Reply-To: <20220718004114.3925745-2-shorne@gmail.com> From: Geert Uytterhoeven Date: Mon, 18 Jul 2022 10:22:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] asm-generic: Remove pci.h copying remaining code to x86 To: Stafford Horne Cc: LKML , Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "the arch/x86 maintainers" , "H. Peter Anvin" , Chris Zankel , Max Filippov , Bjorn Helgaas , Paul Walmsley , Palmer Dabbelt , Albert Ou , Nick Child , Niklas Schnelle , Matthew Rosato , Pierre Morel , "Gustavo A. R. Silva" , Kees Cook , alpha , "linux-ia64@vger.kernel.org" , linux-m68k , linuxppc-dev , linux-s390 , sparclinux , "open list:TENSILICA XTENSA PORT (xtensa)" , linux-pci , Linux-Arch , linux-riscv Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Mon, Jul 18, 2022 at 2:41 AM Stafford Horne wrote: > The generic pci.h header now only provides a definition of > pci_get_legacy_ide_irq which is used by architectures that support PNP. > Of the architectures that use asm-generic/pci.h this is only x86. > > This patch removes the old pci.h in order to make room for a new > pci.h to be used by arm64, riscv, openrisc, etc. > > The existing code in pci.h is moved out to x86. On other architectures > we clean up any outstanding references. > > Suggested-by: Arnd Bergmann > Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@mail.gmail.com/ > Signed-off-by: Stafford Horne > --- > Since v2: > - Remove pci_get_legacy_ide_irq in m68k > Since v1: > - Remove pci_get_legacy_ide_irq for most architectures as its not needed. > arch/m68k/include/asm/pci.h | 2 -- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds