Skip to contentSkip to conversation

First patch questions (target mailing list, target tree)

DISCUSSION Wojciech Kudla 3 participants 5 messages May 10, 2020 – May 11, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to send a patch to arch/x86/kernel/smp.c but I'm not sure about 2 details:

1) which branch of whose tree do I crate the patch against? According to MAINTAINERS:

M:      Thomas Gleixner <[email protected]>
M:      Ingo Molnar <[email protected]>
R:      "H. Peter Anvin" <[email protected]>
M:      [email protected]
L:      [email protected]
T:      git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/core

Is this the right branch and the correct tree?

2) how do I access archives of [email protected]?

Thanks!

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#1 lore raw

On Sun, May 10, 2020 at 06:26:27PM +0100, Wojciech Kudla wrote:

(I'll let others answer your first question.)

Quoted 1 line

2) how do I access archives of [email protected]?

You cannot, because this is an alias, not a mailing list. You can use query filters on LKML to see what public messages were sent to that alias, e.g.:

https://lore.kernel.org/lkml/?q=tc%3Ax86%40kernel.org+d%3A20200301..

However, using more precise queries may be more useful, as the above returns too many hits to be useful.

-K

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#2 lore raw
Quoted 10 lines · Konstantin Ryabitsev

On Sun, May 10, 2020 at 06:26:27PM +0100, Wojciech Kudla wrote:

(I'll let others answer your first question.)

Quoted 1 line

2) how do I access archives of [email protected]?

You cannot, because this is an alias, not a mailing list. You can use query filters on LKML to see what public messages were sent to that alias, e.g.:

Quoted 7 lines

https://lore.kernel.org/lkml/?q=tc%3Ax86%40kernel.org+d%3A20200301..

However, using more precise queries may be more useful, as the above returns too many hits to be useful.

-K

The interface works but it's not very effective.
Is there any NNTP group I could subscribe to in order to get access to the full history, just like we have gmane.linux.kernel.kernelnewbies? I don't mind pulling everything for multiple aliases. I can filter it in my NNTP client anyway.

Thanks

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#3 lore raw
In reply to Wojciech Kudla
Quoted 4 lines · Wojciech Kudla

I'd like to send a patch to arch/x86/kernel/smp.c but I'm not sure about

1) which branch of whose tree do I crate the patch against? According to MAINTAINERS:

T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

There you go. In general, you're usually OK using either the current Linus
tree or linux-next tree. Unless you're doing work that directly intersects with other development, those should be quite good enough.

Linus's tree:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

To add linux-next to that:

$ git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next
... # later on
$ git remote update

Don't use 'git pull' against linux-next, because it's rebuilt every day. Strange and wondrous things will happen. That also means that you can't git bisect between (say) next-20200405 and next-20200503 (though you can bisect between a Linus v5.7-rc3 tag and a next- tag )

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#4 lore raw
Quoted 28 lines · Valdis Klētnieks
Quoted 4 lines · Wojciech Kudla

I'd like to send a patch to arch/x86/kernel/smp.c but I'm not sure about

1) which branch of whose tree do I crate the patch against? According to MAINTAINERS:

T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

There you go. In general, you're usually OK using either the current Linus
tree or linux-next tree. Unless you're doing work that directly intersects with other development, those should be quite good enough.

Linus's tree:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

To add linux-next to that:

$ git remote add linux-next git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
$ git fetch linux-next
$ git fetch --tags linux-next
... # later on
$ git remote update

Don't use 'git pull' against linux-next, because it's rebuilt every day. Strange and wondrous things will happen. That also means that you can't git bisect between (say) next-20200405 and next-20200503 (though you can bisect between a Linus v5.7-rc3 tag and a next- tag )

Quoted 5 lines

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

This is exactly what I was looking for. Thank you!

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies