RE: [PATCH] Ensure PSR.ac is cleared for early userspace

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

 



> Well, then let's make it a boot option (or a sysctl). The default must
> be psr.ac = 1, but if the admin sees "unaligned access" messages and
> knows that there is no way of getting a (timely) fix for that particular
> production system, s/he should be able to turn them off.

Nice in theory ... but since the setting of psr.ac happens as an immediate
value in the instructions in all the trap handlers, this would require
yet another batch of kernel patching its own code ... which we do plenty
of already ... but I'm not feeling in the mood to add more for this.

I've been swayed by Rick's arguments ... we don't appear to have
much of a problem at the moment with kernel unaligned accesses, so
let's try to keep it that way.  I'm putting in a patch that turns
on psr.ac in head.S so we do strict aligment checking all the time
in the kernel.

-Tony
��.n��������+%������w��{.n�����{��&�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f


[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux