* [PATCH] scripts/tags.sh: Teach tags about some powerpc macros
@ 2015-09-22 3:08 Michael Ellerman
2015-10-13 5:18 ` Michael Ellerman
0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2015-09-22 3:08 UTC (permalink / raw)
To: mmarek; +Cc: linuxppc-dev
The IO accessors on powerpc are generated using macro fu, ie. out_be32()
etc. Also there are some debugger related symbols that are macro
generated. Teach scripts/tags.sh about both.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
scripts/tags.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 8e5aee6d9da2..262889046703 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -198,6 +198,8 @@ exuberant()
--regex-c++='/TASK_PFA_TEST\([^,]*,\s*([^)]*)\)/task_\1/' \
--regex-c++='/TASK_PFA_SET\([^,]*,\s*([^)]*)\)/task_set_\1/' \
--regex-c++='/TASK_PFA_CLEAR\([^,]*,\s*([^)]*)\)/task_clear_\1/'\
+ --regex-c++='/DEF_MMIO_(IN|OUT)_(X|D)\(([^,]*),\s*[^)]*\)/\3/' \
+ --regex-c++='/DEBUGGER_BOILERPLATE\(([^,]*)\)/\1/' \
--regex-c='/PCI_OP_READ\((\w*).*[1-4]\)/pci_bus_read_config_\1/' \
--regex-c='/PCI_OP_WRITE\((\w*).*[1-4]\)/pci_bus_write_config_\1/' \
--regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/' \
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/tags.sh: Teach tags about some powerpc macros
2015-09-22 3:08 [PATCH] scripts/tags.sh: Teach tags about some powerpc macros Michael Ellerman
@ 2015-10-13 5:18 ` Michael Ellerman
2015-10-13 11:54 ` Michal Marek
0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2015-10-13 5:18 UTC (permalink / raw)
To: mmarek; +Cc: linuxppc-dev
On Tue, 2015-09-22 at 13:08 +1000, Michael Ellerman wrote:
> The IO accessors on powerpc are generated using macro fu, ie. out_be32()
> etc. Also there are some debugger related symbols that are macro
> generated. Teach scripts/tags.sh about both.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
> scripts/tags.sh | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index 8e5aee6d9da2..262889046703 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -198,6 +198,8 @@ exuberant()
> --regex-c++='/TASK_PFA_TEST\([^,]*,\s*([^)]*)\)/task_\1/' \
> --regex-c++='/TASK_PFA_SET\([^,]*,\s*([^)]*)\)/task_set_\1/' \
> --regex-c++='/TASK_PFA_CLEAR\([^,]*,\s*([^)]*)\)/task_clear_\1/'\
> + --regex-c++='/DEF_MMIO_(IN|OUT)_(X|D)\(([^,]*),\s*[^)]*\)/\3/' \
> + --regex-c++='/DEBUGGER_BOILERPLATE\(([^,]*)\)/\1/' \
> --regex-c='/PCI_OP_READ\((\w*).*[1-4]\)/pci_bus_read_config_\1/' \
> --regex-c='/PCI_OP_WRITE\((\w*).*[1-4]\)/pci_bus_write_config_\1/' \
> --regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/' \
Michal, do you want to take this one or should I ?
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/tags.sh: Teach tags about some powerpc macros
2015-10-13 5:18 ` Michael Ellerman
@ 2015-10-13 11:54 ` Michal Marek
2015-10-13 22:56 ` Michael Ellerman
0 siblings, 1 reply; 4+ messages in thread
From: Michal Marek @ 2015-10-13 11:54 UTC (permalink / raw)
To: Michael Ellerman; +Cc: linuxppc-dev
On 2015-10-13 07:18, Michael Ellerman wrote:
> On Tue, 2015-09-22 at 13:08 +1000, Michael Ellerman wrote:
>> The IO accessors on powerpc are generated using macro fu, ie. out_be32()
>> etc. Also there are some debugger related symbols that are macro
>> generated. Teach scripts/tags.sh about both.
>>
>> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
>> ---
>> scripts/tags.sh | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/scripts/tags.sh b/scripts/tags.sh
>> index 8e5aee6d9da2..262889046703 100755
>> --- a/scripts/tags.sh
>> +++ b/scripts/tags.sh
>> @@ -198,6 +198,8 @@ exuberant()
>> --regex-c++='/TASK_PFA_TEST\([^,]*,\s*([^)]*)\)/task_\1/' \
>> --regex-c++='/TASK_PFA_SET\([^,]*,\s*([^)]*)\)/task_set_\1/' \
>> --regex-c++='/TASK_PFA_CLEAR\([^,]*,\s*([^)]*)\)/task_clear_\1/'\
>> + --regex-c++='/DEF_MMIO_(IN|OUT)_(X|D)\(([^,]*),\s*[^)]*\)/\3/' \
>> + --regex-c++='/DEBUGGER_BOILERPLATE\(([^,]*)\)/\1/' \
>> --regex-c='/PCI_OP_READ\((\w*).*[1-4]\)/pci_bus_read_config_\1/' \
>> --regex-c='/PCI_OP_WRITE\((\w*).*[1-4]\)/pci_bus_write_config_\1/' \
>> --regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/' \
>
>
> Michal, do you want to take this one or should I ?
I applied it to kbuild.git#misc.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scripts/tags.sh: Teach tags about some powerpc macros
2015-10-13 11:54 ` Michal Marek
@ 2015-10-13 22:56 ` Michael Ellerman
0 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2015-10-13 22:56 UTC (permalink / raw)
To: Michal Marek; +Cc: linuxppc-dev
On Tue, 2015-10-13 at 13:54 +0200, Michal Marek wrote:
> On 2015-10-13 07:18, Michael Ellerman wrote:
> > On Tue, 2015-09-22 at 13:08 +1000, Michael Ellerman wrote:
> >> The IO accessors on powerpc are generated using macro fu, ie. out_be32()
> >> etc. Also there are some debugger related symbols that are macro
> >> generated. Teach scripts/tags.sh about both.
> >>
> >> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> >> ---
> >> scripts/tags.sh | 2 ++
> >> 1 file changed, 2 insertions(+)
> >>
> >> diff --git a/scripts/tags.sh b/scripts/tags.sh
> >> index 8e5aee6d9da2..262889046703 100755
> >> --- a/scripts/tags.sh
> >> +++ b/scripts/tags.sh
> >> @@ -198,6 +198,8 @@ exuberant()
> >> --regex-c++='/TASK_PFA_TEST\([^,]*,\s*([^)]*)\)/task_\1/' \
> >> --regex-c++='/TASK_PFA_SET\([^,]*,\s*([^)]*)\)/task_set_\1/' \
> >> --regex-c++='/TASK_PFA_CLEAR\([^,]*,\s*([^)]*)\)/task_clear_\1/'\
> >> + --regex-c++='/DEF_MMIO_(IN|OUT)_(X|D)\(([^,]*),\s*[^)]*\)/\3/' \
> >> + --regex-c++='/DEBUGGER_BOILERPLATE\(([^,]*)\)/\1/' \
> >> --regex-c='/PCI_OP_READ\((\w*).*[1-4]\)/pci_bus_read_config_\1/' \
> >> --regex-c='/PCI_OP_WRITE\((\w*).*[1-4]\)/pci_bus_write_config_\1/' \
> >> --regex-c='/DEFINE_(MUTEX|SEMAPHORE|SPINLOCK)\((\w*)/\2/v/' \
> >
> >
> > Michal, do you want to take this one or should I ?
>
> I applied it to kbuild.git#misc.
Thanks.
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-13 22:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-22 3:08 [PATCH] scripts/tags.sh: Teach tags about some powerpc macros Michael Ellerman
2015-10-13 5:18 ` Michael Ellerman
2015-10-13 11:54 ` Michal Marek
2015-10-13 22:56 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).