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

Re: [PATCH 1/4] xen/uart: be more careful with changes to the PCI command register


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Thu, 26 Mar 2026 11:37:57 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=sanxqKrLqAYJ0gbEbLvkMm7LZhfwJXghu37CCGww30o=; b=qIb60jFNB2ostRGaHtjCTPHtIB7JT9leK6hZTztPU9Jgi/SjeImfXeOAa6GYYaqxLHvtXHpYum54jfNfDJImNKWA8btyPNqqf8hgKy5WF5ycGF8SEk6BpeSHtPGYagOJJTW1L23Ugcubz7pKzIxUYl2H1zJ6dQp4YChe/ent2IbeJ8+i97L8Kt4J+EwyWvjoFFNou3JjXwy8p1Vpn1G99NDzlYMhC8tJz16YKFPU6WC9FlnUav565U5VjUYeo7xH/xV4sxbWM5bO5UQleTHw99eSyC7kSO5Zr3z/g2HuhH/mnRYYbTKSNYpW0Ei3gy2puevgreFbwtJTTRef94ne8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CQsCnN98EIQw7jnSpiAUMQANwSEHxKaZ4L00X89p9iBI6MVs6L3POgQslq5BPnXwFC7CYpIk+EC+GeQZwdZHtgiNqNwH3OiWpOhBajN6cRUBRaUtxYR79DE4xLTtgAewgG4yoqijbGzyJW9x/PfVFLohikUlJRKOIjlyUngBYc3GU9RD2a02JMJwnwR1fmrDPfoGhrymk2XMrPZXu5YmpenKzTnURcyBzvtbaAtbnC6ka5MjvjD+Fa3GQEQ1dNl7isdcOI4WwcQWVIx8Ag7QjvRzNAe23b31F1G7mvcN/Qxb8uDdxcCT2ExIbsY7+ruANLY29kzCZy93qso4VLWoLw==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 26 Mar 2026 11:38:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 25/03/2026 2:58 pm, Roger Pau Monne wrote:
> Read the existing PCI command register and only add the required bits to
> it, as to avoid clearing bits that might be possibly set by the firmware
> already.
>
> This fixes serial output when booting with `com1=device=amt` on a system
> using an "Alder Lake AMT SOL Redirection" PCI device (Vendor ID 0x8086 and
> Device ID 0x51e3).  That device has both IO and memory decoding enabled by
> the firmware, and disabling memory decoding causes the serial to stop
> working (even when the serial register BAR is in the IO space).
>
> Fixes: f2ff5d6628b3 ("ns16550: enable PCI serial card usage")
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

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