From patchwork Thu Jun 15 23:21:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9790379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADBA3602CB for ; Thu, 15 Jun 2017 23:21:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A062E284DC for ; Thu, 15 Jun 2017 23:21:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9507F28567; Thu, 15 Jun 2017 23:21:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96B1A284DC for ; Thu, 15 Jun 2017 23:21:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752571AbdFOXVl (ORCPT ); Thu, 15 Jun 2017 19:21:41 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35279 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752071AbdFOXVi (ORCPT ); Thu, 15 Jun 2017 19:21:38 -0400 Received: by mail-wr0-f195.google.com with SMTP id z45so4966237wrb.2; Thu, 15 Jun 2017 16:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PgAVpv7u8U9ZFVNTmYOtT8EeMX8ba593qOqZf3qxjTk=; b=GYtkzHZQ8aiqeNFWkrCTwIi26bONL7FBKs79yAGKyogr1EuAk8L9WPAJnWul/nRPVl +vzbICuvcWCEuXV7ebJ4Cir3uLw2oKQu71aYVCpknv1+GhSpTTPaB4peVpA93qX1peYC OYNe90KvUiIiuuhcFwx6Ov2W8VPjMs3Gb0sTIcqGwsr/M4CgCfAbMIrBnA7Fm39ImZkk C0yPuG+LwFP7oAiinuh+iHes5DJg5sU+b9IPWY0sSO0b3fRdBaDpEBpZvnRhKQA9VPnw gr8Yi8gi31ldwOThwsyLcfV0md5b3dsAJTzeURDN7HhF2DA73/RZdUh+OHsG/JDo/eGC zHuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PgAVpv7u8U9ZFVNTmYOtT8EeMX8ba593qOqZf3qxjTk=; b=hbvdHG2xVDXOaLzD9QnZ3v8mdF4NQ0nUICYdZRabyUdCX1OX/9MZ636xLEDu0Mv+IB P+kYAHQYhbO3sIZ/6FYpaFO3l7GwB2Vv/5vNV8OWXhYgSXk6jKiu3HkxlHwe2cFy9DX6 /dUNZ9699KlUIChk5MZB9E7qfUPB/wI/brrBHgur9U7ZbhaLG7cRrSE59cDt2x2wHcyA lv+Y0tQJ1S8yWWLRKgWsqWDCS5KHklZyHANuslRUgVxqQrUjVryXpoqIdp8PDUixToQq iKatakHVQXM+h0g9mAj2QpUdDH5AnMR2JjgQAJlSN9ijTh80QZ3kP2s8xeJ8HJqZ9kj+ FrCg== X-Gm-Message-State: AKS2vOwwjKFDDIs4qQFEij2j9zh5KUaYJBrbrIkyLFpmrQFm3y5o6PFE H/L0l3V1E9uQRQ== X-Received: by 10.223.183.20 with SMTP id l20mr5487993wre.154.1497568897193; Thu, 15 Jun 2017 16:21:37 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id b30sm881046wra.42.2017.06.15.16.21.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 16:21:36 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Russell King , Catalin Marinas , Will Deacon , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org (open list), linux-arch@vger.kernel.org (open list:GENERIC INCLUDE/ASM HEADER FILES), Dave Gerlach , Tony Lindgren , Keerthy J , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo Subject: [PATCH 3/3] misc: sram: Allow ARM64 to select SRAM_EXEC Date: Thu, 15 Jun 2017 16:21:17 -0700 Message-Id: <20170615232117.29727-4-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170615232117.29727-1-f.fainelli@gmail.com> References: <20170615232117.29727-1-f.fainelli@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Now that ARM64 also has a fncpy() implementation, allow selection SRAM_EXEC for ARM64 as well. Signed-off-by: Florian Fainelli --- drivers/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 07bbd4cc1852..ac8779278c0c 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -464,7 +464,7 @@ config SRAM bool "Generic on-chip SRAM driver" depends on HAS_IOMEM select GENERIC_ALLOCATOR - select SRAM_EXEC if ARM + select SRAM_EXEC if ARM || ARM64 help This driver allows you to declare a memory region to be managed by the genalloc API. It is supposed to be used for small on-chip SRAM