Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761116472; c=relaxed/simple; bh=9KEBoR2NF5SFNxXTP9ERe3gk24NqRNbTEKVIDs5duuM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E2m22Jld4wDpXbWQxyfgeiKxTXRR0dyZPlhFkXJ5CUX1Mip8amJMqMlt5tb60lS3D8k+KVmPYHm/Mq86W9/I5NSyJRAjvUQpzxJ/WdCwFs3s0AhqYIpcTc89oBUMFYzB+rgHv3R+yQfCVnYh4q0F80DzAdjckem71D2pRsJRghc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=kFP9CdYp; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 22 Oct 2025 00:00:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1761116457; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9KEBoR2NF5SFNxXTP9ERe3gk24NqRNbTEKVIDs5duuM=; b=kFP9CdYpXFhlbYcBxvLZpwKZovKdHaNAHaCCudWiy6suLIs0ODT5J9cVI2s04HjjfNbudz taiovlVK8FDkQ/YF3Dg6TrgQvASB2YIzETsutcZ331Oxg/BRyCyEec0l/wfjYuHU49Nrpj lI7AtI8dGYdJoVHpT7Gj8RouzUqRxzg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, Joey Gouly , Suzuki K Poulose , Zenghui Yu , Peter Maydell , stable@vger.kernel.org Subject: Re: [PATCH 1/3] KVM: arm64: Make ID_PFR1_EL1.GIC writable Message-ID: References: <20251013083207.518998-1-maz@kernel.org> <20251013083207.518998-2-maz@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251013083207.518998-2-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-DKIM: signer='linux.dev' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 0.4 (/) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (0.4 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: linux.dev] 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [147.75.80.249 listed in list.dnswl.org] 1.5 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager SpamTally: Final spam score: 4 Hey, On Mon, Oct 13, 2025 at 09:32:05AM +0100, Marc Zyngier wrote: > Similarly to ID_AA64PFR0_EL1.GIC, relax ID_PFR1_EL1.GIC to be writable. This looks fine to me, although I do wonder if we should just allow userspace to write whatever value it wants to the 32-bit ID registers and be done with it. Nowhere do we use a 32-bit ID register value as a condition for trap configuration / emulation, so even if the VMM lies to the guest it shouldn't trip up KVM. Thanks, Oliver From - Wed Oct 22 07:02:45 2025 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id AKw0OHaB+Gia7BYAYBR5ng (envelope-from ) for ; Wed, 22 Oct 2025 07:02:14 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Wed, 22 Oct 2025 07:02:15 +0000 Received: from sv.mirrors.kernel.org ([139.178.88.99]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vBSrO-00000006vYy-0ro9 for hi@josie.lol; Wed, 22 Oct 2025 07:02:14 +0000 Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 392F63AB112 for ; Wed, 22 Oct 2025 07:02:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00F1C2EFD9B; Wed, 22 Oct 2025 07:02:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="hLYeRF9L" X-Original-To: stable@vger.kernel.org Received: from canpmsgout08.his.huawei.com (canpmsgout08.his.huawei.com [113.46.200.223]) (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 3D599221F26; Wed, 22 Oct 2025 07:02:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.223 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761116528; cv=none; b=aGbF/ZPdOjAOcsgiw5f4NKKAFI3KbrnlRBYf24Ce1sp1gaqSnfXloJ1D7Jw2EJ8RchvAZbmaPERDbMo07Cc5GzOLOWTQ36IrisCcc1bG9A5A9v4N1hu6dUB+r/AoBcf3md5Av1FWBfdlO74j3XT8lSU2u67N8gOgBODZGfleZPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761116528; c=relaxed/simple; bh=m5moemwbfxGnLQM9kLTf22NBmKRkzKjT2BG3uZGegRg=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=Oin3JJf3834qIhI2fqSUJ92dVqmbgYpRzowMoziAqXP7lifuqA0x+j3wcErJrV6ckR//xpcUKw8z/qnNH9MtkBE1AhoVq1BWFe6fOFgdUWnBWoLVzKm1b8M8xrDRLGrkcr9K1bTSCazBZkZLT18IuIW1YwD/rxnQQgZgfrRRXFo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=hLYeRF9L; arc=none smtp.client-ip=113.46.200.223 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=EHRP3uMAXDZCSqG6N+1vlxdAszjhwtbW5deaNWABMWQ=; b=hLYeRF9L/tbm9BwldRUCM0HeZZginJ4h9+WkMWqRPxsH4LOMDzdz4E90zWmQoRNClMEbzpw6P HhjKSYDkRwZ2uCj7ymzFT6szIKGDFnNRZM+ap2hGY40M4HwKRxDqZ/Ya2/Isgg0s0kqfxqwWzTv pfyvUnykgL7dyh/ykueDH9I= ReceicessTicksAndRejections (node:internal/process/task_queues:95:5) at async XWY (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2546:2715) at async B_ (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2541:7217) at async Promise.all (index 3) at async Promise.all (index 1) at async QPY (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2541:7072) at async BZ6 (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2546:3467) at async Ly (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:5127:17582) at async file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:11963:4036 2026-02-22T16:04:22.346Z [DEBUG] [useDeferredValue] Messages deferred by 6 (1325→1331) 2026-02-22T16:04:22.363Z [DEBUG] Auto tool search enabled: 37533 tokens (threshold: 20000, 10% of context) [source: query] 2026-02-22T16:04:22.363Z [DEBUG] Dynamic tool loading: found 10 discovered tools in message history 2026-02-22T16:04:22.368Z [DEBUG] Writing to temp file: /home/josie/.claude.json.tmp.221774.1771776262368 2026-02-22T16:04:22.368Z [DEBUG] Preserving file permissions: 100644 2026-02-22T16:04:22.368Z [DEBUG] Temp file written successfully, size: 152604 bytes 2026-02-22T16:04:22.368Z [DEBUG] Applied original permissions to temp file 2026-02-22T16:04:22.368Z [DEBUG] Renaming /home/josie/.claude.json.tmp.221774.1771776262368 to /home/josie/.claude.json 2026-02-22T16:04:22.368Z [DEBUG] File /home/josie/.claude.json written atomically 2026-02-22T16:04:22.369Z [DEBUG] Dynamic tool loading: 10/191 deferred tools included 2026-02-22T16:04:22.373Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.50.107; cc_entrypoint=cli; cch=00000; 2026-02-22T16:04:22.374Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-02-22T16:04:22.374Z [DEBUG] [API:auth] OAuth token check starting 2026-02-22T16:04:22.374Z [DEBUG] [API:auth] OAuth token check complete 2026-02-22T16:04:22.389Z [DEBUG] [useDeferredValue] Messages deferred by 6 (1325→1331) 2026-02-22T16:04:26.237Z [DEBUG] Stream started - received first chunk 2026-02-22T16:04:42.264Z [DEBUG] executePreToolHooks called for tool: Write 2026-02-22T16:04:42.266Z [DEBUG] Getting matching hook commands for PreToolUse with query: Write 2026-02-22T16:04:42.266Z [DEBUG] Found 1 hook matchers in settings 2026-02-22T16:04:42.266Z [DEBUG] Matched 1 unique hooks for query "Write" (1 before deduplication) 2026-02-22T16:04:42.274Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-02-22T16:04:42.403Z [DEBUG] High write ratio: blit=0, write=48034 (100.0% writes), screen=1460x66 2026-02-22T16:04:42.406Z [DEBUG] Hooks: Checking initial response for async: {} 2026-02-22T16:04:42.406Z [DEBUG] Hooks: Parsed initial response: {} 2026-02-22T16:04:42.406Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-02-22T16:04:42.410Z [DEBUG] Successfully parsed and validated hook JSON output 2026-02-22T16:04:42.410Z [DEBUG] Hook PreToolUse:Write (PreToolUse) success: {} 2026-02-22T16:04:42.411Z [DEBUG] Permission suggestions for Write: [ { "type": "setMode", "mode": "acceptEdits", "destination": "session" }, { "type": "addDirectories", "directories": [ "/tmp/archweb-demo" ], "destination": "session" } ] 2026-02-22T16:04:42.411Z [DEBUG] executePermissionRequestHooks called for tool: Write 2026-02-22T16:04:42.412Z [DEBUG] Getting matching hook commands for PermissionRequest with query: Write 2026-02-22T16:04:42.412Z [DEBUG] Found 0 hook matchers in settings 2026-02-22T16:04:42.412Z [DEBUG] Matched 0 unique hooks for query "Write" (0 before deduplication) 2026-02-22T16:04:42.412Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-02-22T16:04:42.431Z [DEBUG] MCP server "ide": Calling MCP tool: openDiff 2026-02-22T16:04:42.431Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-02-22T16:04:42.457Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-02-22T16:04:42.886Z [DEBUG] High write ratio: blit=0, write=43120 (100.0% writes), screen=3893x32 2026-02-22T16:04:43.027Z [DEBUG] High write ratio: blit=3628, write=41227 (91.9% writes), screen=3893x32 2026-02-22T16:04:43.041Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-02-22T16:04:54.913Z [DEBUG] Getting matching hook commands for Notification with query: permission_prompt 2026-02-22T16:04:54.913Z [DEBUG] Found 0 hook matchers in settings 2026-02-22T16:04:54.913Z [DEBUG] Matched 0 unique hooks for query "permission_prompt" (0 before deduplication) 2026-02-22T16:05:12.431Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (30s elapsed) 2026-02-22T16:05:42.432Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (60s elapsed) 2026-02-22T16:06:12.432Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (90s elapsed) 2026-02-22T16:06:42.433Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (120s elapsed) 2026-02-22T16:07:12.435Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (150s elapsed) 2026-02-22T16:07:42.435Z [DEBUG] MCP server "ide": Tool 'openDiff' still running (180s elapsed) 2026-02-22T16:07:59.110Z [DEBUG] MCP server "ide": Calling MCP tool: close_tab 2026-02-22T16:07:59.111Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-02-22T16:07:59.133Z [DEBUG] [Todo Migration] Skipping migration - 2 tasks already exist 2026-02-22T16:07:59.133Z [DEBUG] [Todo Migration] Skipping migration - 2 tasks already exist 2026-02-22T16:07:59.135Z [DEBUG] AutoUpdaterWrapper: Installation type: npm-global 2026-02-22T16:07:59.140Z [DEBUG] MCP server "ide": Tool 'openDiff' completed successfully in 3m 16s 2026-02-22T16:07:59.140Z [DEBUG] MCP server "ide": Tool 'close_tab' completed successfully in 30ms 2026-02-22T16:07:59.140Z [DEBUG] MCP server "ide": Calling MCP tool: close_tab 2026-02-22T16:07:59.141Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 30ms 2026-02-22T16:07:59.142Z [DEBUG] Writing to temp file: /tmp/archweb-demo/record-aurweb.mjs.tmp.221774.1771776479142 2026-02-22T16:07:59.142Z [DEBUG] Preserving file permissions: 100644 2026-02-22T16:07:59.142Z [DEBUG] Temp file written successfully, size: 4994 bytes 2026-02-22T16:07:59.142Z [DEBUG] Applied original permissions to temp file 2026-02-22T16:07:59.142Z [DEBUG] Renaming /tmp/archweb-demo/record-aurweb.mjs.tmp.221774.1771776479142 to /tmp/archweb-demo/record-aurweb.mjs 2026-02-22T16:07:59.142Z [DEBUG] File /tmp/archweb-demo/record-aurweb.mjs written atomically 2026-02-22T16:07:59.142Z [DEBUG] [LSP PROTOCOL plugin:typescript-lsp:typescript] Sending notification 'textDocument/didChange'. 2026-02-22T16:07:59.142Z [DEBUG] [LSP PROTOCOL plugin:typescript-lsp:typescript] Sending notification 'textDocument/didSave'. 2026-02-22T16:07:59.147Z [DEBUG] Getting matching hook commands for PostToolUse with query: Write 2026-02-22T16:07:59.147Z [DEBUG] Found 6 hook matchers in settings 2026-02-22T16:07:59.147Z [DEBUG] Matched 2 unique hooks for query "Write" (2 before deduplication) 2026-02-22T16:07:59.170Z [DEBUG] LSP: Sent didChange for /tmp/archweb-demo/record-aurweb.mjs 2026-02-22T16:07:59.170Z [DEBUG] LSP: Sent didSave for /tmp/archweb-demo/record-aurweb.mjs 2026-02-22T16:07:59.182Z [DEBUG] Hooks: Checking initial response for async: {} 2026-02-22T16:07:59.182Z [DEBUG] Hooks: Parsed initial response: {} 2026-02-22T16:07:59.182Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-02-22T16:07:59.183Z [DEBUG] MCP server "ide": Tool 'close_tab' completed successfully in 43ms 2026-02-22T16:07:59.189Z [DEBUG] Successfully parsed and validated hook JSON output 2026-02-22T16:07:59.189Z [DEBUG] Hook PostToolUse:Write (PostToolUse) success: {} 2026-02-22T16:07:59.190Z [DEBUG] MCP server "ide": Calling MCP tool: get