Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1427788rwr; Thu, 20 Apr 2023 15:07:37 -0700 (PDT) X-Google-Smtp-Source: AKy350ZOBaKMoanFF71NBA9g4d5yDCNTeRRPSvxPOkHLxV2MFbk7Ho0Nl9Mnv6KSnrLjSriW44gR X-Received: by 2002:a17:902:d4cf:b0:1a6:81ac:c34d with SMTP id o15-20020a170902d4cf00b001a681acc34dmr9168760plg.28.1682028456916; Thu, 20 Apr 2023 15:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682028456; cv=none; d=google.com; s=arc-20160816; b=rJF2UiN7s1WeqX5I6TrHh5OJ3LcV1t6ggVbanOEfMbUQxKcaEmc3fzs6rIjaRrZGe0 IQ3WnKta7d9siRp8B11ktMufwe4iyhrIJgO5N5OUEPANxUkKHd1FxV/uhwKiTmOarAL+ +hfq3Bve+BdFMxkLnN8bkHJpNO3Ye6QmD78IxlYab/Fe3n6uiYGw4OxNgHrmQLDiN74s 5M6DzttX+tXYBpA56Jzd8DgeG1KZEaeMvoXMHlVw0sIOdXnYM8++jdN1ImBlkJa1rCX2 DuOAVzqXAzskcYZqdOta4eKlARcC/NFUlVCK65VbNfgQUoj+mnpiDRpuYBKuBATnLoGr 2riw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=Eea5uMEAl+1nAAB42mwv+0Zcgmlp2BsFQK50lMrjB30=; b=ephZbzqSB4Iq7kER+fFQ/AwWcefhXB+Oh305Knh8VIIWnVZoqPGlSKbNpduaVtIT+p d0wo0z32OYonUILbLBGXiFAskH7etLxckvnbfoj8tHQ/M5uq9wVP5crzHgqiEz360dc/ jTbzVe9jXTruGCjOgH7KIZfZ9kxC9/6jOrSznSw2liR9e4GiDBFgNZBX1wa8cAAFendH V1nJZxOcZ7qZ9ApORqgxrUJtacWYg1FUsgVFLHcW9D/TVdJtIG4nu9GFh/7v5QFzZndn CI9sCsrwhsww6jyBQMVy7JIQehJrs5HTT3w+Fr8wxz4B6lVgKoyCy75o6FblHdDXdDnK PrSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPQM4RDE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a17090a551000b0023d12168087si2755125pji.111.2023.04.20.15.07.22; Thu, 20 Apr 2023 15:07:36 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPQM4RDE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232698AbjDTWEU (ORCPT + 99 others); Thu, 20 Apr 2023 18:04:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229820AbjDTWET (ORCPT ); Thu, 20 Apr 2023 18:04:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEAB6270C; Thu, 20 Apr 2023 15:04:17 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 7948364C33; Thu, 20 Apr 2023 22:04:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C0AAC433EF; Thu, 20 Apr 2023 22:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682028256; bh=rD9VMfKEJUFC4BYnTD9baNPUr4s7JyEl0ztF0Di7OKw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=EPQM4RDE1vMmsg7wiEkmGqzvCIyrImc5T/Bq/lqdOuEdICx6O4ap+Ub/FsyWPaHl7 nXwQO/Qdxv8dnF4h8A2ap5SSbWNe7H8hOm0z32DRkhmePr7VeEB2LaSoWHvv1nWXRl hI2P+e3jctlTnnOx/kH02gPjWp7wHKr4a5OoCBTrAJM8GEawx2cK86+cd0uAA+4gCF Mcg7cPFrfnSVSxCuS97zKToBgg2ZtXbqevEgc7mxdOxgLyGvBQxl0QkB+z9WdZhfE9 3v2CeZ7jEXj5t3DH5eBmA7wA6cblDyn0kjKoPN9RjOHd5GWSbCf0RsJ6Ezrq+yfbou tY8F5n76uF5zQ== Message-ID: <6b7c1f22-2d97-bda9-affd-2e3a7a1d42ed@kernel.org> Date: Fri, 21 Apr 2023 07:04:14 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] PCI: Add ASPEED vendor ID Content-Language: en-US To: Bjorn Helgaas , Thomas Zimmermann Cc: "open list:PCI SUBSYSTEM" , open list , "open list:DRM DRIVER FOR AST SERVER GRAPHICS CHIPS" , Bjorn Helgaas , Dave Airlie , Patrick McLean , linux-ide@vger.kernel.org References: <20230420191036.GA315493@bhelgaas> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20230420191036.GA315493@bhelgaas> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,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 4/21/23 04:10, Bjorn Helgaas wrote: > [+cc Damien, linux-ide] > > On Thu, Apr 20, 2023 at 09:08:48AM +0200, Thomas Zimmermann wrote: >> Am 19.04.23 um 20:37 schrieb Bjorn Helgaas: >>> On Wed, Apr 19, 2023 at 09:00:15AM +0200, Thomas Zimmermann wrote: >>>> Am 19.04.23 um 00:57 schrieb Patrick McLean: >>>>> Currently the ASPEED PCI vendor ID is defined in >>>>> drivers/gpu/drm/ast/ast_drv.c, move that to include/linux/pci_ids.h >>>>> with all the rest of the PCI vendor ID definitions. Rename the definition >>>>> to follow the format that the other definitions follow. >>>> >>>> Thanks a lot. Can you please also move and rename the PCI device ids? [1] >>> >>> Generally we move things to pci_ids.h only when they are shared >>> between multiple drivers. This is mostly to make backports easier. >>> >>> PCI_VENDOR_ID_ASPEED is (or will be) used in both ast_drv.c and >>> libata-core.c, so it qualifies. >>> >>> It doesn't look like PCI_CHIP_AST2000 and PCI_CHIP_AST2100 would >>> qualify since they're only used in ast_drv.c and ast_main.c, which are >>> part of the same driver. >> >> Ok, I see. Can I take the patch into DRM trees? > > The first time around I got two patches [2]. This time I only got > this patch, but IIUC there are still two patches in play here: > > - This one, which moves PCI_VENDOR_ID_ASPEED to pci_ids.h, and > - The libata-core one that adds a use in ata_dev_config_ncq() > > Those should go together via the same tree. I supplied my ack to > indicate that I'm not going to merge anything myself, and I expect > whoever merges the libata patch to also merge this one. > > If for some reason the libata-core patch doesn't happen, then this > patch shouldn't happen either, because there would no longer be any > sharing between drivers that would justify a pci_ids.h addition. I can take both patches through the libata tree but there were comments on the second patch for libata and I have not seen these addressed yet (I did not get a v2). And in the meantime, it seems that the PCI ID patch was reworked as a single patch... Not sure what's happening here.