From patchwork Sat Jun 17 00:07:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9793857 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 F35936038E for ; Sat, 17 Jun 2017 00:08:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E677E285EF for ; Sat, 17 Jun 2017 00:08:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB18C28683; Sat, 17 Jun 2017 00:08:58 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 69E19285EF for ; Sat, 17 Jun 2017 00:08:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lDXhUTfsX39wrOOd02rLq5ZZu2ReSdRqus75+5+Oq98=; b=WBdD2fQabwb/UjnnOP8QpcMAil 1IamU20R9PV3zcmAsnnOIszUZu3rY8rpm56GnDUN6MJ6OppAeQYINmdu16Ror9Stk0ucePm4Vtpfg Xnar/w8sJVrW0JxgCJN2zKLLT3k9I/yrc/oSk3iYnmPCJlTsVxlZtM7+D4Jgp+ZFMMsttageNVUcI iilDwpdD3PBBj8Mrs0+ICHDxn5bXIpGz9qA3VLWE/cxPDuqTFKrJvjem84jmbLHsCXmMtVq2PzRbT iCUzmh3IwHak+CMGBTsnCp0xfvhYp/OZXRpGBbnK55ucnrPeX65rbX4N1xa2GLniXf6AYvHWMSzM4 Zads7BLQ==; 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 1dM1IO-0000BD-FP; Sat, 17 Jun 2017 00:08:56 +0000 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dM1Hl-0007lw-UA for linux-arm-kernel@lists.infradead.org; Sat, 17 Jun 2017 00:08:19 +0000 Received: by mail-qk0-x244.google.com with SMTP id d14so527305qkb.1 for ; Fri, 16 Jun 2017 17:07:59 -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=VwaiPAxtnPPm6GMFF55pJOFct4ZbRLOro8rhHBRCbPETFKk30HyeLjwWWO0Enm1AEa o9FEMLD5z1TUVTPlsGetyaFCSRHDHX7j2jwmmOXl1iRyIogYs3p4Vo6/wiNL0Fh+dyeN v+U+sQQniYz+8/CJquBWGcuS/gFEW9kAj8Wk8FjqplXFIJkQVxT8haLwkvtzouzbq79+ 2BljMVg+mgiQ3n92tJUZMPeskt8Y8D6AhEM8NY9RLqQzxdARXTbcDq9DMJ2BGdnxfNFQ u/n0hKD2y+l19jWGSKUps9p9cq1k1W0wz954FalCUXhTNmtnwWv7YXFZcflmqf12jvsa QA9w== 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=EJRlEtgNYgDnerpeazDTsJ4xCoreaW5+PIdYTha3WFq8SvpDA1hKzfgIewXacSTBnp 1bWTpe6S2UccPf7sS0SKZmosw/+Y1mcrw/O9FX47Zh3lQpNmihu9c1BmXyyp9+UwYn3O IYW8t9XClblAQZyvkEyZcD5XVIf+LPnhUfQdeeC7OU4Kn1Rh4iTR4yQ5g/ZCvcnXs+22 k1N/gp3HsN3GMjmlM6PUkOSobVQPa9sSmJoq7CtOalmrHvYekgz9NOCSmlJYR9/5Qfb7 URlabhXnk8hY9xOlmgsEg7PoaXQ5b62vfcKxobLt1iMIi7KMrLhjz/grAddRPkIRXma8 PbjQ== X-Gm-Message-State: AKS2vOwv9PksWInd57A53pTukqHK8xiS9+gJEISZsC/ErblgHFeAa0z9 rkITQwzLYAkQP4kO0a4= X-Received: by 10.55.20.95 with SMTP id e92mr13633264qkh.74.1497658078458; Fri, 16 Jun 2017 17:07:58 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id 7sm2386188qkm.60.2017.06.16.17.07.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 17:07:57 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 4/4] misc: sram: Allow ARM64 to select SRAM_EXEC Date: Fri, 16 Jun 2017 17:07:44 -0700 Message-Id: <20170617000744.22158-5-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170617000744.22158-1-f.fainelli@gmail.com> References: <20170617000744.22158-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170616_170818_101562_77B261A0 X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:GENERIC INCLUDE/ASM HEADER FILES" , Florian Fainelli , Arnd Bergmann , Dave Gerlach , Tony Lindgren , Catalin Marinas , Will Deacon , Russell King , open list , bcm-kernel-feedback-list@broadcom.com, Greg Kroah-Hartman , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo , Keerthy J MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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