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=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 8CF46C4743C for ; Wed, 23 Jun 2021 14:03:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5DE2E6108E for ; Wed, 23 Jun 2021 14:03:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DE2E6108E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RtoyNVH8XdLwlqYAWWmDyVUAGUle4TmQcJN8PPv2KnU=; b=SFdpVaiiGllk4Z YZRaCur+5mAPt2/2LcFJ/p9htL2uTQ3ivqtX3F0b6q/hDT+M0UUCuKWxXN9GXtM2nGO4l5PMZld8N rRTgv7+oukNBVWU4/hLRUkm90RNkaJ+F+uy5a5/RhWcF/Ab2+ka5LWhLkc+SHpQw7RA5HPZAazxLe kbXKHX+0jwbfSF2Fme6zHdl6Z9/OL/WQKNXVx1P7a14peDUplGY6i6LeatrxfnRCaj3C0S6Bh1/yf 1ql/LeVG1bwvGkf7XCpUxKHaKINeRAP3XwM/lmWN2NvHjRUQBB+t0XBaRDPFRut9Cd6NlASxsatX5 UFQocQRB+DHv9zNOvDFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw3RG-00AuiL-Nj; Wed, 23 Jun 2021 14:01:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw3Qn-00AuYA-16 for linux-arm-kernel@lists.infradead.org; Wed, 23 Jun 2021 14:00:43 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2BDE0610C7; Wed, 23 Jun 2021 14:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624456840; bh=DWQrl2ZGMrRzWQH6OHfsw47jgYfoH2bZLoFaNEVct3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uxBmqqmt3lQrw0OyDJEWyMAyUY7JmKId/uKXw2xtFK346PEtBGV2SJoC3Q8MkiDio DX7ouBSx4lx20RL7FRismgx3IpNgC0ryVUSrMkLIw0qjbsIPW8bAksf5cZ7ycjdZKu DB0N2RXo0muCmVx1OLBy4zQIG1CIDynqlaco6uQsRUGts6cOqc6Grqtwm0hKZM2LdB C/s/2vxRDkIUH2qPW/ElzqfEEbDuvW12fu5XXhQh4DS8GP+V5qj+RBto7J0+MOtlxI uEahCS8uBC6u/kQaRicuN0NuDJeltnFklA7LV/l4CObUlHXLzQWlZClMSVn6vkjm4S 0cNyE11jd0Xzw== From: Will Deacon To: Peter Zijlstra , aneesh.kumar@linux.ibm.com, Catalin Marinas , Marc Zyngier , steven.price@arm.com, Zhenyu Ye Cc: kernel-team@android.com, Will Deacon , liushixin2@huawei.com, Xiexiangyou , linux-arm-kernel@lists.infradead.org, huyaqin , linux-mm@kvack.org, linux-arch@vger.kernel.org, zhurui3@huawei.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] arm64: tlb: fix the TTL value of tlb_get_level Date: Wed, 23 Jun 2021 15:00:18 +0100 Message-Id: <162444629282.759882.14655008602043376684.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210623_070041_203065_5AD93A92 X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Wed, 23 Jun 2021 15:05:22 +0800, Zhenyu Ye wrote: > The TTL field indicates the level of page table walk holding the *leaf* > entry for the address being invalidated. But currently, the TTL field > may be set to an incorrent value in the following stack: > > pte_free_tlb > __pte_free_tlb > tlb_remove_table > tlb_table_invalidate > tlb_flush_mmu_tlbonly > tlb_flush > > [...] Applied to arm64 (for-next/mm), thanks! [1/1] arm64: tlb: fix the TTL value of tlb_get_level https://git.kernel.org/arm64/c/52218fcd61cb Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel