From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 E35112FBDEF for ; Wed, 29 Oct 2025 15:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761751429; cv=none; b=NwN9CUgk3SR/CDv/rbbuQGHp9sGWBbwwuhprPxw1K7vN1VKfQi+9Fr8DDqPWBVAMY6eIDnmj4jdyDv/Gn1JkCt837CHDvFozLo81a4mlHR0+8AiO6q8UkeJD5uIbqM/oh4NN2AQsoAB41Xlrdik7rpxVIKS4uNlQUxsG3yAqzD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761751429; c=relaxed/simple; bh=GnnlHMFRbVrpcnyBkNDcSZjt6llB0RXl0xQOlvsDe5c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EYaw2MO7rWsuExfDb4vMhuDspEpoTeJORB+I1Ek3pcYKo371AybfKaMpnst40CwN0HF7kWIsfihnzf0RsDQf+P7m2+iRhQwDVdZMoiOlvWYPBadUhsKJ1ZIPkKipDqvDAR1JPdHTyWG0GQ6wPBtBWKcMEMdAHavhpAKgayykKFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oQHMBVSM; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oQHMBVSM" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-4298b49f103so2647114f8f.2 for ; Wed, 29 Oct 2025 08:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761751425; x=1762356225; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GnnlHMFRbVrpcnyBkNDcSZjt6llB0RXl0xQOlvsDe5c=; b=oQHMBVSMJ2M4QjAW8A7GtSAF9S6FkVCh2HHuqy3FhR5UzylxgotmNVkpR7YLWV6rfn VOutUscxHLqWLt0JqDHs8hixfx95W7FB52sKo9QYv9p3+f3eHN4QkMSW472X1K7TxxCP XjVWEtQPwThUR7pLHWxItQKrTQVRSrSCo6nZG4InGUYT/O4omm9oVxUNPc8D0u4R3k8k 1wsrNT11QK2lBzx0qOtZd5gixGG1gG1sgc+CtA6+FrX7IJCFbF2O2e8OU+OzG2daQijI Q9hGbMmkbOzLxVKFQVFPYzqW3iMZvAgwtakzd+5/Fn/g1j3HHF3D76Yocm6VJZN+iWjN 8a1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761751425; x=1762356225; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GnnlHMFRbVrpcnyBkNDcSZjt6llB0RXl0xQOlvsDe5c=; b=BlyisDWewExdPy1/wji/VAlb5KFILa0QIZoL3tEmUgg07wV1zEGqxqeKVlz3mUbaqa VZtgQcYS3ZEMocvBVD31apxnWUjgjyHHdAno2wI3TeSDTzraCCiAjyv8fPn7V9t5KnPp FCpZNB2mwaXbDTDITwKysKt0pS374EiQRFGfaXif9e4jHUCajvGidB1d6idCt4EM6Xa5 +bmwBjG3KHmTRkGUGE68QCEIZ7gXPXo1vNC0tXSIHFt9OlxP3Ikz03JfVjKIrsSd2mJW SoZoKC1WSucuR8ppZnGTVtbNpfqLxDuAEIIJb7xOlZb+7vjLzgNTwGh6dNeqa2UC/3iH F5Zg== X-Forwarded-Encrypted: i=1; AJvYcCUZkPE4W+G1DFebjYMFjNwWbLzaSJOBYBXu73u5Dqg/FytiJce7Ro6AALw1dbe25Yd8qdbkQ/OqUrm+l04=@vger.kernel.org X-Gm-Message-State: AOJu0Yx3y+f6E3BbTEqK6nGUF48jRDQUnuWflwe+7L95bSEm6H7ZkDqp tcDdfsTV8K3mwGqbgRGuggIyo/UV7TAh53/CwODq874WS8VfrHkNgpBTkuH1Gpmi3bg= X-Gm-Gg: ASbGnctMJhHiZnabWWNkymXXqJ9DzGJPZqstyeT46J8yeNj1EIzaZrxjgBTKPqLSQru Da49cWp/JcDNbeOJ0HgvAlzDth9dwkKWxz1PZah+h/DJCzrG/p3aF0rkbr9IGIO5bB319l0IoEG tnGECKY1+Y6htccqpPlUnBtKIPZ71A2LIUaKDpU1ulvbi6X55OefuPbh6C8rK+MaK1+2h+5FMPP CkLBNDyCWcA/XOOckNd+wfktX+FBOGH0tyZc0e030dc2xPRklX2mkV0iyrZDtoceTkC2QGfpEcM 1D4BcBCpZ92yeqm8x0jsrAP1FkbYnZCpDCyCHn8+pTias5P0eAAIktdIwxN6k8xmLSSXScxGNON frLuhDVY32UREWjN1W/IN+WofCLOWYZqI+MlrSuzoJhv4A0eXD2QRSh3om72cA5QEIuQDn93jK8 jGKoq7AePCD28mjYE= X-Google-Smtp-Source: AGHT+IF3kypRXz+lbNGUUJZxGE/9fLgsZ6x2lXzXuM2CaCBPkYTwY5pskZrBjx2J28zmiWA3+gROqw== X-Received: by 2002:a05:6000:2308:b0:426:d54d:224d with SMTP id ffacd0b85a97d-429aef8b88bmr2958293f8f.27.1761751425212; Wed, 29 Oct 2025 08:23:45 -0700 (PDT) Received: from e125016.powerhub ([2a0a:ef40:e8d:4a01:29a9:3ab3:ba86:f8fc]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952e3201sm26823811f8f.47.2025.10.29.08.23.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 08:23:44 -0700 (PDT) From: David Spickett To: broonie@kernel.org Cc: catalin.marinas@arm.com, corbet@lwn.net, david.spickett@arm.com, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, luis.machado.foss@gmail.com, mark.rutland@arm.com, oleg@redhat.com, shuah@kernel.org, thiago.bauermann@linaro.org, will@kernel.org, David Spickett Subject: Re: [PATCH v2 1/3] arm64/sme: Support disabling streaming mode via ptrace on SME only systems Date: Wed, 29 Oct 2025 15:23:30 +0000 Message-Id: <20251029152330.155394-1-david.spickett@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251015-arm64-sme-ptrace-sme-only-v2-1-33c7b2f27cbf@kernel.org> References: <20251015-arm64-sme-ptrace-sme-only-v2-1-33c7b2f27cbf@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit I have put the LLDB changes for this into review. We are tracking SME only support in this issue: https://github.com/llvm/llvm-project/issues/138717 The PRs that relate to these kernel changes are listed in this comment: https://github.com/llvm/llvm-project/issues/138717#issuecomment-3456979166 LLDB's use case for this new ptrace feature is to restore process state after expression evaluation takes a process from non-streaming to streaming mode. We have a specific code path to handle that restoration, and it was not a problem to integrate this new ptrace feature. I have proven with testcases that LLDB can restore any streaming mode/ZA/streaming vector length combination, starting from any other combination. The LLDB changes will remain in review until if/when these kernel changes are accepted. I expect LLDB reviewers will be ok approving changes on the condition that I wait for the kernel side before merging. I expect LLDB review to take some time, likely a month, due to the availability of reviewers at this time. Reviewed-by: David Spickett