From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40771C2D0A8 for ; Mon, 28 Sep 2020 13:11:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B04132074A for ; Mon, 28 Sep 2020 13:11:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fez55Acr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dlvbQA7D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B04132074A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=E6rdcoB6YhjKFV9xEk3aFqs9RbkKUGANOPWxgzvUuT0=; b=fez55AcrsnHZX8gcUZfHb0UN8 l2zHYThXI9dOnvTARb3i7R/OVkKg0RxA8WqW5iR8qjUEbNumGL9hSA4IlptkoXZ6lkBb85E4dwsQc TbL2ZF1iSN1UJWeOoZxRof7v4On/TAoUGihDE5vchyoqgvtONt2IdfE0L8s2n+lSCSCl8hZiPJO6E +YXL4k6+Wf8gHVXImmC0UKhJ/KtOTKUpJrBbw2SYbs2UR9Z0bU+VfFKmQ+Dcxw5euDB0xEFZylSAg VujH7rmCmWiDAKT6B2VVkT1eDvfUH0l629uVWvTpRImg/+gc6WyyfaM9GX+7Qcqmv4DyIaya9rnYa QRwWDHAdw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMsum-0002sh-Vd; Mon, 28 Sep 2020 13:10:01 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMsuf-0002sH-Ht for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2020 13:09:57 +0000 Received: by mail-pf1-x444.google.com with SMTP id k8so1006370pfk.2 for ; Mon, 28 Sep 2020 06:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oZ7uGuIxI8XQSTko5HlmUyjyKLHBEEwz04T4OXPUyUg=; b=dlvbQA7DKkj+2wJ61fgbIblh6XQnmFvZ/jSBUJzRDrKpAf5q3AGp6I/pZBg49V4MKr KMDg3XPgak2V7K+8i0kBlufhBD0IW2CQAUL2L1uKwOhBpgbOViBdDdmrrSY0u7kAtGH+ +sLnULymEK7/JeAmxAbpGk2LbHeU+uRlJa9iY6HTMEPGWeCHIhC5xbBb8fExEG5fZNs0 sPmXBG6FmxYLVi/JEUSGUAb8N2B2OY5O4HmzTwV1YFZ58xNETPoCXlkVM4rlbbXbQnzb CEgUSCo65l54FEJlyjvhFWcTja0iBXa/6cCGrwxSGNZv1S/s48NFPvjIobUsY1hvOoK/ 1zrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oZ7uGuIxI8XQSTko5HlmUyjyKLHBEEwz04T4OXPUyUg=; b=jVSFmnpHuooGrQ6FubuSdwKkJs5M+NgGyQLKEMeDavViWrYrLI26YcoaZS8WyoRUmr D0/qvPoEfTz8MurfLLNY/77Vl9FLQYI/5WYjLitmjcbtwZBvwTxhWucwMMlG6+9I9eNJ hE5r3DssICLXYAl3pLqpYOIIiFd03GvhzK16dSjFSTeS0UPa0KPsxyYVnDa7tZQ4zvVQ 6TYdpfESPDvyTKIatrBM1PqGFksp987dm15cPzPTJ3OZD8FQC70HoEb1xXO8uja++SBU HJ6x2BHomiVZnDGkwnvYgX1lFbwEyyGnOMXgC1max5Rn6jRTcXRnjgFaZx40F5G+FPkO 0RQQ== X-Gm-Message-State: AOAM531+hg+ebBJ5wvqO6KiI9Bf/GOCyYjkXLBaWfsazT+8tdASpqcJV YK8FYKX7x4YhkSU9DoROLBA= X-Google-Smtp-Source: ABdhPJxKwhdKNjPO/4nAMc1cZiG7pKbCU3gGnqAl1FG5qSJfVK01ahRGc8vP0v9BlCOu5O3dsmnFPw== X-Received: by 2002:a17:902:8341:b029:d2:29fc:c400 with SMTP id z1-20020a1709028341b02900d229fcc400mr1619902pln.5.1601298590018; Mon, 28 Sep 2020 06:09:50 -0700 (PDT) Received: from lenovo ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id m14sm1545591pfo.202.2020.09.28.06.09.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2020 06:09:49 -0700 (PDT) Date: Mon, 28 Sep 2020 21:09:07 +0800 From: Orson Zhai To: Catalin Marinas Subject: Re: [PATCH 0/4] arm: Privileged no-access for LPAE Message-ID: <20200928130907.GA5484@lenovo> References: <1443018250-22893-1-git-send-email-catalin.marinas@arm.com> <20151211172140.GQ26759@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20151211172140.GQ26759@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200928_090953_595462_0998265E X-CRM114-Status: GOOD ( 22.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Catalin, On Fri, Dec 11, 2015 at 05:21:40PM +0000, Catalin Marinas wrote: > On Thu, Dec 10, 2015 at 11:40:44AM -0800, Kees Cook wrote: > > [thread necromancy] > > > > This series looks good to me. I'd love to see it accepted. At the very > > least the cleanups look like no-brainers. :) > > > > Please consider the series: > > > > Reviewed-by: Kees Cook > > > > Thanks for working on it! > > Thanks for the review. After some more (internal) discussions around > these patches, I need to get clarification on the architecture whether > changing the TTBCR.A1 bit is enough to guarantee an ASID change (I do Did you check it after then? Now I have a real requirement for implementing LPAE and PAN at the same time. So I'd like to know if this patch could work. I had some talk with Will about it at other place. He thought this patch is not in correct state. May I have your latest opinions? Thanks. -Orson > this trick to change to the reserved ASID and avoid TLB invalidation as > normally required by changes to translation control registers). If > that's not allowed by the architecture, I would have to change the > patches to switch to a reserved TTBR0 rather than disabling TTBR0 walks > at the TTBCR level. > > -- > Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel