Message ID | 922851d0-a847-762a-5067-88c92d416d58@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1730105qgi; Tue, 24 Jan 2017 06:09:51 -0800 (PST) X-Received: by 10.28.221.11 with SMTP id u11mr17294495wmg.75.1485266991344; Tue, 24 Jan 2017 06:09:51 -0800 (PST) Return-Path: <linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id b9si22998941wrc.48.2017.01.24.06.09.51 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 06:09:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cW1nA-0005ho-Mg; Tue, 24 Jan 2017 14:09:48 +0000 Received: from mail-wm0-f47.google.com ([74.125.82.47]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cW1mh-0005eE-CH for linux-arm-kernel@lists.infradead.org; Tue, 24 Jan 2017 14:09:24 +0000 Received: by mail-wm0-f47.google.com with SMTP id c206so211233804wme.0 for <linux-arm-kernel@lists.infradead.org>; Tue, 24 Jan 2017 06:08:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=Tx75uVq4gJ7pKERdFoIkKmjp0dUwFf8znPr0TBD3FTI=; b=iUH1CosQ+2IVU+7g+fMtLUZx1nFfmocCxqU4h5J3TVEbiBB3AeQIu8Gsjc2uedvpZz 9w06j4ZCnQ5G6gGe9XB+yyi3r3SKgaFjoOO8vvnYzyko7kgHn3XSqPiwP3FpmChXryIg SmbrtfHNWI9V3ZrishzeM5Xvypk3v+CKQFvXo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=Tx75uVq4gJ7pKERdFoIkKmjp0dUwFf8znPr0TBD3FTI=; b=uJnFga4Y00gszCDAmOH5LKmb22c7OpoxUdrgUVYjW6lQwQpsiKw5YHO1mVjSDNFTAs rMXZyqHDj7PyGBLqaPXJukHhuzq81diKuj8QokhXqDYPcYui3/CvFU7j5dMEr3S9VNLv A4y2H50KHFflw3RZ9K/IUOP/SoxabmhrtWsjqU1fGDbtqiSg2Iow3PyPOn+hHbxVmXii rkyxgZptOZZCAYDkjLxDa2xz1HnNz3ecHSDWqz6oZ2Mpc3FUQZFwdJlWZ/rBd6sVO+5R pBblEaPDqq6eN2t+xk9v0N4d5AChLwVP32gwFmUold6kxxMVsAluE8ASj5dHjAYo/wuL Ue0w== X-Gm-Message-State: AIkVDXIh5wEgq58O01HoL326NVqdbZ6X6h2YNRKgwblQvUpHKKzll97vUPOLxZ6YT841o6Ja X-Received: by 10.28.46.74 with SMTP id u71mr17041918wmu.136.1485266877686; Tue, 24 Jan 2017 06:07:57 -0800 (PST) Received: from [192.168.1.180] (host-2-98-105-38.as13285.net. [2.98.105.38]) by smtp.googlemail.com with ESMTPSA id s26sm20091576wra.26.2017.01.24.06.07.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 06:07:57 -0800 (PST) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: pcie-designware: Incorrect programming of msi address register on some setups. To: Jingoo Han <jingoohan1@gmail.com>, Joao Pinto <Joao.Pinto@synopsys.com>, Bjorn Helgaas <bhelgaas@google.com> Message-ID: <922851d0-a847-762a-5067-88c92d416d58@linaro.org> Date: Tue, 24 Jan 2017 14:07:56 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170124_060919_588272_03835E43 X-CRM114-Status: GOOD ( 15.45 ) X-Spam-Score: -1.5 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [74.125.82.47 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.47 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.47 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-pci@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Arnd Bergmann <arnd@arndb.de>, Bjorn Andersson <bjorn.andersson@linaro.org> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org |
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 4a81b72..d694e66 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c @@ -286,9 +286,8 @@ void dw_pcie_msi_init(struct pcie_port *pp) { u64 msi_target; - pp->msi_data = __get_free_pages(GFP_KERNEL, 0); + pp->msi_data = __get_free_pages(GFP_KERNEL | GFP_DMA, 0); msi_target = virt_to_phys((void *)pp->msi_data); /* program the msi_data */ dw_pcie_wr_own_conf(pp, PCIE_MSI_ADDR_LO, 4, (u32)(msi_target & 0xffffffff));