linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the rust tree with the coresight tree
@ 2021-11-30  3:06 Stephen Rothwell
  2021-11-30 10:00 ` Miguel Ojeda
  2021-11-30 19:56 ` Mathieu Poirier
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2021-11-30  3:06 UTC (permalink / raw)
  To: Miguel Ojeda, Mathieu Poirier
  Cc: Alex Gaynor, Ayaan Zaidi, Boris-Chengbiao Zhou, Finn Behrens,
	Gary Guo, Greg Kroah-Hartman, Linux Kernel Mailing List,
	Linux Next Mailing List, Miguel Ojeda, Mike Leach,
	Sven Van Asbroeck, Wedson Almeida Filho

[-- Attachment #1: Type: text/plain, Size: 2083 bytes --]

Hi all,

Today's linux-next merge of the rust tree got conflicts in:

  samples/Kconfig
  samples/Makefile

between commit:

  ede5bab874f5 ("coresight: syscfg: Example CoreSight configuration loadable module")

from the coresight tree and commit:

  2218f3460793 ("samples: add Rust examples")

from the rust tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc samples/Kconfig
index 22cc921ae291,8cbd6490823f..000000000000
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@@ -241,19 -223,6 +241,21 @@@ config SAMPLE_WATCH_QUEU
  	  Build example userspace program to use the new mount_notify(),
  	  sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
  
 +config SAMPLE_CORESIGHT_SYSCFG
 +	tristate "Build example loadable module for CoreSight config"
 +	depends on CORESIGHT && m
 +	help
 +	  Build an example loadable module that adds new CoreSight features
 +	  and configuration using the CoreSight system configuration API.
 +	  This demonstrates how a user may create their own CoreSight
 +	  configurations and easily load them into the system at runtime.
 +
+ source "samples/rust/Kconfig"
+ 
  endif # SAMPLES
 +
 +config HAVE_SAMPLE_FTRACE_DIRECT
 +	bool
 +
 +config HAVE_SAMPLE_FTRACE_DIRECT_MULTI
 +	bool
diff --cc samples/Makefile
index 1ae4de99c983,291663e56a3c..000000000000
--- a/samples/Makefile
+++ b/samples/Makefile
@@@ -32,4 -30,4 +32,5 @@@ obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei
  subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
  subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
  obj-$(CONFIG_DEBUG_KMEMLEAK_TEST)	+= kmemleak/
 +obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG)	+= coresight/
+ obj-$(CONFIG_SAMPLES_RUST)		+= rust/

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: manual merge of the rust tree with the coresight tree
  2021-11-30  3:06 linux-next: manual merge of the rust tree with the coresight tree Stephen Rothwell
@ 2021-11-30 10:00 ` Miguel Ojeda
  2021-11-30 19:56 ` Mathieu Poirier
  1 sibling, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2021-11-30 10:00 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Mathieu Poirier, Alex Gaynor, Ayaan Zaidi, Boris-Chengbiao Zhou,
	Finn Behrens, Gary Guo, Greg Kroah-Hartman,
	Linux Kernel Mailing List, Linux Next Mailing List, Miguel Ojeda,
	Mike Leach, Sven Van Asbroeck, Wedson Almeida Filho

On Tue, Nov 30, 2021 at 4:06 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.

ACK -- looks good to me. Thanks!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: manual merge of the rust tree with the coresight tree
  2021-11-30  3:06 linux-next: manual merge of the rust tree with the coresight tree Stephen Rothwell
  2021-11-30 10:00 ` Miguel Ojeda
@ 2021-11-30 19:56 ` Mathieu Poirier
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Poirier @ 2021-11-30 19:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Miguel Ojeda, Alex Gaynor, Ayaan Zaidi, Boris-Chengbiao Zhou,
	Finn Behrens, Gary Guo, Greg Kroah-Hartman,
	Linux Kernel Mailing List, Linux Next Mailing List, Miguel Ojeda,
	Mike Leach, Sven Van Asbroeck, Wedson Almeida Filho

On Mon, 29 Nov 2021 at 20:06, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Hi all,
>
> Today's linux-next merge of the rust tree got conflicts in:
>
>   samples/Kconfig
>   samples/Makefile
>
> between commit:
>
>   ede5bab874f5 ("coresight: syscfg: Example CoreSight configuration loadable module")
>
> from the coresight tree and commit:
>
>   2218f3460793 ("samples: add Rust examples")
>
> from the rust tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.

Stephen: Thanks for addressing this.

Miguel: I have created an immutable branch that you can pull from [1].

Regards,
Mathieu

[1]. https://git.kernel.org/pub/scm/linux/kernel/git/coresight/linux.git/log/?h=next-immutable

>
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc samples/Kconfig
> index 22cc921ae291,8cbd6490823f..000000000000
> --- a/samples/Kconfig
> +++ b/samples/Kconfig
> @@@ -241,19 -223,6 +241,21 @@@ config SAMPLE_WATCH_QUEU
>           Build example userspace program to use the new mount_notify(),
>           sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.
>
>  +config SAMPLE_CORESIGHT_SYSCFG
>  +      tristate "Build example loadable module for CoreSight config"
>  +      depends on CORESIGHT && m
>  +      help
>  +        Build an example loadable module that adds new CoreSight features
>  +        and configuration using the CoreSight system configuration API.
>  +        This demonstrates how a user may create their own CoreSight
>  +        configurations and easily load them into the system at runtime.
>  +
> + source "samples/rust/Kconfig"
> +
>   endif # SAMPLES
>  +
>  +config HAVE_SAMPLE_FTRACE_DIRECT
>  +      bool
>  +
>  +config HAVE_SAMPLE_FTRACE_DIRECT_MULTI
>  +      bool
> diff --cc samples/Makefile
> index 1ae4de99c983,291663e56a3c..000000000000
> --- a/samples/Makefile
> +++ b/samples/Makefile
> @@@ -32,4 -30,4 +32,5 @@@ obj-$(CONFIG_SAMPLE_INTEL_MEI)                += mei
>   subdir-$(CONFIG_SAMPLE_WATCHDOG)      += watchdog
>   subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)   += watch_queue
>   obj-$(CONFIG_DEBUG_KMEMLEAK_TEST)     += kmemleak/
>  +obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight/
> + obj-$(CONFIG_SAMPLES_RUST)            += rust/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-30 19:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30  3:06 linux-next: manual merge of the rust tree with the coresight tree Stephen Rothwell
2021-11-30 10:00 ` Miguel Ojeda
2021-11-30 19:56 ` Mathieu Poirier

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).