Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3524542imu; Mon, 7 Jan 2019 05:05:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/UoUK8hPD0LNEeswCC3xu8/Hzexw2+CX23nlNaJ89yhC2hnHpt2PtHepTPAFm8bvmWsPlO+ X-Received: by 2002:a62:81c1:: with SMTP id t184mr64434962pfd.40.1546866303998; Mon, 07 Jan 2019 05:05:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546866303; cv=none; d=google.com; s=arc-20160816; b=VIZlk9XhGRbYwBOZNP5vPylFdtGVWLYOAJOCXgS4LDPxQSx+HHsXfERe4o9bntfv4q YsIWuSfKs0ENVZblAVr7fQJ2SVaCVX737YBqzFPB5auZ0KO5uDlTCIH2W/PVUOYSwFa3 zpA7wmYtKArBgJTrrzIlV3NZHo5KpYKdTc8HSRWVYkuLrtHWG/J3Wez7wZdcFEjtQdhp rUhVhLzRmsmHM0GHYUjp5vhg0TRA1ReMwP3qrFISTpG4Vg498t+VzjU/slE6Rus2OTht juKo59dFe/MJEDBVhpqJbVml3EH/i/PhDYJtNnidxuGRFVyo/q1H5en+YM8YsDMGRAdt aLzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RfNw25E2iVP/GCW6bOVZhGxCSmazJXkOwG7WPPIZ8wA=; b=i5R3UfQjIpHpRnRo51ZyxDREAxAk+/Yz/vzayrXbZZAK2aSxNG4drCC8oY6HDg+buA EPd5soQs7XOB8l/NZ5OqFVMdxZju0ncg2o4hp42DkL/A4hqGSFvIFc2t4eEwDu5EuCPl voFnzPVmwaGwcJ5yoj31yiTc+FA28cUFgtbQkeQeujZKs9Y2mHA6piS4zk2Jgq5giHCc y7iK3bXZ2752hY5fmFcXaH+cRSchVVeBKX0BaWrd94sdKtuEP6hO9GtL74sdH4QyxJiW moljWakLfaaG0QhDCI8HPil+aLdE7yGnITyTcVm7+IQwnwwYG278eE4FhTrHTqfQeIQW 6PWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gAAqg9g/"; 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 c139si358970pfb.281.2019.01.07.05.04.48; Mon, 07 Jan 2019 05:05:03 -0800 (PST) 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="gAAqg9g/"; 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 S1730896AbfAGNC5 (ORCPT + 99 others); Mon, 7 Jan 2019 08:02:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:50364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730882AbfAGNCw (ORCPT ); Mon, 7 Jan 2019 08:02:52 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 67D3A206BB; Mon, 7 Jan 2019 13:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546866171; bh=P+JfLNXWnwRM8LBNQZkL4TsYJZ2wkpBMsiSjkPjTetw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gAAqg9g/0LohoWMKpT0NxKug/lVHspKO5FUTAxDuXnJFr8D1y5kxZ0e7hprz6yrsk QRhfaTqNLZeYRl8lYjUa5feS5cpKD047l8eEXibwCGB51rMM3YlaHdFVC6lAtQLUS3 ig9QB/l+CDk7ODFGEIcw0SrGAVbrNkoW88GySChk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Boris Brezillon , Mark Brown Subject: [PATCH 4.14 042/101] mtd: atmel-quadspi: disallow building on ebsa110 Date: Mon, 7 Jan 2019 13:32:30 +0100 Message-Id: <20190107105335.210358914@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190107105330.372621917@linuxfoundation.org> References: <20190107105330.372621917@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 2a9d92fb3a1282a4659f1bb6d5684018846537b7 upstream. I ran into a link-time error with the atmel-quadspi driver on the EBSA110 platform: drivers/mtd/built-in.o: In function `atmel_qspi_run_command': :(.text+0x1ee3c): undefined reference to `_memcpy_toio' :(.text+0x1ee48): undefined reference to `_memcpy_fromio' The problem is that _memcpy_toio/_memcpy_fromio are not available on that platform, and we have to prevent building the driver there. In case we want to backport this to older kernels: between linux-4.8 and linux-4.20, the Kconfig entry was in drivers/mtd/spi-nor/Kconfig but had the same problem. Link: https://lore.kernel.org/patchwork/patch/812860/ Fixes: 161aaab8a067 ("mtd: atmel-quadspi: add driver for Atmel QSPI controller") Signed-off-by: Arnd Bergmann Reviewed-by: Boris Brezillon Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/mtd/spi-nor/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -41,7 +41,7 @@ config SPI_ASPEED_SMC config SPI_ATMEL_QUADSPI tristate "Atmel Quad SPI Controller" - depends on ARCH_AT91 || (ARM && COMPILE_TEST) + depends on ARCH_AT91 || (ARM && COMPILE_TEST && !ARCH_EBSA110) depends on OF && HAS_IOMEM help This enables support for the Quad SPI controller in master mode.