Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp913160pxb; Fri, 22 Apr 2022 14:09:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaVurPzZrcqQWweYpFdhMp8OhEpFJHv1Gi/ZSc6cenZHKU3k/6rggv+UNqy0jL3y6Dxwiq X-Received: by 2002:a17:902:b696:b0:156:b63:6bed with SMTP id c22-20020a170902b69600b001560b636bedmr6397910pls.24.1650661745545; Fri, 22 Apr 2022 14:09:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650661745; cv=pass; d=google.com; s=arc-20160816; b=Xr5vZaSC5LGlHLJT2qZ37gky6MEdNneVPnnwOHOXnN7GASzN40jppjhZduNnXydcyg UeRG892uFPHszfBHQzrGOVf/xeeMIXQB45FstYNJO8STEbpwqu+jBfmh1GU6LU322dZQ bwW427SV8vQg7J3u5fqE4D9mDPXNx92JlOaLlQDDWPxV/TOYWQ0YOZDfqUSam+KMrIOQ HyYqb15oYmXE63ZEIk3+kin/Wv1e5ihlhLI77/9zNruYUwktM2BvDhrYg7Lo0v4VdjFo nATl4pM9ReORvlWaAwdmm+DZ6r3GQwc6lS31knMFH7zgIE4UsLVKJZienaspQwRqFkG2 aRFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-language :content-transfer-encoding:in-reply-to:user-agent:date:message-id :from:references:cc:to:subject:dkim-signature; bh=fgW+vC/i7ZJXlH1iQxDXPJL51gZwmflWSNQkbVqMBc0=; b=uF0QTnEn+YdPdiVlJxstJXgGqa6SYcQyBuC4yO4S8FKiBgUbULHrkagxykfGe2J5iQ gbwdDjAOo2Pfnns0NbmMNnKylzta+7WVInM4p1UhV3OrKO/Kjxh/oTEsBMN5Ply+SNTJ Lqq3877OZr+r9EtWeau4e/Wvdmw/aA0fU1TbJHFiaIuQwFKrfMGpkfMzdjw/YOHYRDMv IQFhA3zMUQHL+RKmWAIEf9+CUhKuSO6CpjeDvIe10HK9AM1ZcYkgnHZisYgHjN9T8Rkc puFyzz/T4lp9SitvZxlRLTy2cQ8Uxm9YVdyYloiupNYF+mItwSOqK+fOKn5j2VKEqG+y dvTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="dI2vWX/g"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id cw28-20020a056a00451c00b004fa68de219csi8738177pfb.38.2022.04.22.14.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:09:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="dI2vWX/g"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 869702378DF; Fri, 22 Apr 2022 13:07:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351227AbiDTPGF (ORCPT + 99 others); Wed, 20 Apr 2022 11:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379883AbiDTPGD (ORCPT ); Wed, 20 Apr 2022 11:06:03 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2088.outbound.protection.outlook.com [40.107.100.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A847D4551A for ; Wed, 20 Apr 2022 08:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QY+UhvRE45rPDKVovmwvdCcuFY+Bo3hMEfOsfdTSTQi+/0x93ASM6p+Ui06qS/L5WytGeljkDEvHVqU4MWrGPL3WnY/Qa0BPpdbLaYIhNkaRWXociDSvuoQga6uFZQzgIJSb4mYRtSyyJoBicFnk31vtkXHZS/Q6VICJudyej/4+t+OazO6NRzIXV7pS6YAOe1bX05nhYJ2mK8UHdq3MLSkfsHRwgFC8Kash0ectmFWsJHgOwT/Lqfv2OT3s0J7Ea65W5KLpBuLg54vXXJ4twRYd5dZfIO+QAvbtRg0abi0sgjoYURo/e41oGJ9BCc40zmdVfgxIDHGyr5msWhtr8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fgW+vC/i7ZJXlH1iQxDXPJL51gZwmflWSNQkbVqMBc0=; b=ClAudOANa82AFrpA7MtHHifCyxgdHWJyUINFpGSA0UR+SUordR5geitbQtP3TQMxKKmAjuw7B7yxesFkfs5kPCSNh/KoRuZKLfusDEmfLULFc0o4MqoSlb0D7Mn82ijOLewriABswsU27pJKLvg4HpIigCyjUkVz6Gld2NdtScLhpYMqhFEQYvFvyQ4KbJ+dpNAUKVM6Ks+cYw02VUar3g2/Xwf+J+gY0902NkdqtZl1x4j7u0S7vq8vGLvvr5C6JzVstLneLwUdaAlPZ3344U0fni6D0g/kVns70vUXTfcjTaSjd/Taq7TKqESQRBuFBuLFTgOywqJZaOdDZZ2QvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fgW+vC/i7ZJXlH1iQxDXPJL51gZwmflWSNQkbVqMBc0=; b=dI2vWX/g8yEGTxh0uyohJ2YKI1V7fktRF/EFv3+TYK+e6JFgMa6MyiPV8bXMv7V7k/hvmk2E4Hj+gha6j+mLpj76iN0icVrPfCk9js6Fn78b2u3lKVBgCpoV3bXy4JXRavf9ah3qD4dOu2Bsbzj0JKX9rqIJirWZzEZMW8rvuSLUOJY/YJFpd1GQ2skWz29e6beD0qfyabYpAbOKPtU5pXmbFA5nXve63tOkNVTSzrHR1ODHIaZ1hAZ+9NP3RhVSiY6bvhXjPGTGQ4H9qlkKgNsVxhghYKiQHQp0oGGXmZyRZS3zP3RN6noFUpvD4zRsPIfac4JtwuZvoUKrHDuj4g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from SN6PR12MB2751.namprd12.prod.outlook.com (2603:10b6:805:6c::26) by DM6PR12MB3404.namprd12.prod.outlook.com (2603:10b6:5:3a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.25; Wed, 20 Apr 2022 15:02:17 +0000 Received: from SN6PR12MB2751.namprd12.prod.outlook.com ([fe80::20a2:f44a:bb1b:d587]) by SN6PR12MB2751.namprd12.prod.outlook.com ([fe80::20a2:f44a:bb1b:d587%3]) with mapi id 15.20.5186.013; Wed, 20 Apr 2022 15:02:17 +0000 Subject: Re: [PATCH] arm64: head: Fix cache inconsistency of the identity-mapped region To: Will Deacon Cc: Marc Zyngier , Catalin Marinas , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ard Biesheuvel , Vikram Sethi , Thierry Reding , Anshuman Khandual References: <20220415170504.3781878-1-sdonthineni@nvidia.com> <87y202agz9.wl-maz@kernel.org> <6b08ece9-64c0-9de9-9876-ed2dceee9bb0@nvidia.com> <20220420100801.GA7235@willie-the-truck> From: Shanker R Donthineni Message-ID: Date: Wed, 20 Apr 2022 10:02:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <20220420100801.GA7235@willie-the-truck> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-ClientProxiedBy: DM6PR07CA0040.namprd07.prod.outlook.com (2603:10b6:5:74::17) To SN6PR12MB2751.namprd12.prod.outlook.com (2603:10b6:805:6c::26) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6fb4b90-c3b0-4565-6dee-08da22dec2a8 X-MS-TrafficTypeDiagnostic: DM6PR12MB3404:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oKFUVdtekPg+e4AqWe/3zFX7fq2wo5cPM1+cdcPUxtPjcbgxSDcJicXTNTGoIsldwlcXIZ8hlmBLteoLBDXHBVF8qeb60k0Kn2kDGwRPiGIrmUjcgO2MDYu5J5wIJ0Bn3ZO6PCHW3DSfje/cYc557D11ySuXkLJOmkKFAidEl5mTEDrvN58rvDDZ/jGIYSlYNEMfk8hm79N95cfqapXZC4RDskkH866OObORBApPwz9kkoUQxeMJWwH1LzvtBBI7q36H4UeaqmsdGycx7d4g9Hai9NY79g1KSs3byTdjCk9C+RW5EthBe7IighZ+mw7oEzV7Zv5Uz8fFFQJOc27YGXadMNIwkLBN6ytVd2fiBbKSu2jXvkh+AX0sDv5qjCztyVnoYpxjP+arGW6fuedHKKA2fgwjRSavs52bZmakO0ki6icY9YjH4YkYUCqX6i5oW6ZBpVSKlmwV69eGJhqymIqD+TG4kwvQcOEjbYvQ2IQvFpXmiszFVy9P/ztAqW+uce6tH5Wvws8i/xw3Q9s+/abhVtFurok8nWTbiWf4pD3GZOG6RmQY0f5VZlEvtPOnE8xw64ByGxU60IpfisJ/kd0Jtm4327ioJdSVf0wBDEqqdVuaucqzhGE9xbHlg/dSZCrtobvXCQOsFD+E7S5VS0A+aN3oRjM5l3vKGFD7QL8jzF+e7E4TxeyHXiu5fAzs+o4+B0f2sDGkqbBu7Zmx4olgOxwEZ4Ovf/1pCU/lFL44DwWyMMrnnFMHsSa4yRrc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR12MB2751.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(31686004)(86362001)(4326008)(2906002)(2616005)(6486002)(6666004)(26005)(6512007)(83380400001)(6506007)(186003)(31696002)(498600001)(66946007)(66476007)(53546011)(38100700002)(66556008)(5660300002)(8676002)(54906003)(8936002)(36756003)(6916009)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M3pvdjdEQjRNQjRnNFZiNHJ3K0Jza0F0eXRMN3o2TWQ5RG5LWUNNUWFnbWdn?= =?utf-8?B?eFRoajc1RURvZXJWY3RqYUdpU0pFczIwZWlVWXFwZzJ5WlR0dHhpbC91NHBR?= =?utf-8?B?VFRUM2RkaFhlZXhTd3oveWhBNitmK1JuZFZhalhpbGNkTl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WFVLWEF6RFFPY1dFd1Y1NEc2Z0hjaEVDd0RudlNMQVAyQ0FQcUxi?= =?utf-8?B?eVpCNFpDSlBvK1dWbGl5WEJQYTRteUhyM2ZaOVdaKzBGSEtFVHE0UFRYTWtQ?= =?utf-8?B?Q1hwVFBmNzNkem1xL2ZXc2lMMkJ1Vi9sZ2grRGFLdGd4cDZ6b0pETm93R21x?= =?utf-8?B?d0R2NHFPeW5yT1A0WXB2dHRhNW9ldm5FdzhYbjhvblRtc2YrWktzdkc4R1NR?= =?utf-8?B?L2VrZnlvY0NiT29YV3RFMkxQYVM2YTZWTFVnOWlXZm9jcDRQdGtUcjRxL2JY?= =?utf-8?B?aGNSY0N5c0pBK29xUFRwb1FaWHNOMzdvYm1QZGZORXErUTMxZFpWcDdkMVNG?= =?utf-8?B?S1VvZkpRYTc0bWJBeUxaU1o1OWhwaFZGK0MxWmFsdlZzSUtCTEwvRklqVjF0?= =?utf-8?Q?0PY6IIA05JA87m8U=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6fb4b90-c3b0-4565-6dee-08da22dec2a8 X-MS-Exchange-CrossTenant-AuthSource: SN6PR12MB2751.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2022 15:02:17.4467 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XiLFVIMKWWXVkaNuxVMTk3nbWp2wsLoHgnWqmTYh2u7xTRFtNuCxvpcn0p/haYH0bnrLBRaLahUgtvlQ5mUE8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3404 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will, On 4/20/22 5:08 AM, Will Deacon wrote: > Non-coherent? You mean non-cacheable, right? At this stage, we only >>> have a single CPU, so I'm not sure coherency is the problem here. When >>> you say 'drop', is that an eviction? Replaced by what? By the previous >>> version of the cache line, containing the stale value? >> Yes,non-cacheable. The cache line corresponding to function enter_vhe() was >> marked with shareable & WB-cache as a result of write to RELA, the same cache >> line is being fetched with non-shareable & non-cacheable. The eviction is >> not pushed to PoC and got dropped because of cache-line attributes mismatch. > I'm really struggling to understand this. Why is the instruction fetch > non-shareable? I'm trying to align your observations with the rules about > mismatched aliases in the architecture and I'm yet to satisfy myself that > the CPU is allowed to drop a dirty line on the floor in response to an > unexpected hit. > > My mental model (which seems to align with Marc) is something like: > > > 1. The boot CPU fetches the line via a cacheable mapping and dirties it > in its L1 as part of applying the relocations. ARM-CPU core is sending ReadNotSharedDirty CHI command to LLC (last-level-cache). This cache-line is marked as checked-out in LLC, would be used to keep track of coherency. > 2. The boot CPU then enters EL2 with the MMU off and fetches the same > line on the I-side. AFAICT, the architecture says this is done with > outer-shareable, non-cacheable attributes. ARM-CPU core is sending ReadNoSnoop CHI command when MMU disabled. The marked cache-line from the step 1) become invalid in LLC. As per the ARM-ARM specification, CMO is recommended whenever memory attributes are changed for a given memory region. With my understating the CPU core must generate coherent accesses for Shared+Cacheable memory but not clear for OSH+non-cacheable regions in the spec. Are you expecting "OSH+non-cacheable" must generate coherent accesses? > 3. !!! Somehow the instruction fetch results in the _dirty_ line from (1) > being discarded !!! The ARM-CPU is sending WritebackFull CHI command to LLC for the cache line which was marked as invalid from step 2). The write CMD is ignored/dropped. > 4. A secondary CPU later on fetches the line via a cacheable mapping and > explodes because the relocation hasn't been applied. > The modified data was dropped from step 3. > Is that what you're seeing? If so, we really need more insight into what > is going on at step (3) because it feels like it could have a much more > significant impact than the issue we're trying to fix here. The actual problem happens from step 2 when CPU executes 'b enter_vhe'. > How is the line > dropped? Is it due to back invalidation from a shared cache? Is it due to > IDC snooping? Does the line actually stick around on the D-side, but somehow > the I-side is shared between CPUs? > > Many questions... > > Will