From patchwork Fri Aug 12 00:03:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William McVicker X-Patchwork-Id: 12941821 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67290C25B06 for ; Fri, 12 Aug 2022 00:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234432AbiHLADm (ORCPT ); Thu, 11 Aug 2022 20:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231609AbiHLADl (ORCPT ); Thu, 11 Aug 2022 20:03:41 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86FE49E2DF for ; Thu, 11 Aug 2022 17:03:39 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id m5-20020a170902f64500b0016d313f3ce7so12285641plg.23 for ; Thu, 11 Aug 2022 17:03:39 -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=NjDM8JLM74YS1NI+sefOO7qbdLfxup7nyPkDPlwTFEQ=; b=gwNOp7+iOFiJp8c6mY0PEoMT01QxrdtE2gYNKN5/hXlz0gW40jYcKCcC8slvXX7umA WHuDF4+3W7sNbldeGy8EOBg+lURhF6STgh/ELrwPy6Poa4M9RDWJiTFzCwWnm+YA21WE KPoTR9eAgfCOA6mxttFAqgb9fVHcVgpMNrExmVJQBf8YNLxRyECvnx1gzC86Y12LqZnl wa502iNJHE5YOIzTglS96NVWXdnWvUXBET64nWSX7/g1xGgU7chBO8cxJwb9OKmulokK 54zfLbM1XbbO2w1znzsC+SK/22OAjQAyGGjdeXeoKB6J0nT5ySl2BXXs80+Cel2WL/ok 5l7A== 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=NjDM8JLM74YS1NI+sefOO7qbdLfxup7nyPkDPlwTFEQ=; b=k/5Z3xT6L+RJ3EeXIGGTokppnZlTvv4D91hj4TpDMtBrUbtwaakg/h4qherF6lPmM1 uM4Deg57rIJ1T8OKERhcEQs1AHpghqV1JMb7wsXNevpPswEbBkDrcSXqrXW4AoIItSfS CNA9Lwgd0ZH2gbtPo2/5a1ZWE2TlbANv3nUDTWefVAg5qv0vpwUdkFTy+EzGmckrTl+2 hhGBHSxbOdvhXL5oUPcyZgwEcnTfiU7CAzQqJA3zCX8SPoVurt9k00MoRhNRnxSQymb5 JqSN7tecBHD4vYe3dy/0Jws4xaJNUeVuH8NpL4IUUVHL+l2o9Wcs8VP2PucP2OQpm/60 tThg== X-Gm-Message-State: ACgBeo2baYa74PCD7e8VYpNnoDU27e/8K9vQ8ddYVXkaHAFFK/RtVFzB aXzKhsgbJhX/RLAfs/iwtXLymYpWsorXj1V3qcc= X-Google-Smtp-Source: AA6agR44n5f5uOUpCBLHPQ2Ufh5YI3Q4OSyRaNmFb4BMKpLrDG+6+Kxx8nX+TwPpiA0tZPJumjiQ1Mj/Bq0sUoLVnxU= X-Received: from wmcvicker.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5ebe]) (user=willmcvicker job=sendgmr) by 2002:a17:902:d584:b0:170:8ebf:2048 with SMTP id k4-20020a170902d58400b001708ebf2048mr1590630plh.113.1660262619041; Thu, 11 Aug 2022 17:03:39 -0700 (PDT) Date: Fri, 12 Aug 2022 00:03:24 +0000 Message-Id: <20220812000327.3154251-1-willmcvicker@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.37.1.559.g78731f0fdb-goog Subject: [PATCH v4 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_Wilczy=C5=84ski?= " , Bjorn Helgaas , Will McVicker Cc: kernel-team@android.com, Vidya Sagar , Christoph Hellwig , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hi All, I've updated the series to address the review comments. Refer to the v4 history below for the changes. Please take a look and thanks again for the reviews! Regards, Will Will McVicker (2): PCI: dwc: Drop dependency on ZONE_DMA32 PCI: dwc: Add support for 64-bit MSI target address v4: * Updated commit descriptions. * Renamed msi_64b -> msi_64bit. * Dropped msi_64bit ternary use. * Dropped export of dw_pcie_msi_capabilities. v3: * Switched to a managed DMA allocation. * Simplified the DMA allocation cleanup. * Dropped msi_page from struct dw_pcie_rp. * Allocating a u64 instead of a full page. v2: * Fixed build error caught by kernel test robot * Fixed error handling reported by Isaac Manjarres .../pci/controller/dwc/pcie-designware-host.c | 42 +++++++++---------- drivers/pci/controller/dwc/pcie-designware.c | 8 ++++ drivers/pci/controller/dwc/pcie-designware.h | 2 +- 3 files changed, 28 insertions(+), 24 deletions(-) base-commit: 2ae08b36c06ea8df73a79f6b80ff7964e006e9e3