Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp845111rwb; Thu, 18 Aug 2022 13:21:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Sh0fp5vj/Y8iGQPUjpIm8/kstn+OmV7ziS9S0JlZNTGXycuyb6HA2JuC9VGQRVzFnywlE X-Received: by 2002:a17:907:8a09:b0:731:610:ff8d with SMTP id sc9-20020a1709078a0900b007310610ff8dmr2774566ejc.399.1660854117061; Thu, 18 Aug 2022 13:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660854117; cv=none; d=google.com; s=arc-20160816; b=cmGMy8miBCvYfzuBikdhdfep80iqnSGOqB4gVebjp9WJmymOyIN9jDo368pYJ5KRtJ 5mb7tiDbsjeEZrl8EcZiBk8yl+HgM0f65v1dJcrz2z2rJHViRlf8I/GAIFgVYW1PqUav +bzlyAkNR1sIs6U+lDINsx15s6VVA0yynTObvGI2dCv9T9MB/sdgc58oxq13g0eQcHRP kL7NUgOJdq0+FsOxaza2FxA9BrtgCCg0WhrhRjCl+MQGH2JEKMtZPj/i9QpivQ2cfWwZ 5lG2S4UH8uZIOw8LPb+emI8npv0T0rSWvm7Cc7lZm+WSGDupfWV3dl+xVhqjLoYElaDZ eWFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ekfMu/NlgHnoEql9XLmlRVPwjxrh2EoMdj4w3IuDChw=; b=wW6QbBoXF7HhPcTbLqLjpoxaIbrRhSMDfYakpJX+S6KdukNe0xd5jmDDBcXMqhIDxM 3xlngtjJnmxDeASB7G4ns1sg85sgVEFL2qh4W5MzWTB3OKMC+tPjrMQfq4qutoF8K+q1 BaJM1NHC1IiO8cgJDPjs5cuoKg1u65+f+szO5s/Z8mVNLunHaAKFkh8dzeZYOs/k5vb2 pkK9DWUyMDsGatrb4fwHwoPRaTimRfnJl6bAH3/Z2WS/bKesZ7pRLNTHXe0g9Lhm5OUh KABTu0VnzqpsJ1ilCiEuCq/6n4YJQYan/34ShWqNYd6/pbHlSmdfzNS8NBjZjTFp6yJE 6Agw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gIkfl+iI; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a17090665c600b007316ac034acsi1421434ejn.834.2022.08.18.13.21.31; Thu, 18 Aug 2022 13:21:57 -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=@redhat.com header.s=mimecast20190719 header.b=gIkfl+iI; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344269AbiHRULn (ORCPT + 99 others); Thu, 18 Aug 2022 16:11:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346052AbiHRUKt (ORCPT ); Thu, 18 Aug 2022 16:10:49 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71E43D87C5 for ; Thu, 18 Aug 2022 13:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660853135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ekfMu/NlgHnoEql9XLmlRVPwjxrh2EoMdj4w3IuDChw=; b=gIkfl+iIskONqH2P9sOLoVhnZDRWp/4eW7oQX4jqBSHTaVgMEXgkhLJo+xewgheH/h+Y6V lrF1SRkrIaO6tOjCbT0Y9nVJWt1rfWbkZQ1peC5p9JvegID9sgy1sImbk5H+bSFlOC8TiQ ro+2als5gfsMmQtJQNQBKkBwdOhp5yU= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-270-TOrKIyNPNBu1nSye5c9T9A-1; Thu, 18 Aug 2022 16:05:34 -0400 X-MC-Unique: TOrKIyNPNBu1nSye5c9T9A-1 Received: by mail-qt1-f198.google.com with SMTP id cj19-20020a05622a259300b003446920ea91so1940939qtb.10 for ; Thu, 18 Aug 2022 13:05:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=ekfMu/NlgHnoEql9XLmlRVPwjxrh2EoMdj4w3IuDChw=; b=j7px0Gr6HRMhzv0/wupfYyQR8++vocEjasR730kL0/5NEyT2xzXDSRJsF1ceD8KCv+ PIJ7y5gkc7F+OwgkYMGhs7P/Wh42rgfGxZpOdHgWRWswM2wHqQAxWK/EUu40FZ9qdXrc fm0Kjs1AurJnwG3EfterUEnPHwq0fTHi616UdFHvPx9jtfgX2qMnM13NaaA2yIdcmIkq vLWuytXBsU2+l0uGB4IfnqHw16Eg2xj+12c5vloQiyhXdeJ6xM7CI5ZZTy1PfnySPRBC o+TJcuEzjcu4Dd80U5p1XdijK7TBtcrjG7lQ1c6jN48E7OWgOHMm6kaQwaTJyrUHFUQm 6AwA== X-Gm-Message-State: ACgBeo3GRFLA60MLiiEY4hMnmFgxFSph9AkzdihO1Rex2QHyS5dGpZaJ fp/q/NhxnSaWrGRzveJKizFCUodCWU037HnN1+Eq4oZlqL4PcFzJ/36b2nf2QJi3RTh3PZHkhUp Im0CYtKdYYAveS//JjZQYYIxZ X-Received: by 2002:a05:6214:20cb:b0:496:ae48:d2e8 with SMTP id 11-20020a05621420cb00b00496ae48d2e8mr3767814qve.113.1660853134093; Thu, 18 Aug 2022 13:05:34 -0700 (PDT) X-Received: by 2002:a05:6214:20cb:b0:496:ae48:d2e8 with SMTP id 11-20020a05621420cb00b00496ae48d2e8mr3767788qve.113.1660853133830; Thu, 18 Aug 2022 13:05:33 -0700 (PDT) Received: from halaneylaptop ([2600:1700:1ff0:d0e0::1e]) by smtp.gmail.com with ESMTPSA id bb27-20020a05622a1b1b00b00342f917444csm1551151qtb.85.2022.08.18.13.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 13:05:33 -0700 (PDT) Date: Thu, 18 Aug 2022 15:05:30 -0500 From: Andrew Halaney To: Lorenzo Pieralisi Cc: Johan Hovold , Brian Masney , Johan Hovold , Bjorn Helgaas , Stanimir Varbanov , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Dmitry Baryshkov , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] PCI: qcom: Sort device-id table Message-ID: <20220818200530.lab2zlcaetekcclq@halaneylaptop> References: <20220714071348.6792-1-johan+linaro@kernel.org> <20220714071348.6792-9-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Hi Lorenzo, On Tue, Aug 16, 2022 at 06:06:21PM +0200, Lorenzo Pieralisi wrote: > On Fri, Jul 15, 2022 at 09:43:36AM +0200, Johan Hovold wrote: > > On Thu, Jul 14, 2022 at 10:27:23AM -0400, Brian Masney wrote: > > > On Thu, Jul 14, 2022 at 09:13:48AM +0200, Johan Hovold wrote: > > > > Sort the device-id table entries alphabetically by compatible string to > > > > make it easier to find entries and add new ones. > > > > > > > > Signed-off-by: Johan Hovold > > > > --- > > > > drivers/pci/controller/dwc/pcie-qcom.c | 12 ++++++------ > > > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > > > > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > > > > index 8dddb72f8647..fea921cca8fa 100644 > > > > --- a/drivers/pci/controller/dwc/pcie-qcom.c > > > > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > > > > @@ -1749,24 +1749,24 @@ static int qcom_pcie_remove(struct platform_device *pdev) > > > > } > > > > > > > > static const struct of_device_id qcom_pcie_match[] = { > > > > + { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 }, > > > > { .compatible = "qcom,pcie-apq8084", .data = &cfg_1_0_0 }, > > > > + { .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 }, > > > > { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 }, > > > > { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 }, > > > > - { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 }, > > > > - { .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 }, > > > > { .compatible = "qcom,pcie-ipq8074", .data = &cfg_2_3_3 }, > > > > { .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 }, > > > > > > qcom,pcie-ipq4019 should be moved up above qcom,pcie-ipq6018. > > > > If we only had some sort of machine that could sort strings for us... ;) > > I'll rely on vim for this from now on. > > > > Perhaps Bjorn H can fix that up when applying unless I'll be sending a > > v3 for some other reason. This series still depends on the MSI rework to > > be applied first. > > I can do it while applying. A link to the lore archive for the MSI > rework please (I don't think it was merged for v6.0) ? I was away for > two months, catching up with threads. I don't see a reply to this, so here I am following up out of interest for getting this in mainline for my x13s laptop to use. It appears the MSI rework[0] (which is in the cover letter here so I know I grabbed the right thing) was applied in 6.0: ahalaney@halaneylaptop ~/git/linux (git)-[remotes/upstream/HEAD] % git log --oneline --abbrev=12 --grep=2436629 v6.0-rc1 -- drivers/pci/controller/dwc/ cd761378e62c PCI: dwc: Handle MSIs routed to multiple GIC interrupts db388348acff PCI: dwc: Convert struct pcie_port.msi_irq to an array 226ec087497a PCI: dwc: Split MSI IRQ parsing/allocation to a separate function 3c62f878a969 PCI: dwc: Correct msi_irq condition in dw_pcie_free_msi() ahalaney@halaneylaptop ~/git/linux (git)-[remotes/upstream/HEAD] % Just a friendly FYI, hope that helps! [0] https://lore.kernel.org/all/20220707134733.2436629-6-dmitry.baryshkov@linaro.org/ Thanks, Andrew > > Thanks, > Lorenzo > > > Thanks for reviewing. > > > > Johan