From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DC9F1662EF for ; Fri, 7 Feb 2025 22:44:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738968294; cv=none; b=A/p6z6JUuu49RSHsGi5se1Tb5TGGL/o841mnw2JtxE5uwP30h+kVydKLm9mnzNrNFkphlj/IOfjfHQcPG+THH4knvCUctO6U/KMW8SGbFTrC46qe611qTETZUcdxKs9OQysVJsU1Xw2L9OkkWE9O2ayMoskGYTN8Qnw6URB2RWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738968294; c=relaxed/simple; bh=xER+J0rwCJQXKyznu3AhTqAUumvPqCAq0oO+l0T+4Ts=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZQxQS/lMLM3mrneypBEkgfcW2ZYLkggCX9uNVQmqHQPO2wWXr5StT5xwlLvrH9WmMhmnBlHg2g0fuparPSBPDqDztJ1ShFGMkoqFge8tefmsWUdrR1KKS3I7B29sMCEvNMqs9GRiV9rj0c1QBqZWYZZV9DkK1K+ZACZSfCz+s5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=w44qH0cg; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="w44qH0cg" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-219f8263ae0so50731955ad.0 for ; Fri, 07 Feb 2025 14:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1738968292; x=1739573092; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aaVupd8VUc45i80fdS121DnyNihJxKhlS0yfklFXjf8=; b=w44qH0cg8smdRVacaHUWJ5+JluQwJAzwMJL91s/9wbzyha0lRsaqsycVXXoBmLXUmf 8GBGut8+xCexykHdzbfg8uWLz8BoCR17Wu6PMbncbjJI+AN+b0MB94siQ2R6grODGb8X y72ThrRxw2rnVprrZ0sXWnk5zdEt7Ch/po0RBwPwAROkxtO1o6WfPAtZpQ4dClYxil2d g2K6Iteft2lxPUNkbmorHFb3oyNyGOIgBQM1AMh4WBUp7parZPwvldP41mTdgcKx3O4z hQNGfa9/tNb0tv1JinKn6aMWDm8ZhtTh7rFzTNMdufnquS7kcs/KbLJMDQp3Dz9SlswS bJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738968292; x=1739573092; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aaVupd8VUc45i80fdS121DnyNihJxKhlS0yfklFXjf8=; b=qhFWsGd/fsxn5p1IkQ6lmRNbtKnT68qj8UnIGoryKaJO54HX0upSZxFmHoxeUUd/hg 4c2RZE5yBL7IvBTes70hVPf4bsjsHQD4BUY5PzyIOVeW7uxAWXhliF3Frt40SPQmY/gx QxgRkEEh2d3EK/ZMQuM+hACGraQO/b7TVmadPmiX/kuAEuouGQmVI9aPIKFucE3xTesi +5unA1Yj8SZ6tZol6D3gqbJrykpJvVVF9XaOnWKcmMtD5k/1djL00ivHR19hGHqGgp75 07weTapEgMohhNDxCFZ6VZ+auv3smEGH+wjFlNhNp7hgS94MXM/2911gL+mi8L++QYib YVYw== X-Forwarded-Encrypted: i=1; AJvYcCVjHcXGa9jtN5/jV4+8QlRAfZnTRFuwrzBkNlBGTw8InpS/IR/M235khZ67kRIYFjYGNHuW8lMdUMcWZ5Hv@vger.kernel.org X-Gm-Message-State: AOJu0Yy+X9CftJ2+LW0HCfQdkOy6pWpCCwTV3KSvv0inl4N5tM+/pRs9 mcgA/9+zdZkA5icQ9e/EfO0pbQomqJ+ZHLpp3X5AK6TnIJiPYRUQWi7qEBTV0Jc= X-Gm-Gg: ASbGncs93mOo+JsihgBT24aT2I8PV467dowLiis+vsVCtMiSsVhJ+NxJDFi7otNLMtz QrFV8Vs1lYtTqIZywIA1oi+jiDMB5abkNbmfu+ts2M/MfC+TAIB5NHjJYfojLhr0WKQ3Y7BmKPd Ks70Ept0KBrTgztlpCIPkjt0P6SocPC5QMKC2Pot8MY8nsJFED9jmW0bR/C3zE9oWXIc1I9glP0 Gcea1vEuj4vv7Ml4pUiCYZZrAjeVBr06lFc2Ip3iGwsJcTrZVuTIYcXCaF1gD5NZE8I54j9FtwQ uABRQiYX2OISPodyvIeMhfNh7w== X-Google-Smtp-Source: AGHT+IGTbu0BMzwMN01MWsrhsIOFLeTlIMVdLcXc0KHhDWapExjSRgm5VmEl2B4ZBoi8LJRoMaWbIQ== X-Received: by 2002:a05:6a21:7a4a:b0:1ed:a578:127a with SMTP id adf61e73a8af0-1ee03b70c91mr10868884637.40.1738968292668; Fri, 07 Feb 2025 14:44:52 -0800 (PST) Received: from debug.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-ad51aeb8d9bsm3508358a12.12.2025.02.07.14.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2025 14:44:52 -0800 (PST) Date: Fri, 7 Feb 2025 14:44:48 -0800 From: Deepak Gupta To: Mark Brown Cc: Vlastimil Babka , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andrew Morton , "Liam R. Howlett" , Lorenzo Stoakes , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Christian Brauner , Peter Zijlstra , Oleg Nesterov , Eric Biederman , Kees Cook , Jonathan Corbet , Shuah Khan , Jann Horn , Conor Dooley , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, alistair.francis@wdc.com, richard.henderson@linaro.org, jim.shu@sifive.com, andybnac@gmail.com, kito.cheng@sifive.com, charlie@rivosinc.com, atishp@rivosinc.com, evan@rivosinc.com, cleger@rivosinc.com, alexghiti@rivosinc.com, samitolvanen@google.com, rick.p.edgecombe@intel.com Subject: Re: [PATCH v9 01/26] mm: helper `is_shadow_stack_vma` to check shadow stack vma Message-ID: References: <20250204-v5_user_cfi_series-v9-0-b37a49c5205c@rivosinc.com> <20250204-v5_user_cfi_series-v9-1-b37a49c5205c@rivosinc.com> <6543c6b6-da86-4c10-9b8c-e5fe6f6f7da9@suse.cz> <5708c19d-240a-466a-b17a-d51b26ab95e6@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <5708c19d-240a-466a-b17a-d51b26ab95e6@sirena.org.uk> On Fri, Feb 07, 2025 at 08:06:59PM +0000, Mark Brown wrote: >On Fri, Feb 07, 2025 at 10:27:10AM +0100, Vlastimil Babka wrote: >> On 2/5/25 02:21, Deepak Gupta wrote: >> > VM_SHADOW_STACK (alias to VM_HIGH_ARCH_5) is used to encode shadow stack > >> I see that arm GCS uses VM_HIGH_ARCH_6. > >That'll be bitrot in the changelog, it was originally VM_HIGH_ARCH_5 on >arm64 as well but we had to renumber due to the addition of >VM_MTE_ALLOWED while the GCS series was on the list. The changelog just >shouldn't mention VM_HIGH_ARCH_x, it's not particularly relevant here. Yeah noted. Thanks.