[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/7] x86: detect PIC aliasing on ports other than 0x[2A][01]


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 30 Oct 2023 16:35:41 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XOO6TXwIgFsuiSsZDDTRIprwRoxAmkoWKLRvI2AX4Y8=; b=oA98L6j3T1+bLW4doJgNQ2j4AZ+uxreL5zYFZULdfkUp+VeltAGG9nqfbjegMV5SfVxHyPuGeFwwp95n0HVy2tY8ekcMubYhEC4N9rORhHEe2TBYNw3EI5D2TAGam9OmJ2kmxJ0mP60KT6Rl/4sbyLwCYRyPHMUgrEv0uFpYLKYsAUHZzpoziENHwiKqxI5bwSuQW2vfFg9t8GSv8qaCxxC+m6kNGe9R7yHkLYWHOa2n0jQn3aqaJsYkEHZycT067OPlfIgrRmMt5lRWkU36nNJr5GThHoC3JNh7P7j0v82wbldEJ/ddjOyNQouaS8yWCm0PCq8E9Ni6SK26z1Sv8w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F9nA2Ziux3nFyaoc2JN2XJV+b1zmmkbaWfQ+oEzw9+3Fe+s8n8Z0uvIuEQOcrED8UAV1J/K77Bhf/JKnt/1i5TYgw8Qb61WmuQThNbwFP9vVQ4dgrTIymiaEsizeFFVMwQNbsgAgreAiTGQv/hd0lKiD1Ud3A/50qn2fDt+BPPQM63H4Xq5OawTKSQPML8yEN0vKRW0g1Tk+hpq1cWMwClEonnBi3YmcO8CmSy63Fbk8m3NsI8CFGpjhD7DThWzlRTBRxrTJ04Tu7xrzdGux6JuSEin43TnZ9X+Gns0AIwU2DxPDsYDbYSKnAl5xeXvfEzqQ/+nUB8TbCE187VizTg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 30 Oct 2023 15:35:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 30.10.2023 16:23, Roger Pau Monné wrote:
> On Mon, Oct 30, 2023 at 04:19:22PM +0100, Jan Beulich wrote:
>> On 30.10.2023 16:14, Roger Pau Monné wrote:
>>> On Mon, Oct 30, 2023 at 01:24:52PM +0100, Jan Beulich wrote:
>>>> On 26.10.2023 17:19, Roger Pau Monné wrote:
>>>>> Maybe the issue is that PV_SHIM_EXCLUSIVE shouldn't have been a
>>>>> Kconfig option in the first place, and instead a specific Kconfig
>>>>> config file?
>>>>>
>>>>> Maybe it's not possible to achieve the same using just a Kconfig
>>>>> config file.
>>>>
>>>> I'm afraid I don't understand what you mean by "Kconfig config file". It
>>>> can't really be just another .../Kconfig file somewhere in the tree, as
>>>> it doesn't really matter where an option like this would be defined.
>>>
>>> No, I was thinking of splitting what PV_SHIM_EXCLUSIVE actually
>>> implies, for example by adding CONFIG_DOMCTL_HYPERCALLL or
>>> CONFIG_PLATFORM_HYPERCALL and re-work the pvshim_defconfig config file
>>> based on those, so that we don't end up with negative relations.
>>>
>>> Note sure all usages of PV_SHIM_EXCLUSIVE can be split in such a way,
>>> maybe we would need some compromise.
>>
>> Wouldn't such a CONFIG_DOMCTL_HYPERCALL then still want to depend on
>> !PV_SHIM_EXCLUSIVE, which is the kind of dependency we want to avoid?
>> Aiui the two (splitting and inverting) are largely orthogonal aspects.
> 
> No, CONFIG_DOMCTL_HYPERCALL could be promptless option enabled by
> default and disabled by the pvshim_defconfig.

pvshim_defconfig shouldn't play a role here. Anyone configuring a shim
build from scratch should also get a consistent set of settings. When
there's no prompt and default-enabling, I'm also having some difficulty
seeing how pvshim_defconfig could override that then.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.