Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp836421lqo; Fri, 17 May 2024 03:07:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAvSN7rCaOv/BnxZQi+v18wo0hQPvRAw7HAqn579X/piUVutEoyhRphErHt3kMzMlAUNU+t45W3d64qp7H7jPfjvn3DwumtaaBne9vMQ== X-Google-Smtp-Source: AGHT+IGY6Lm9wQHsoXQ9I3+2kSkHeGGbJJc9kjzA9vb4KCRFpbsYaiBVuqi8vsQk+GUGTTfhm/GP X-Received: by 2002:a05:6e02:1fea:b0:36a:3769:9555 with SMTP id e9e14a558f8ab-36cc14f7980mr251210485ab.20.1715940466857; Fri, 17 May 2024 03:07:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715940466; cv=pass; d=google.com; s=arc-20160816; b=zOSzBePFQbZXtxb+MZRJqTqDel8CmzoFoUeGMBk/eH9JrqiwixtZTRsPQ4IARqlROo 4Bn7zDyZSvEVgxSLsKNvzWTbsnJUCSOF2EBQ0ck54sHYUA9W8SJwlTSN4uswqJrRZ/xa DiV+MKRUserRIAbWfQZ7A84mlAKAIKyfKga3FZAkp6cvhR31t2dS79e7Mx54mMOKwxiC zoLoxjCGD+lain7+xoKkPi3TkIYHCAF6a2EYK1jZNBwCyMwtd4xgpa9hOMgid8HF6RR1 5UaJuZ4DIneslmy/I2XNiW8FTPpGONYWRFs3CXW9+LIp7xaerH46PMSWA53gXFCSVRYV Xyfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fgsksDGvpkbJix4G3B/ukq5St7H0Tecp7h0VFNE9OKM=; fh=sIotOqvYtZfT8a6nI+sEfngAyD4dpYlDxI1tS4Rh8xk=; b=r33auymV2e+dKtmEckFK/Bg7R6G1/L1bA8yasOn7Y5QtoHHFi0gK2Elo/skI0QdygQ KvWFFN5A2G8hzrudm//osn6sFDEyobjrPc88vsa3fylhFRClPBlky5tqZygjw9a6iNG2 OWvafXTdhhhN/iSo0GY4fnau8gNDmRmZNYVKExpOPgV2vaOtcPxABb9tHScQYrDbKagN 4S3ew7Zi0jTEkDfOwgdhsi06m68cBrhsJkTpcUbTzoiWBRZp2R042QsfdYqHkBnJrkME bYLOtK4uUbb0HXJvidYpcqmo0BWnOr51CPRFOm5dNWnqr1D9K6foYAHV2rwDxZ/9Dy/I C4sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=EsGD6JFd; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-181978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181978-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e83b39si18616054a12.32.2024.05.17.03.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 03:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=EsGD6JFd; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-181978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181978-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E8B22281813 for ; Fri, 17 May 2024 10:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 035832E65B; Fri, 17 May 2024 10:07:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="EsGD6JFd" 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 0A4FC2C69C for ; Fri, 17 May 2024 10:07:37 +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=1715940460; cv=none; b=lVX0EF8UrCVQHobFm5iW9UyRxnnDMVkbcz0NPZaLeN/eDqMnLGkW+o7xMlmYbUOWKTB82UC04HQCsxYE7kDBzqxns3QAyadVJR29O7d5KWvTgN6KRYDfpDwj/r22EBJ0TXF2N42UJJxmA/FYZB00g6dsbnZ0dWbH/qPZ7iNVwaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715940460; c=relaxed/simple; bh=QBT+qEM2pjZjgyv+4u9pdeganrrxkRsrU8ojAFlzxVI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nDTVQthh9kHy50/WY9FinSiw5n1EG3CztYXNjms1H3sM1rqg4ucF28Ij0nJC7z0vkdCGzexnGnHWetEOeYWEpzuLu+SlgymnO2RX+Yz8dCxuhwWdk7JOYLGRwOl2ItXtVLI73yjYhfkGPNzF8OwHK7TLEj8MlnxytZu2TwjpHS8= 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=EsGD6JFd; 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 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id B0B9040E0177; Fri, 17 May 2024 10:07:35 +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 J_hDZ4ChGJYP; Fri, 17 May 2024 10:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1715940451; bh=fgsksDGvpkbJix4G3B/ukq5St7H0Tecp7h0VFNE9OKM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EsGD6JFdWu9djOpVDPQjfAulQGOZTQLNrkh3c+NuoidKKzrDFyNHXp0NyxP0emG5R lbJx1CyLDSVeeSbROqVwJ5b8T9s7piQEmz4ZEdikDdEvAXB+g7olLOXKfw4DF8mFLp kDnn+q9tu+JU1lgQVT9AsC9s38YhRhoy6dBGzM/y/nPZxAqn2bQPbK8+z9YDpGzkRo afWX9YFSEdX5o794dkx7jXHHb8b1s1nQYMgju8PHypj2s3LtKwWHEQtW866HyYrMHq ZZXsuSFSQKc+3sZeHHxTFAhml22GPTK5dGwaU7xhVdH+yBmDhjGQb7YZY66wqYpPd9 2S29u1JFv8TSd1Gtfj2PH8Y7L3/3+GCZy+ZByIpsmGEPaxtMh0HPF6JP9mxv9kJ2bB i7I/XKdTNueq9sGk7BIC2+IQgHvyYiD7BbPLkvFMvdhDAn0lfI4MPGTRnhXURiN260 KcTc0s7SCsU5KpUXtWtskHMtboAy9UZOU57NZb5trrIbZMdgOsotc8OuOyqaCQ541P 8sT3zD7y9YpPBEgJldZZTy34m95S73Onm54RNyXwBwOd1rxQTtSZET2/10wXH/+d22 FLqomnthGsfTaP/Wp1fKQ99eH6Z7hQthrJSkfXOk/4IyLsuddEOfJnYwRom0Abp4gh ebHl+79B+tLgV4C7CXZ/USik= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (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 B4C7740E01E8; Fri, 17 May 2024 10:07:20 +0000 (UTC) Date: Fri, 17 May 2024 12:07:14 +0200 From: Borislav Petkov To: Jordan Niethe Cc: linux-kernel@vger.kernel.org, jgross@suse.com, ajay.kaher@broadcom.com, alexey.amakhalov@broadcom.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, peterz@infradead.org Subject: Re: [PATCH] x86/paravirt: Ensure calls to pv_op functions are RIP relative Message-ID: <20240517100714.GAZkcsUqHxScXJErxP@fat_crate.local> References: <20240517024224.995517-1-jniethe@nvidia.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: <20240517024224.995517-1-jniethe@nvidia.com> On Fri, May 17, 2024 at 12:42:24PM +1000, Jordan Niethe wrote: > This has been observed at lower levels of compiler optimisation but > there is nothing preventing it from occurring generally. How can I reproduce this? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette