From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org,
Tomaso Paoletti <tpaoletti@caviumnetworks.com>,
Paul Gortmaker <Paul.Gortmaker@windriver.com>
Subject: Re: [PATCH 18/29] MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family.
Date: Fri, 07 Nov 2008 20:59:05 +0300 [thread overview]
Message-ID: <491481E9.1090203@ru.mvista.com> (raw)
In-Reply-To: <491479FD.9020402@caviumnetworks.com>
Hello.
David Daney wrote:
>>>>> Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
>>>>> Signed-off-by: Paul Gortmaker <Paul.Gortmaker@windriver.com>
>>>>> Signed-off-by: David Daney <ddaney@caviumnetworks.com>
>>>>> diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h
>>>>> index 0ff5b52..e6f419f 100644
>>>>> --- a/arch/mips/include/asm/smp.h
>>>>> +++ b/arch/mips/include/asm/smp.h
>>>>> @@ -37,6 +37,9 @@ extern int __cpu_logical_map[NR_CPUS];
>>>>>
>>>>> #define SMP_RESCHEDULE_YOURSELF 0x1 /* XXX braindead */
>>>>> #define SMP_CALL_FUNCTION 0x2
>>>>> +/* Octeon - Tell another core to flush its icache */
>>>>> +#define SMP_ICACHE_FLUSH 0x4
>>>>> +
>>>> Sigh, again new macro without users...
>>> The users are in 01/29 and 04/29, perhaps you missed them.
>> Using before defining? Cool. :-]
> We are currently touching 82 files. I think the patch set is bisectable
> for non-octeon targets.
> If you would like me to move the Kconfig patch to the end, I can do
> that. That way you wouldn't have any breakage for octeon if you were to
> only apply a subset of the patches. Other than that, there are
> currently no plans to restructure this patch set to try to maintain
> rigorous define before use ordering.
Maybe it's just me, but IMHO first using the macro and then, 15 patches
after that, having a patch that just adds that macro, is going against the
common sense...
> David Daney
WBR, Sergei
next prev parent reply other threads:[~2008-11-07 17:59 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 20:52 [PATCH 00/29] Add Cavium OCTEON processor support (v3) David Daney
2008-11-06 20:54 ` [PATCH 01/29] MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon David Daney
2008-11-06 20:54 ` [PATCH 02/29] MIPS: Add Cavium OCTEON files to arch/mips/include/asm/mach-cavium-octeon David Daney
2008-11-06 20:54 ` [PATCH 03/29] MIPS: Add Cavium OCTEON processor support files to arch/mips/kernel David Daney
2008-11-10 6:51 ` Guijin Gao
2008-11-06 20:54 ` [PATCH 04/29] MIPS: Add Cavium OCTEON processor support files to arch/mips/mm David Daney
2008-11-06 20:54 ` [PATCH 05/29] MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon/executive and asm/octeon David Daney
2008-11-07 8:37 ` Christoph Hellwig
2008-11-07 17:14 ` David Daney
2008-11-06 20:54 ` [PATCH 06/29] MIPS: For Cavium OCTEON handle hazards as per the R10000 handling David Daney
2008-11-06 20:54 ` [PATCH 07/29] MIPS: For Cavium OCTEON set hwrena and lazily restore CP2 state David Daney
2008-11-06 20:54 ` [PATCH 08/29] MIPS: Add Cavium OCTEON to arch/mips/Kconfig David Daney
2008-11-06 20:54 ` [PATCH 09/29] MIPS: Add Cavium OCTEON processor constants David Daney
2008-11-06 20:54 ` [PATCH 10/29] MIPS: Add Cavium OCTEON specific register definitions to mipsregs.h David Daney
2008-11-06 20:54 ` [PATCH 11/29] MIPS: Override assembler target architecture for octeon David Daney
2008-11-06 20:54 ` [PATCH 12/29] MIPS: Probe for Cavium OCTEON CPUs David Daney
2008-11-06 20:54 ` [PATCH 13/29] MIPS: Hook Cavium OCTEON cache init into cache.c David Daney
2008-11-06 20:54 ` [PATCH 14/29] MIPS: Hook up Cavium OCTEON in arch/mips David Daney
2008-11-06 20:54 ` [PATCH 15/29] MIPS: Modify core io.h macros to account for the Octeon Errata Core-301 David Daney
2008-11-06 20:54 ` [PATCH 16/29] MIPS: Add Cavium OCTEON cop2/cvmseg state entries to processor.h David Daney
2008-11-06 20:54 ` [PATCH 17/29] MIPS: Add Cavium OCTEON specific registers to ptrace.h and asm-offsets.c David Daney
2008-11-06 20:54 ` [PATCH 18/29] MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family David Daney
2008-11-06 23:34 ` Sergei Shtylyov
2008-11-07 0:05 ` David Daney
2008-11-07 16:27 ` Sergei Shtylyov
2008-11-07 17:25 ` David Daney
2008-11-07 17:59 ` Sergei Shtylyov [this message]
2008-11-07 21:38 ` Maciej W. Rozycki
2008-11-06 20:54 ` [PATCH 19/29] MIPS: Cavium OCTEON: PT vs MFC0 reorder, multiplier state preservation David Daney
2008-11-06 20:54 ` [PATCH 20/29] MIPS: Add Cavium OCTEON irq hazard in asmmacro.h David Daney
2008-11-06 20:54 ` [PATCH 21/29] MIPS: Compute branch returns for Cavium OCTEON specific branch instructions David Daney
2008-11-06 20:54 ` [PATCH 22/29] MIPS: Add Cavium OCTEON slot into proper tlb category David Daney
2008-11-06 20:57 ` [PATCH 23/29] 8250: Don't clobber spinlocks David Daney
2008-11-06 20:57 ` [PATCH 24/29] 8250: Serial driver changes to support future Cavium OCTEON serial patches David Daney
2008-11-06 20:57 ` [PATCH 25/29] Serial: Allow port type to be specified when calling serial8250_register_port David Daney
2008-11-06 20:57 ` [PATCH 26/29] 8250: Allow port type to specify bugs that are not probed for David Daney
2008-11-06 20:57 ` [PATCH 27/29] Serial: UART driver changes for Cavium OCTEON David Daney
2008-11-06 20:57 ` [PATCH 28/29] MIPS: Adjust the dma-common.c platform hooks David Daney
2008-11-06 20:57 ` [PATCH 29/29] MIPS: Add defconfig for Cavium OCTEON David Daney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=491481E9.1090203@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=Paul.Gortmaker@windriver.com \
--cc=ddaney@caviumnetworks.com \
--cc=linux-mips@linux-mips.org \
--cc=tpaoletti@caviumnetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox