From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 EA2FA2E7394 for ; Sat, 30 May 2026 22:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780178729; cv=none; b=lwUf6gpryoKFlSWiRGtHKC53PdrMSmWRqO40DQImnnDiJabDr+/Z/4Dla9KiUCg4QNQ61BR1+kcD24966Ub7fRxlhoTL7E0HtbzQiuT3ZrK31gAR6YCuRsA7umoSxU3vCs448U9YeuEtRSJsVWaz2KzBvYAWt9esUvMKvy2DfrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780178729; c=relaxed/simple; bh=ZrQfh2mZ2dDxt36qx2Pj0/Z60Fse8lCLBL/GJ43ccxo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Li4Cy2u3CD85+rbfZa0VFzpJvz3ULnxncTD/nyCFd0uqXOidR9EOTfKkalxScJFedlaV2tyUXvL0qrzVqODMgwBJHI8DF0Q1LuRKHjbp3yfCEYNYociX5BYQwOTMMflflPmqbs+8FjvKlgZ29u5ecgRfFFMXkGh+M83wEct7t0o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=jHWh7E8k; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="jHWh7E8k" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id BB8E340E01F9; Sat, 30 May 2026 22:05:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ysdnia3bs4JX; Sat, 30 May 2026 22:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1780178715; bh=m3IFBRGWpYfiOxqY5DPx1pgyUXwj+C+/Nkh3HlDkLUU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jHWh7E8k2saR9udKBxbRiKvsGUXX1PQE1YcCQLWcwas8+yFS+KqaQ0c53dN1G+8Pd ctJBdXvMPjZFQD7whTbgoQG4822uU9ozbbLxu0V85npj3LZB5WKn/n0TV4on98ddsY koQb4/o8bKN0zmKS3dXpxDl/hLFGq04VOFMvZLRsZHuiiQ2AXTwwrX3OHmkYv5Jh2t 5z/EhIozSEJPxxLtfTDWdjg2nPXv+3IiPXdh21jdYN0pwA/z6tbcBS1yvopcOipSVL 7Usj7PIuH6Ko+ybsxBcfBS9MjMWWr5S+KUozDqPKeeJDqIsumnQVOcQ7XkL5zLTAAY sYO+5ogu0meNaVc4g+zw7hTLOxvx8hDJAX7XbQvWk/Tu52ADIHI3EJejV1UjR1nrTo /A1YxXAI5KJrrzuEz3YZb60k13GkdvVL4K+vSOxWkcbqCm075GwPVUhcBPZaGJTyW3 kPf4SCuBlBRfI+H6E6nXkr0SSUnM3FYMfLTiZQo9tuOV1b9L9JRut7zTXVjhBV5c4J UMA+L6F1jV4/qVRuBLPOvL6vj72clniEAL/iAjfxtTIfvabLH4iB4NPYJpm64NIff9 HOWmKhXoAJc74C0N3Jhr5k/OVDFLhU8g+QVUIAD2bueE0X8/v9DAGmgYdMO5glEWsK 5G4UEe7v4JrWShGemSZQgkUE= Received: from stx.tnic (unknown [IPv6:2600:1700:38ca:c00:b8a3:f58e:8829:9ca6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4114E40E015A; Sat, 30 May 2026 22:05:02 +0000 (UTC) Date: Sat, 30 May 2026 15:04:53 -0700 From: Borislav Petkov To: Mauricio Faria de Oliveira Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Juergen Gross , Alexey Dobriyan , Boris Ostrovsky , kernel-dev@igalia.com, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, kernel test robot Subject: Re: [PATCH v4 0/4] x86/pvh: fix unbootable VMs again (PVH + KASAN) Message-ID: <20260530220453.GAahtfBVv2hydidbnW@fat_crate.local> References: <20260526-pvh-kasan-inline-v4-0-a310e6a25ecd@igalia.com> <20260527204736.GBahdYaKk6kAkIUYE3@fat_crate.local> <274609541a0c7c6b49b386001967dd2b@igalia.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-Disposition: inline In-Reply-To: <274609541a0c7c6b49b386001967dd2b@igalia.com> On Sat, May 30, 2026 at 03:25:25PM -0300, Mauricio Faria de Oliveira wrote: > In this instance, the use case is to speed up the dev-test cycle when > debugging on VMs: PVH allows booting directly from vmlinux, avoiding the > need to build/compress and decompress bzImage, while KASAN helps detect > issues early. Makes sense in itself. And you can't do your use case with KVM? It has to be Xen? > Briefly, this is a side effect of reusing code from 'boot/string.c' > through , which introduces additional complications; > please see patch 1 for details. > > These complications could be avoided by not reusing that code and > instead adding slightly duplicated code [1] directly to , > if that is preferred. I'll take a look. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette