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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 41C96C3DA6E for ; Wed, 20 Dec 2023 04:14:14 +0000 (UTC) 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:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ant594OEP2BF4sEGv/ORtvlOJ+JmWTO6SeqjVJssX9A=; b=wFfRfFv+O4x4UX4X9hhHtaSO9t LbhYQJrvmD2J8XhoN9jE3AYSqrZKaeDXxoYbxalNMsWfH0VTcZ/c3UV2reCB6nv7Rh1k0hBjTT5hn a2YzXvFj4n0Fqd4jiDkPZdMUPQc2RJLfOpZpauns8dljXt+4iQMMA3MHnNuZUWhB/2lHICCtnBc+z W+FDaamU74740+ht7fSQjxRzpqFN1XheH2ez8Dy04GMMuZ6BD4CGcnpzcKH8/l+jIwwvKPMs57fIu LFrvYPVl9n1WcvR4VfVIpTAlHK0hMcjDAfh7nPyhH2S4uza2j+GZC6joYXTPpLm2jJnr/s9+iWsK0 8JvvUxyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFnxt-00G6a1-0s; Wed, 20 Dec 2023 04:13:49 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFnxp-00G6Yl-3A for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2023 04:13:47 +0000 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1d3eabe9321so3398695ad.2 for ; Tue, 19 Dec 2023 20:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703045623; x=1703650423; darn=lists.infradead.org; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=mNVWdMSAqfvpbN5g4IovRqwuhzgdiEbCZgrhc7x2wjc=; b=GLxVO+Tx+LMsu5B+VV0uJq+WmEq7LmHWaG/pUjSGC4AoOVh3yPZAFhSmtbCm6Sm8e1 L8Y5sngWr1hDfDW80rAjkXS3PCaENG05utcRTtMw9W7xAY+bAJhqucd2GbaV9zxwnoJq SEhXm5ukGWNop7bMEJp2QrRH1buGHM5nY0hiTjxEcZxlc33KZFPnq2zwkXSIRx9y83QK ht774XpDRHIDvwUYwmqbFivj1dsTMBaFDLjvOq1Dt3qn0PvjbBzOlIOaBc5q2Hyp12FN 8xv9YGNd7uhm9bXzLh4eFTtuhLIO1G5GZYS3nIDpz4Bj+IpC6yGnt+xK+QWU8x+v8YFB bO2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703045623; x=1703650423; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mNVWdMSAqfvpbN5g4IovRqwuhzgdiEbCZgrhc7x2wjc=; b=ht71fx8E0WmllJsMiH9OmQi9wuTNUsMJH14Uj+KOkxGDFrSp0nZgVcBws1J2qSJL54 QI8NOPUkB49W7yr+ea6cAiy5m/QAA1yRZkaCczXjfjKzuE5+S1uR+5zUZ6vjqUO6UU3b Mfg87cl+Ot/Y0ZXT/uPFiF4NjnNPwgoIzFn+DLnQhHXAfdihtjL3jbTFV4zCATIDA7Fi z1lSav4nyKYR9xl/kF0zkISUpM9h9Zxz0K1l4ZUKCy/BTfR4A4AhFpFuceAol5BKwd6q fsKEGTCco6txJbGn9C8CFiZO29cOoBrMP13xZ3hoGNBt9zD9gj5u7xcRPPszZ/ObXHRC Dnew== X-Gm-Message-State: AOJu0YwGYpIvrVj9bvXWKX/8RhnVINBQ58+3GYotvS8GQMPii1wL+ELP qsudnPZrynUDLZXBSXEhtCBLzw== X-Google-Smtp-Source: AGHT+IGTH7Uz/NcmceVfotUGElTRFy6BFXANyvxa2H36ukICplsk22hKc23OStWdWx3+9daWWuC7hQ== X-Received: by 2002:a17:903:22c1:b0:1d3:c025:c99e with SMTP id y1-20020a17090322c100b001d3c025c99emr2935918plg.63.1703045623531; Tue, 19 Dec 2023 20:13:43 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:8f60:ee5a:d698:1116]) by smtp.gmail.com with ESMTPSA id q14-20020a170902dace00b001d08e08003esm21884208plx.174.2023.12.19.20.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 20:13:42 -0800 (PST) References: <20231122-arm64-gcs-v7-0-201c483bd775@kernel.org> User-agent: mu4e 1.10.8; emacs 29.1 From: Thiago Jung Bauermann To: Mark Brown Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , Andrew Morton , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Arnd Bergmann , Oleg Nesterov , Eric Biederman , Kees Cook , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v7 00/39] arm64/gcs: Provide support for GCS in userspace In-reply-to: <20231122-arm64-gcs-v7-0-201c483bd775@kernel.org> Date: Wed, 20 Dec 2023 01:13:41 -0300 Message-ID: <874jgdh5oq.fsf@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_201346_019681_51B9E310 X-CRM114-Status: GOOD ( 13.92 ) 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 Mark Brown writes: > arm64/mm: Restructure arch_validate_flags() for extensibility > prctl: arch-agnostic prctl for shadow stack > mman: Add map_shadow_stack() flags > arm64: Document boot requirements for Guarded Control Stacks > arm64/gcs: Document the ABI for Guarded Control Stacks > arm64/sysreg: Add new system registers for GCS > arm64/sysreg: Add definitions for architected GCS caps > arm64/gcs: Add manual encodings of GCS instructions > arm64/gcs: Provide put_user_gcs() > arm64/cpufeature: Runtime detection of Guarded Control Stack (GCS) > arm64/mm: Allocate PIE slots for EL0 guarded control stack > mm: Define VM_SHADOW_STACK for arm64 when we support GCS > arm64/mm: Map pages for guarded control stack > KVM: arm64: Manage GCS registers for guests > arm64/gcs: Allow GCS usage at EL0 and EL1 > arm64/idreg: Add overrride for GCS > arm64/hwcap: Add hwcap for GCS > arm64/traps: Handle GCS exceptions > arm64/mm: Handle GCS data aborts > arm64/gcs: Context switch GCS state for EL0 > arm64/gcs: Allocate a new GCS for threads with GCS enabled > arm64/gcs: Implement shadow stack prctl() interface > arm64/mm: Implement map_shadow_stack() > arm64/signal: Set up and restore the GCS context for signal handlers > arm64/signal: Expose GCS state in signal frames > arm64/ptrace: Expose GCS via ptrace and core files > arm64: Add Kconfig for Guarded Control Stack (GCS) > kselftest/arm64: Verify the GCS hwcap > kselftest/arm64: Add GCS as a detected feature in the signal tests > kselftest/arm64: Add framework support for GCS to signal handling tests > kselftest/arm64: Allow signals tests to specify an expected si_code > kselftest/arm64: Always run signals tests with GCS enabled > kselftest/arm64: Add very basic GCS test program > kselftest/arm64: Add a GCS test program built with the system libc > kselftest/arm64: Add test coverage for GCS mode locking > selftests/arm64: Add GCS signal tests > kselftest/arm64: Add a GCS stress test > kselftest/arm64: Enable GCS for the FP stress tests > kselftest/clone3: Enable GCS in the clone3 selftests Not sure if this is warranted, so sorry for the potential spam: I don't have any comments on the patches I haven't replied to. -- Thiago _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel