[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SA1PR11MB6734182B172E9204CD11688CA8F9A@SA1PR11MB6734.namprd11.prod.outlook.com>
Date: Wed, 20 Sep 2023 17:23:48 +0000
From: "Li, Xin3" <xin3.li@...el.com>
To: Nikolay Borisov <nik.borisov@...e.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>
CC: "tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"bp@...en8.de" <bp@...en8.de>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
"Lutomirski, Andy" <luto@...nel.org>,
"pbonzini@...hat.com" <pbonzini@...hat.com>,
"Christopherson,, Sean" <seanjc@...gle.com>,
"peterz@...radead.org" <peterz@...radead.org>,
"Gross, Jurgen" <jgross@...e.com>,
"Shankar, Ravi V" <ravi.v.shankar@...el.com>,
"mhiramat@...nel.org" <mhiramat@...nel.org>,
"andrew.cooper3@...rix.com" <andrew.cooper3@...rix.com>,
"jiangshanlai@...il.com" <jiangshanlai@...il.com>
Subject: RE: [PATCH v10 16/38] x86/ptrace: Add FRED additional information to
the pt_regs structure
> > +struct fred_ss {
> > + u64 ss : 16, // SS selector
>
> Is this structure conformant to the return state as described in FRED 5.0?
>
> — The stack segment of the interrupted context, 64 bits formatted as follows:
>
> • Bits 15:0 contain the SS selector. < - WE HAVE THIS
>
> • Bits 31:16 are not currently defined and will be zero until they are.
Where did you download the FRED 5.0 spec from?
Mine says bit 16 is sti, bit 17 for sw initiated events and bit 18 is NMI.
I guess you have FRED 3.0 spec, no?
> < - MISSING > hole?
>
> > + sti : 1, // STI state < -
> > + swevent : 1, // Set if syscall, sysenter or INT n
> > + nmi : 1, // Event is NMI type
> > + : 13,
Powered by blists - more mailing lists