On Fri, 2010-04-02 at 16:54 +0200, Andreas Barth wrote: > * Wu Zhangjin (wuzhangjin@xxxxxxxxx) [100313 05:45]: > > This patch did clear BTB(branch target buffer), forbid RAS(return > > address stack) via Loongson-2F's 64bit diagnostic register. > > Unfortunatly the Loongson 2F here still fails with this patch, > compiled with the new binutils and both options enabled. > > Testcase: plain debian unstable chroot, build binutils in that chroot. > > More ideas, codes, whatever welcome. Hi, This patch is not enough, please use the kernel(>=2.6.32) from http://dev.lemote.com/code/rt4ls or http://dev.lemote.com/code/linux-loongson-community Regards, Wu Zhangjin