From mboxrd@z Thu Jan 1 00:00:00 1970 From: Venkat Subbiah Subject: Re: 3.04-rt14 patch applies against which version? Date: Tue, 20 Sep 2011 18:03:13 -0700 Message-ID: <4E7937D1.4090203@caviumnetworks.com> References: <4E791F5D.8000105@caviumnetworks.com> <4E792D0A.5070209@caviumnetworks.com> <4E793292.9050801@am.sony.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sankara Muthukrishnan , "linux-rt-users@vger.kernel.org" To: frank.rowand@am.sony.com Return-path: Received: from mail3.caviumnetworks.com ([12.108.191.235]:17327 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711Ab1IUBK7 (ORCPT ); Tue, 20 Sep 2011 21:10:59 -0400 In-Reply-To: <4E793292.9050801@am.sony.com> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On 09/20/2011 05:40 PM, Frank Rowand wrote: > < Re-ordered to move the top posts down to bottom posts (hint).> Thanks. Got the hint :) > > On 09/20/11 17:17, Venkat Subbiah wrote: > >> On 09/20/2011 05:16 PM, Sankara Muthukrishnan wrote: >>> On Tue, Sep 20, 2011 at 6:18 PM, Venkat Subbiah >>> wrote: >>>> Hello RT >>>> >>>> Got the 3.0.4-rt14 patch from the link in the message below and >>>> tried to apply this to the v3.0-rc4 tag from the linux mainline >>>> git repo. It didn't apply cleanly and I got a couple of rejects. >>>> So was wondering whether I am applying it against the correct >>>> version of the kernel? Against which tag in the repo does this >>>> apply against? >>>> >>>> http://www.spinics.net/lists/linux-rt-users/msg06997.html > Go back to the original announcement: > > http://www.spinics.net/lists/linux-rt-users/msg06996.html > > Where Thomas tells you where to get 3.0.4 from: > > For those who don't have 3.0.4 around: > > git://tesla.tglx.de/git/linux-2.6-tip rt/3.0 > > https://tglx.de/~tglx/rt/patch-3.0.4.gz > > > (I too overlooked that useful info and had to ask...) > > patch-3.0.4.gz applies directly on top of 3.0 > > Thanks for the info. I did see the kernel but didn't want to get the whole repo and I assumed it will probably apply against the repo from mainline. I did aplly now against v3.0 from mainline and it did apply pretty clean. There was one reject which is below and a few hunks which succeeded with offsets. venkat@vs-lnx:~/work/kernel/linux.git.mainline$ more ./kernel/stop_machine.c.rej --- kernel/stop_machine.c +++ kernel/stop_machine.c @@ -151,6 +169,7 @@ } DEFINE_MUTEX(stop_cpus_mutex); +static DEFINE_MUTEX(stopper_lock); /* static data for stop_cpus */ static DEFINE_PER_CPU(struct cpu_stop_work, stop_cpus_work); >>> I think v3.0-rc4 is different from v3.0.4. You should use v3.0.4. >>> As kernel.org is down, I can't point you to the git tree details. >>> For instance, you can use the following mirror: >>> http://mirror.yandex.ru/kernel.org/linux/kernel/v3.0/linux-3.0.4.tar.bz2 >>> >>> >>> Thanks, >>> Sankara >> Thanks for the link. >> >> I pulled this git repo from >> http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> about a couple of weeks agon and I see only these tags for 3.0 >> >> ....../linux.git.mainline$ git tag | grep 3.0 v3.0 v3.0-rc1 v3.0-rc2 >> v3.0-rc3 v3.0-rc4 v3.0-rc5 v3.0-rc6 v3.0-rc7 >> >> Thanks, Venkat >