Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp808595imm; Mon, 21 May 2018 14:54:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrumyF5l3+v1i8G4HIipt4skFWFkFtffQJyWgZPrh4qMPEo1bv+kAAIB95txHTILbn1mKbJ X-Received: by 2002:a17:902:6505:: with SMTP id b5-v6mr22012347plk.147.1526939668928; Mon, 21 May 2018 14:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526939668; cv=none; d=google.com; s=arc-20160816; b=wHDvsw9XrFXNBd9vgnvpD+/55WP9ErXIY4aZr91mDcf0qjQRBBX2HNB1uiF99uMG4v JLBUH0QwFD6OcQ0xlGkycHklSvWKiwth06wMlgAMjNwxNjGF/fWGh5zHHZo7hFVaQE3X STn1xlgl9xQf4IOyi7f/qOJhuxhUoAV4LUOu0SHu19dptZ2othr7+E5hrKXuOVAYWXmi oHxiwqFL4gFs2ux2dPtqyy5JmsO7+hi/RxIwITl4sIAaQqnxVNmTKEhLSnMF4q0FylkJ XeBmmNNQlGoEY0Zg25Kj5oob2Kt72Kkye4nRI1RNk5ukA2oQKscupG4be3cxWBn5mhy2 +TVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=7kicGUe8a8IZBzxh50FmleRzIFCJkbAOYWB8KSd4hE4=; b=SBCg5HCykkwK78agHTuZuFqnxoMk9wM1zQ796U8yjVPlLZ4uznojq6a3RaM0tmDoBI +QXCLi2vOquTQxGU6lOkhtD7bxfKO6xsR2xDnzid6/rTkjwKrCoSGr1W2tHBRFDLnf3h 0s0Ecyc7FFfIDWMnuwpSiHrqtKgDLx8XD8t9UsgY0UDVaPvlYBr2vrBpxDwcURexTFTl 3NuMDZS7zfvsKp7MjyVzBWi0+5mr71XE7enHfp/bVhEqLYoKDcdPUKLMqf4cXNrTc7Nf H2pr2kJZccei5Tf8WBzdwiBAKorCKsjYVOW07vUOkD+3QthJu0pSK4BcS+xtj6Q7ZUuA ih6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s/0ydgIq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7-v6si11993275pgc.320.2018.05.21.14.54.14; Mon, 21 May 2018 14:54:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s/0ydgIq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754237AbeEUVWd (ORCPT + 99 others); Mon, 21 May 2018 17:22:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:37330 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753999AbeEUVW1 (ORCPT ); Mon, 21 May 2018 17:22:27 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EEF1520853; Mon, 21 May 2018 21:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526937746; bh=NtEBZ6tTT7v9siIrAgj0Tkxmb9RkiqoCeT2kn1wH880=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s/0ydgIqWw/WGM8UOur2RZN+Owvu3QoTpxzTZEIbZtPCUZ3U3k5gIJ4po1jfpQ4KY NLHnC5Icv+2JpzYUs720yadBBMhsgk118SHQHEMRNTgr5DZj8h64ErN21CH1WJtRu5 E0RLZQIp4SMPTMRnUEU520NNA7LCn02lO+j7taQs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andy Shevchenko , Mark Brown Subject: [PATCH 4.16 011/110] spi: pxa2xx: Allow 64-bit DMA Date: Mon, 21 May 2018 23:11:08 +0200 Message-Id: <20180521210504.944381892@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180521210503.823249477@linuxfoundation.org> References: <20180521210503.823249477@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andy Shevchenko commit efc4a13724b852ddaa3358402a8dec024ffbcb17 upstream. Currently the 32-bit device address only is supported for DMA. However, starting from Intel Sunrisepoint PCH the DMA address of the device FIFO can be 64-bit. Change the respective variable to be compatible with DMA engine expectations, i.e. to phys_addr_t. Fixes: 34cadd9c1bcb ("spi: pxa2xx: Add support for Intel Sunrisepoint") Signed-off-by: Andy Shevchenko Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/spi/spi-pxa2xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -38,7 +38,7 @@ struct driver_data { /* SSP register addresses */ void __iomem *ioaddr; - u32 ssdr_physical; + phys_addr_t ssdr_physical; /* SSP masks*/ u32 dma_cr1;