Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp507997rwb; Wed, 10 Aug 2022 11:55:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6zQMphGqsMwJV7dwE7RMbUKwY6wO/Xe11X1wb1FKTRQQDVRU9AOiZfmBNR2aQ+DKdpocOn X-Received: by 2002:a17:902:6905:b0:170:f6f6:eaf9 with SMTP id j5-20020a170902690500b00170f6f6eaf9mr9204545plk.150.1660157706464; Wed, 10 Aug 2022 11:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660157706; cv=none; d=google.com; s=arc-20160816; b=t1aCwHTJ6Xlh30Lc0f/dS8xdvJq/dZMsKz4wHRbp88qeIizs7FncFWqdhdjdRV6Ix3 T9X03H+mXB6mDaqknfp69usiW5rQs8Soa2s7QVYuZPscJc5/GBOa/rwrMENOfBihOzpc wy6fKDdYgffW67hmI1yAYofinRiazbQFVBOh2qYSxeiW6N1GVVZyWeESqy7GsCM2woA6 JUWPm82DnGbH3dF9MaEFw6oK3l9846vx3NGhNZQ9vKkI45FiI09bmZuAkjNAGvTXg06C EWSAkAIdpg92ufbcZvtsAgof7U+dG0LvHUWoQfPVMM4pLCzTudMJvqGpW3/br4huznZA QFQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=305tiOe9oqfqfsuvDZRVuWRx0yktJC9yjMeTcbY7cTg=; b=W9Tsdmd43l1h/k0ZmDBDkB0WepEDGmbG2NVEAZNTy7aq06oBoaJze+VUIBSS/XBDdN /4ycr0Eo5gCsdCHihMKqIsB6tsm6hEo7wXylj8dMgef/VF+ryR+xoed1gx1Z0Yon6JU7 GawT4oq+Y3pNPacJ/JXwaOi88hjOigZGnuwbYg9nbfWUiqs9kQPRmaAdJ4YY/oXLfrAn 4MhAwwST/qhKlllomf0fCWq1g/onBPMsPfLraG2bOZK9l3GWkjvjcPF6vB9nvbcICXoY /Bke6dO72BYmlQTwwvmUZc4oStLic6i18zc7zFVCFsgMavcGFUaUrnYzNhgBnmbWSGVv Cl/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rGd0cdEi; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a630c45000000b0041dff983839si1279267pgm.453.2022.08.10.11.54.32; Wed, 10 Aug 2022 11:55:06 -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=@google.com header.s=20210112 header.b=rGd0cdEi; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233140AbiHJSgB (ORCPT + 99 others); Wed, 10 Aug 2022 14:36:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233512AbiHJSfr (ORCPT ); Wed, 10 Aug 2022 14:35:47 -0400 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C6BC4A81E for ; Wed, 10 Aug 2022 11:35:46 -0700 (PDT) Received: by mail-pj1-x1049.google.com with SMTP id r14-20020a17090a1bce00b001f53b234980so7732851pjr.5 for ; Wed, 10 Aug 2022 11:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc; bh=305tiOe9oqfqfsuvDZRVuWRx0yktJC9yjMeTcbY7cTg=; b=rGd0cdEiDw0KumHSf9F3anHak5lXZZZ8eX+Hg9h1s3Z40zfYDS8FJmqJsz283SHp/P 3ava8NgnRz18ADKbGPa2joMOIjVsi2HSpSrgOuNAbbMwiWRtrspRTGWoxlyDmsWatJo0 dEV0DmaFTlWK+HeEzxIIIjWKQPVOFEZ0l1evJPrICGLNy0wpYmQFeNwmPlKccUHhKqlV QaqbWjPgpLtHtHPpr5Gd16V+KMoktpgIjeT97kX51u8V8jSFrR48CmsrzkBzXdTnlc7z 3urzQYGBNfjeiKUtWEGC6YtSkyLizXm85o2UfJGHQv9jFAi/ux3Yun8+QEdgQMQWVvdB Ae5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc; bh=305tiOe9oqfqfsuvDZRVuWRx0yktJC9yjMeTcbY7cTg=; b=DCi+Xw45Ym9OkSjrU/Z1HDkooePPwPNxDJ6R02JK5JoLAzxawT1LOadMGDVlgY7Wcg FbRwO19X4u8zMaAP7a5vC1u7mYzF2jlOIFb6wLRk4wesacFyWlAGAMVVQUcGTjnBAZlv UKsR5ofvw5KHI9ViMxYQipc7FBk2yzWrp4eGiZPJ5eT3rQ9JHUI99s55u55IDWxLcSkQ Jc301l954Y8/qZ4d/MT8AbGtjQGr0Sv4VE5WZPdc7KL+xShAIt/rbA8z98n6Jb4YC2ve HAfJLKdk3Pvp8S6v7CRBJ5HoKvmYDfEkcQgT7oqVgqphlB5pDiesIxK51gIBSZnIqvqS LDKg== X-Gm-Message-State: ACgBeo1LweqCL3tdXyWihWP/I2pMA8iUargoZQ9CX+D48+YubTXIPh0J HbaSvdbKtF/gsRHiObTb9CkyKdpAuzHn9uQ18Iw= X-Received: from wmcvicker.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5ebe]) (user=willmcvicker job=sendgmr) by 2002:a05:6a00:c96:b0:52e:979c:dd63 with SMTP id a22-20020a056a000c9600b0052e979cdd63mr28027369pfv.50.1660156545911; Wed, 10 Aug 2022 11:35:45 -0700 (PDT) Date: Wed, 10 Aug 2022 18:35:33 +0000 Message-Id: <20220810183536.1630940-1-willmcvicker@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.1.559.g78731f0fdb-goog Subject: [PATCH v2 0/2] PCI: dwc: Add support for 64-bit MSI target addresses From: Will McVicker To: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Rob Herring , "=?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?=" , Bjorn Helgaas , Will McVicker Cc: kernel-team@android.com, Vidya Sagar , kernel test robot , "Isaac J . Manjarres" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL 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 Hi All, I have updated the patch series based on the build error reported by the kernel test robot which found an issues with the new inline function when PCIE_DW_HOST isn't set. Additionally, I have updated the DMA alloc error handling for the first patch which was reported to me directly by Isaac Manjarres. Basically, we don't need to check for a DMA mapping error since dma_alloc_coherent() will free the memory when a mapping error occurs. Please take a look and let me know if you have any questions or concerns. Thanks, Will Reported-by: kernel test robot Reported-by: Isaac J. Manjarres Will McVicker (2): PCI: dwc: drop dependency on ZONE_DMA32 PCI: dwc: add support for 64-bit MSI target address v2: * Fixed build error caught by kernel test robot * Fixed error handling reported by Isaac Manjarres .../pci/controller/dwc/pcie-designware-host.c | 37 +++++++++++-------- drivers/pci/controller/dwc/pcie-designware.c | 9 +++++ drivers/pci/controller/dwc/pcie-designware.h | 1 + 3 files changed, 31 insertions(+), 16 deletions(-) base-commit: d4252071b97d2027d246f6a82cbee4d52f618b47 -- 2.37.1.559.g78731f0fdb-goog