linux-mips
[Top] [All Lists]

Re: [PATCH v3 1/3] Loongson-2F: Flush the branch target history such as

To: Andreas Barth <aba@not.so.argh.org>
Subject: Re: [PATCH v3 1/3] Loongson-2F: Flush the branch target history such as BTB and RAS
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Sat, 03 Apr 2010 09:42:55 +0800
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=TqmLzh3tk62OgCfAHtx9d5B4mj7XQafF2uQTwtkvbAs=; b=C4P0ig7W81zYLeKumGD1pluL3RhLtS0hu+aW7l0BvL0M6NYxkgwS1A1msEPlo2YyG+ 4SN/Tr2MO9fYJyHIEJGpCxOwQneAG74q1JtkVAzhLNLFDra3sMnlisGXSe1DBj8C9BFO r4S1R+pn5/l1Ld9KYglTHgrtoqhPTB9SxnsSw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=jiYhPpX8zhIt+NIjBjrHx6tYZh4zZxmqj+GDVANFRdkPJ9kbDdUt0Nr42hcSkYgZTC CCuxQVyk9H9U04Bt1ORr5IJN8zHz35Fo123CALMlZF4vcVTtvEY13cr4k6XMi84y0inu AhV0XcKDUpQ0u66MnogmuAVqosOMk5Pz4h+P8=
In-reply-to: <20100402145401.GS27216@mails.so.argh.org>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1268453720.git.wuzhangjin@gmail.com> <05e2ba2596f23fa4dda64d63ce2480504b1be4ac.1268453720.git.wuzhangjin@gmail.com> <20100402145401.GS27216@mails.so.argh.org>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Fri, 2010-04-02 at 16:54 +0200, Andreas Barth wrote:
> * Wu Zhangjin (wuzhangjin@gmail.com) [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


<Prev in Thread] Current Thread [Next in Thread>