On Friday 30 September 2016 15:14:42 okaya@codeaurora.org wrote: > On 2016-09-30 02:44, Ondrej Zary wrote: > > On Friday 30 September 2016, Sinan Kaya wrote: > >> On 9/29/2016 2:00 PM, Ondrej Zary wrote: > >> >> The previous two patches were in the right direction. > >> >> > >> >> > Can we also get the same output from 4.6 kernel with the attached > >> >> > patch for the same machine you sent these? > >> > > >> > Here it is. > >> > > >> >> > Something about SCI still doesn't feel right. > >> >> > > >> >> > The IRQ assignment fails if the penalty is greater than > >> >> > PIRQ_PENALTY_ISA_ALWAYS. This will happen if BIOS tells us to use > >> >> > an IRQ and same IRQ is in use by the SCI. > >> > >> Thanks, I reverted penalize_sci function and dropped patch #1. Can you > >> try > >> this again? > > > > It seems to work, at least on one machine. > > Ok, that comfirms my suspicion. We are having trouble detecting sci > interrupt type and we end up penalizing the wrong value. > > Can you try your other machines too? Works on the 2nd one too. > I need to do some research now. -- Ondrej Zary