From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A85A478870 for ; Wed, 22 Jul 2026 08:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784708619; cv=none; b=JBV+3M0CULhoLqEiv3UuioJYEq8NjAohzIgZefUgL/j2OIHYVI6S28GpOJpl0qGtHGYplZQqksEwT5e9dpJtW0ERCuOd7by0s5NyVzcv7yEOUkKrCsfgi40vpHI0zXb7jIKg6ztxY0dUUtx0WrpQ4jFSq5uyP6cMs/W3h0oag2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784708619; c=relaxed/simple; bh=LanxiuFGlJLo+VxXG6kKy0WBvD20IjOy46cO0yuJYco=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JvZGq2+JEQKLgg2vulaV/mbo0STQJRp5S3p4Xk6hBIUquCXVwOSc9sHqxMDDLzjw7hCvk4JZfiWLvZPmtCIpCjfEvLo3TXl3fd1W6Bbqomfs5pIh/z0wCfUNWlW5X43ukXhc9Q8uPgp5FiUlu9/lxw2FyRxAQnUrLSt+U4I18RM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z+2+lmYs; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z+2+lmYs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 895701F00A3A; Wed, 22 Jul 2026 08:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784708617; bh=NI52X9v5J5Li+DSNwCiore0FEn2owtImCI3bUa3xGzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Z+2+lmYsiECDh4MZR89QAKpJ0mF818r2V/gBWvBCrcNhdc6jPxCuetYgMM5YEEhyn SPrPrAuVvl8Vdoe83XJtfIjderHnNr5nVNsFNa4mrs8fqK+rtLywvdYq2IflhK2Daz tWkn7VjCVhQET+9cuDaYHU6XO9F7xUgMJLR5OG4ayWqgYXiaRjYECTqYJA6cw2Z1aJ 1wqc3Ejo1M/6nHqnEO5jh7vxU0WGBfG0kct8deI62JTET0RNOBSbY7m5YjSDakmIx7 UXck0AUN3RR6hihKfBnQ2L5aGy8gmNgC7yAUmFtRWv6t9B+p24jLPORzZhKVSFppRZ aTlVtcFNRivKw== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kohei Enju Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Suzuki K Poulose , Sami Mujawar , Steven Price , Gavin Shan Subject: Re: [PATCH v3] virt: arm-cca-guest: use migrate_disable() for attestation token requests Date: Wed, 22 Jul 2026 09:23:21 +0100 Message-ID: <178467175320.116388.3560341069343395580.b4-ty@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260612111007.49434-1-enju.kohei@fujitsu.com> References: <20260612111007.49434-1-enju.kohei@fujitsu.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 12 Jun 2026 20:09:21 +0900, Kohei Enju wrote: > The RSI attestation token init and continue calls must be issued from > the same CPU. arm_cca_report_new() currently snapshots the CPU number > and uses smp_call_function_single() to issue those calls on that CPU. > > With CONFIG_DEBUG_PREEMPT=y, the smp_processor_id() call used for the > snapshot triggers a debug splat [0] because it runs in preemptible > context. The snapshot does not pin the task to that CPU; it is only used > to choose the target CPU for smp_call_function_single(), which can fail > if that CPU is no longer available. > > [...] Applied to arm64 (for-next/coco), thanks! [1/1] virt: arm-cca-guest: use migrate_disable() for attestation token requests https://git.kernel.org/arm64/c/24f55f511b9e Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev