[PATCH 0/7] More Niagara T3 related tweaks.

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

 



Report more CPU capabilities in ELF flags, and report them in
bootup logs and /proc/cpuinfo.  For example my /proc/cpuinfo
now has a line that reads:

cpucaps		: flush,stbar,swap,muldiv,v9,blkinit,n2,mul32,div32,v8plus,popc,vis,vis2,ASIBlkInit,fmaf,vis3,hpc

Don't use FPU for copies and clears of pages on Niagara T2, T2+, and
T3.  The Niagara T1 version is fast enough, and doesn't have the
potential overhead of FPU state save/restore. Unroll the loops a
little bit and use %asi register to decrease the overall cycle count.

If available use 'popc' for hweight*(), ffs(), __ffs(), and ffz().

More recent hypervisors have a new way to record the "reboot-cmd"
variable that is used to setup the boot command that will be used on
soft resets.  It's done purely via the hypervisor which allows
parallel boot, and also allows the boot string to propagate properly
into the next boot even if the service processor is down or in
degraded mode.

I intend to consolidate the code patching a little bit in the future.
We don't need all these different patch blob structures.  One with a
cleverly encoded instruction count will do.  Then we have one central
patching routine that takes "start_pointer, end_pointer".
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux