Displaying 5 results from an estimated 5 matches for "io_apic_unique_id".
2018 Feb 09
0
retpoline mitigation and 6.0
On Fri, 2018-02-09 at 08:45 +0000, Chandler Carruth wrote:
> >
> > You're pushing the target (-0x20(%ebp)) onto the stack and then
> > *calling* __x86_indirect_thunk. So it looks like you're expecting
> > __x86_indirect_thunk to do something like
> >
> > call *4(%esp)
> > ret
> >
> > ... except that final 'ret' still
2018 Feb 09
2
retpoline mitigation and 6.0
...the function attribute? Having isolated the
> next boot failure to "it goes away if I compile io_apic.c without
> retpoline", bisecting it per-function would help to further delay the
> bit where I actually have to start *thinking*...
It's mp_register_ioapic(), and only when io_apic_unique_id() gets
inlined, at which point bad things start happening.
[ 0.000000] mp_register_ioapic, 0 fec00000 0 c1b2fe88
[ 0.000000] At line 412, gsi_base is 0
[ 0.000000] At line 425, gsi_base is -1043715332
[ 0.000000] At line 427, gsi_base is -1043715332
http://git.infradead.org/users/dwmw...
2018 Feb 09
2
retpoline mitigation and 6.0
On Fri, Feb 9, 2018 at 12:26 AM David Woodhouse <dwmw2 at infradead.org> wrote:
>
>
> On Fri, 2018-02-09 at 02:21 +0000, David Woodhouse wrote:
> > On Fri, 2018-02-09 at 01:18 +0000, David Woodhouse wrote:
> > >
> > >
> > > For now I'm just going to attempt to work around it like this in the
> > > kernel, so I can concentrate on the
2018 Feb 09
0
retpoline mitigation and 6.0
...aving isolated the
> > next boot failure to "it goes away if I compile io_apic.c without
> > retpoline", bisecting it per-function would help to further delay the
> > bit where I actually have to start *thinking*...
>
> It's mp_register_ioapic(), and only when io_apic_unique_id() gets
> inlined, at which point bad things start happening.
>
> [ 0.000000] mp_register_ioapic, 0 fec00000 0 c1b2fe88
> [ 0.000000] At line 412, gsi_base is 0
> [ 0.000000] At line 425, gsi_base is -1043715332
> [ 0.000000] At line 427, gsi_base is -1043715332
>...
2018 Feb 09
3
retpoline mitigation and 6.0
...> > next boot failure to "it goes away if I compile io_apic.c without
> > > retpoline", bisecting it per-function would help to further delay the
> > > bit where I actually have to start *thinking*...
> >
> > It's mp_register_ioapic(), and only when io_apic_unique_id() gets
> > inlined, at which point bad things start happening.
> >
> > [ 0.000000] mp_register_ioapic, 0 fec00000 0 c1b2fe88
> > [ 0.000000] At line 412, gsi_base is 0
> > [ 0.000000] At line 425, gsi_base is -1043715332
> > [ 0.000000] At line 427, g...