Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E8FFC433F5 for ; Tue, 30 Nov 2021 19:56:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343545AbhK3T7k (ORCPT ); Tue, 30 Nov 2021 14:59:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239994AbhK3T7j (ORCPT ); Tue, 30 Nov 2021 14:59:39 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01BFBC061746 for ; Tue, 30 Nov 2021 11:56:19 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id r11so91721589edd.9 for ; Tue, 30 Nov 2021 11:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6GXymcf20/tyU64faJ16HT7GhE7oUgqqtxROPuK/ehk=; b=Kk+HtvsBgApjEoG809LTSaTw/UcktgbjMizo5afACpOsUDneCupa5hXEtLKn/WL1db SuBVMQNyu3egNaJBS84GnAGTTUxucDrYlYXuHkeKyxXZnebJsuxoCNWkTepsK3qy7pcu DLwIkv+RKGpZNAVs3gu9NCJvL/dFqAZUD/VX99JRM++FXgZJEa9JjV9qYHquckpDgYZB AK6xjSxoaj47ZkER6jbwHxnl1MdNwhZsdAlj+LjIWDKRVKpWW+tMIYBJblfVjGwv8eQS G8tdVKzjOF8D6Gl35Tn8Nx9CDYTeGob0Fkb12AyNYoAOHAPqOIgalmmCX0+1NmGbjzHt kDhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6GXymcf20/tyU64faJ16HT7GhE7oUgqqtxROPuK/ehk=; b=5/oCkIuk1PJaHKZRRJZE9AOxAUR/cRX/v7MoHAvdoMBb/f4O+/PBUjry7UyBCRWDcl miRyvHyXvUHa6+Wdt/AmnJQXQHYHZMDRsy2xEDm6r/JtrVf0YxjBR9sdIxhbuX3KcCcW BFYhs9ObMPQiH4WyfVUG6/7Qa98uhIuH3Iv8NcTmiSJqlFzTswAkgY3Iac0RyfxDGUw/ pgRpyviTW7wmWjg2KFWBtEs6ucMgwVjuOCwQDahqXFzK5tqhHbzlqU1vSYisehXgHN/G KzBTil9MnhgBL7qUsYdNxCY7tFgAev05gE8M6/kvYcwohGGAMSJMHeVMoZIyLE8ZHcZF 5OtA== X-Gm-Message-State: AOAM531kl3Yp9H1bXd7PXFeMabezKEKYsDlO+SwZG5cloforBwpa85QB MmjRwYE366d5UZuQFEgRprDQPrdrm4jqgZgiByt7JA== X-Google-Smtp-Source: ABdhPJzV7BV0kvUwM0hXGcUm6xt7SqCLH5KtYdocnCw24q7a0rJ4gq9JD0XXvtE7r8PV9l+lUyMbvZFdp+a2yo8C9p0= X-Received: by 2002:aa7:c30e:: with SMTP id l14mr1559237edq.370.1638302178502; Tue, 30 Nov 2021 11:56:18 -0800 (PST) MIME-Version: 1.0 References: <20211130140621.29261096@canb.auug.org.au> In-Reply-To: <20211130140621.29261096@canb.auug.org.au> From: Mathieu Poirier Date: Tue, 30 Nov 2021 12:56:06 -0700 Message-ID: Subject: Re: linux-next: manual merge of the rust tree with the coresight tree 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 29 Nov 2021 at 20:06, Stephen Rothwell 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/