Re: Fwd: UBSAN: index 1 is out of range for type 'xen_netif_rx_sring_entry [1]'

2023-08-29 Thread Linux regression tracking #update (Thorsten Leemhuis)
[TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 26.07.23 07:06, Kees Cook wrote: > On Tue, Jul 25, 2023 at 03:34:26PM +0200, Juergen Gross wrote: >> On 25.07.23 15:24, Juergen Gross wrote: >>> On 23.07.23 02:06, Nathan

Re: Bug 216581 - Kernel panic on /init as busybox symbolic link with xen efi

2022-10-17 Thread Thorsten Leemhuis
On 17.10.22 02:23, Marek Marczykowski-Górecki wrote: > On Sun, Oct 16, 2022 at 01:08:53PM +0200, Thorsten Leemhuis wrote: >>> Denis Chancogne 2022-10-13 22:00:19 UTC >>> >>> when I start Xen 4.15.3 in efi with kernel 5.18.19, all works well; >>> but since k

Bug 216581 - Kernel panic on /init as busybox symbolic link with xen efi

2022-10-16 Thread Thorsten Leemhuis
Hi, this is your Linux kernel regression tracker speaking. I noticed a regression report in bugzilla.kernel.org. As many (most?) kernel developer don't keep an eye on it, I decided to forward it by mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216581 : > Denis Chancogne

Re: [PATCH 0/3] x86: make pat and mtrr independent from each other

2022-08-16 Thread Thorsten Leemhuis
On 16.08.22 18:16, Chuck Zmudzinski wrote: > On 8/16/2022 10:41 AM, Thorsten Leemhuis wrote: >> On 15.08.22 20:17, Chuck Zmudzinski wrote: >>> On 8/15/2022 2:00 PM, Thorsten Leemhuis wrote: >>> >>>> And FWIW: I've seen indicators that a solution to resolve

Re: [PATCH 0/3] x86: make pat and mtrr independent from each other

2022-08-16 Thread Thorsten Leemhuis
On 15.08.22 20:17, Chuck Zmudzinski wrote: > On 8/15/2022 2:00 PM, Thorsten Leemhuis wrote: > >> the right people have the issue on their radar again; give them time to >> breath and work out a solution: it's not something that can be fixed >> easily within a few min

Re: [PATCH 0/3] x86: make pat and mtrr independent from each other

2022-08-15 Thread Thorsten Leemhuis
Hi Chuck! On 15.08.22 18:56, Chuck Zmudzinski wrote: > > I am forwarding this to you to help you cut through the noise. Sorry for not replying earlier, I ignored this thread and all other non-urgent mail in the past two weeks: I was on vacation until a few days ago and when I came home I had to

Re: [PATCH 0/3] x86: make pat and mtrr independent from each other

2022-07-17 Thread Thorsten Leemhuis
Hi Juergen! On 15.07.22 16:25, Juergen Gross wrote: > Today PAT can't be used without MTRR being available, unless MTRR is at > least configured via CONFIG_MTRR and the system is running as Xen PV > guest. In this case PAT is automatically available via the hypervisor, > but the PAT MSR can't be

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-14 Thread Thorsten Leemhuis
On 15.07.22 04:07, Chuck Zmudzinski wrote: > On 7/14/2022 1:30 AM, Thorsten Leemhuis wrote: >> On 13.07.22 03:36, Chuck Zmudzinski wrote: >>> The commit 99c13b8c8896d7bcb92753bf >>> ("x86/mm/pat: Don't report PAT on CPUs that don't support it") >>&

Re: [PATCH v2] Subject: x86/PAT: Report PAT on CPUs that support PAT without MTRR

2022-07-13 Thread Thorsten Leemhuis
On 13.07.22 03:36, Chuck Zmudzinski wrote: > The commit 99c13b8c8896d7bcb92753bf > ("x86/mm/pat: Don't report PAT on CPUs that don't support it") > incorrectly failed to account for the case in init_cache_modes() when > CPUs do support PAT and falsely reported PAT to be disabled when in > fact PAT

Re: Ping: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-07-05 Thread Thorsten Leemhuis
[CCing tglx, mingo, Boris and Juergen] On 04.07.22 14:26, Jan Beulich wrote: > On 04.07.2022 13:58, Thorsten Leemhuis wrote: >> On 25.05.22 10:55, Jan Beulich wrote: >>> On 28.04.2022 16:50, Jan Beulich wrote: >>>> The latest with commit bdd8b6c98239 (&quo

Re: Ping: [PATCH] x86/PAT: have pat_enabled() properly reflect state when running on e.g. Xen

2022-07-04 Thread Thorsten Leemhuis
On 25.05.22 10:55, Jan Beulich wrote: > On 28.04.2022 16:50, Jan Beulich wrote: >> The latest with commit bdd8b6c98239 ("drm/i915: replace X86_FEATURE_PAT >> with pat_enabled()") pat_enabled() returning false (because of PAT >> initialization being suppressed in the absence of MTRRs being

Re: [PATCH 1/2] x86/pat: fix x86_has_pat_wp()

2022-06-20 Thread Thorsten Leemhuis
On 20.06.22 07:30, Juergen Gross wrote: > On 20.06.22 07:22, Thorsten Leemhuis wrote: >> On 14.06.22 17:09, Juergen Gross wrote: >>> On 03.05.22 15:22, Juergen Gross wrote: >>>> x86_has_pat_wp() is using a wrong test, as it relies on the normal >>>> PAT

Re: [PATCH 1/2] x86/pat: fix x86_has_pat_wp()

2022-06-19 Thread Thorsten Leemhuis
On 14.06.22 17:09, Juergen Gross wrote: > On 03.05.22 15:22, Juergen Gross wrote: >> x86_has_pat_wp() is using a wrong test, as it relies on the normal >> PAT configuration used by the kernel. In case the PAT MSR has been >> setup by another entity (e.g. BIOS or Xen hypervisor) it might return >>

Re: [PATCH 2/2] x86/pat: add functions to query specific cache mode availability

2022-05-25 Thread Thorsten Leemhuis
On 25.05.22 10:37, Jan Beulich wrote: > On 25.05.2022 09:45, Thorsten Leemhuis wrote: >> On 24.05.22 20:32, Chuck Zmudzinski wrote: >>> On 5/21/22 6:47 AM, Thorsten Leemhuis wrote: >>>> I'm not a developer and I'm don't known the details of this thread and >&g

Re: [PATCH 2/2] x86/pat: add functions to query specific cache mode availability

2022-05-25 Thread Thorsten Leemhuis
On 24.05.22 20:32, Chuck Zmudzinski wrote: > On 5/21/22 6:47 AM, Thorsten Leemhuis wrote: >> On 20.05.22 16:48, Chuck Zmudzinski wrote: >>> On 5/20/2022 10:06 AM, Jan Beulich wrote: >>>> On 20.05.2022 15:33, Chuck Zmudzinski wrote: >>>>

Re: [PATCH 2/2] x86/pat: add functions to query specific cache mode availability

2022-05-21 Thread Thorsten Leemhuis
On 20.05.22 16:48, Chuck Zmudzinski wrote: > On 5/20/2022 10:06 AM, Jan Beulich wrote: >> On 20.05.2022 15:33, Chuck Zmudzinski wrote: >>> On 5/20/2022 5:41 AM, Jan Beulich wrote: On 20.05.2022 10:30, Chuck Zmudzinski wrote: > On 5/20/2022 2:59 AM, Chuck Zmudzinski wrote: >> On