From patchwork Thu Jun 8 09:55:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 103357 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2356624qgd; Thu, 8 Jun 2017 02:55:43 -0700 (PDT) X-Received: by 10.99.113.20 with SMTP id m20mr4397950pgc.188.1496915743761; Thu, 08 Jun 2017 02:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496915743; cv=none; d=google.com; s=arc-20160816; b=IfdWrPQle3yscLIACzur4lDvBE/qzrDQzR4k6zhhCcrsDtTBMNhnlAkUFKP/DROf3u SeN7cheBEJoWQLk9bgky4nj3ODPgeDlQ0eeih7dnhy8Z/7usEeXAjLo4lZjoownFvNfO aDHTVg00GY9MKAIHB9+gTSHIbH2/MXAnS80CGNQrdHk/4T10UYHa2UX5pc3z56JfF9x0 EToKLZQu50C+V4T3s6depSQrz5mgFJxssjBzamW8YmB0O04LVTqNKvQC3MD4jrTKP+UZ hc4N0zmwQt86JVpxuR9/YZt+3JWfGdx3tHrAXn+cW5d7ljA5IC3bXIOAhRyeidoFGzC6 wFFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=hM+FHFdldc42cDWTs9elb5iRWbB8DxDgsqK/yh3vc80EeM05bTzAWW12Dk54c9LL75 +54+vKFPgX/rO/ROsVveKwMCa/fLxopqXPMx8CqO4//tN3xCL6Zlf2f0MSjSGDNFI+Yt kA4oWU+5cw0hUOuzYLU6JOpYVaNq5GCJSLXpqDjHz+U0ohFvFQSeiKK2+Wcq70rUCQDG WMH+DCWgXrhDuUTuRnMYbQzcn0Jb9vYTDieUFxFB6j+Ejak+2W9469kE5LBYMhcoV5PB HxA3wUaHzgpzL+Sh7GbPL8RpcS2uwZ5Q7y6NMEcuE0TxIFoSScxRDviRx+aBCCGKAEoM OebA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si4024141pfg.24.2017.06.08.02.55.43; Thu, 08 Jun 2017 02:55:43 -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=@linaro.org; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbdFHJz2 (ORCPT + 25 others); Thu, 8 Jun 2017 05:55:28 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:36719 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbdFHJz0 (ORCPT ); Thu, 8 Jun 2017 05:55:26 -0400 Received: by mail-pf0-f174.google.com with SMTP id x63so15459609pff.3 for ; Thu, 08 Jun 2017 02:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=WSFIUb6358hO6Byh82M5SEyqmY9G9Sov3xQz2rCAajqGmSeXo3gyepSmhsuUnyMowk cHpEIk4Vbet/DBHXvHWucSiAEE8tQPmBCRqHItBkw3T6PWeQBnsN2c8PvpGKtwRU1khZ Al1OE00u92t8yp6vPZZ/seTTPPibWW5EmdRGc= 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=aTsbPIc0mOPjUofWaezEOb/K2RARg9IzDhUCxvGqW90=; b=qOf7JPHveL7Dt5ZVNOTv1TERGbYG9LffRmZfR5AGaiNy+2EqFQduTg3y6CKwnOWHma xsj4UxLsxL98GImQdtFy/RmeHmkT+efkBkfXoE4JAzH5VmZVSvrCEXXyH9auRM/KcTfX eJuOat2KrUbL2YtlZXG4Url78O3WKKFq8g1QoGQX032yuL/rLgKlgSDoG0b4SaR8sQSA oQJnRxktanqhQHLLt4inoSd07q3lBqUac7fczz8pb48x7AhGYBF0wvOyhosYLKbT+//6 CiUbc5ZpCU7plm2UPUe5PUpdB9NRjm3TDAh0Y0B9hv+KSUs6GBDj2h8bRVU/Ybfw2/cX Y/ww== X-Gm-Message-State: AODbwcAxYeQ5KlVJql/dGQOBp9uoK2x0MOwv7lBp7zwZYX//SzpzxWj1 5S8iQq57LsHD11Mo X-Received: by 10.98.150.12 with SMTP id c12mr35787037pfe.201.1496915725384; Thu, 08 Jun 2017 02:55:25 -0700 (PDT) Received: from localhost.localdomain ([106.51.140.154]) by smtp.gmail.com with ESMTPSA id 6sm8880969pfh.57.2017.06.08.02.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 02:55:24 -0700 (PDT) From: Amit Pundir To: Andrew Morton , Rob Herring , Greg KH Cc: lkml , Android Kernel Team , Sami Tolvanen Subject: [PATCH 2/9] config: android-recommended: enable CONFIG_ARM64_SW_TTBR0_PAN Date: Thu, 8 Jun 2017 15:25:05 +0530 Message-Id: <1496915712-14176-3-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> References: <1496915712-14176-1-git-send-email-amit.pundir@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sami Tolvanen Enable PAN emulation using TTBR0_EL1 switching. Reviewed-at: https://android-review.googlesource.com/#/c/325997/ Signed-off-by: Sami Tolvanen [AmitP: cherry-picked this change from Android common kernel and updated the commit message] Signed-off-by: Amit Pundir --- kernel/configs/android-recommended.config | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/configs/android-recommended.config b/kernel/configs/android-recommended.config index a86faa41bfd2..a02c447769f7 100644 --- a/kernel/configs/android-recommended.config +++ b/kernel/configs/android-recommended.config @@ -6,6 +6,7 @@ # CONFIG_NF_CONNTRACK_SIP is not set # CONFIG_PM_WAKELOCKS_GC is not set # CONFIG_VT is not set +CONFIG_ARM64_SW_TTBR0_PAN=y CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_BLK_DEV_DM=y CONFIG_BLK_DEV_LOOP=y