linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Wysocki, Rafael J" <rafael.j.wysocki@intel.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Zhang Rui <rui.zhang@intel.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	<linux-pm@vger.kernel.org>,
	Viresh Kimar <viresh.kumar@linaro.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: linux-next: manual merge of the thermal tree with the pm tree
Date: Thu, 5 Jan 2023 21:13:55 +0100	[thread overview]
Message-ID: <951809d2-bff1-cc62-0bf0-8dc9cef16f40@intel.com> (raw)
In-Reply-To: <ea9167d4-0978-fc4b-755f-8df09fc7360e@linaro.org>

On 1/5/2023 4:30 PM, Daniel Lezcano wrote:
> On 05/01/2023 15:27, Wysocki, Rafael J wrote:
>>
>> On 1/5/2023 12:35 AM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> On Thu, 5 Jan 2023 10:10:54 +1100 Stephen Rothwell 
>>> <sfr@canb.auug.org.au> wrote:
>>>> Today's linux-next merge of the thermal tree got a conflict in:
>>>>
>>>>    drivers/thermal/intel/x86_pkg_temp_thermal.c
>>>>
>>>> between commit:
>>>>
>>>>    58374a3970a0 ("thermal/x86_pkg_temp_thermal: Add support for 
>>>> handling dynamic tjmax")
>>>>
>>>> from the pm tree and commit:
>>>>
>>>>    03b2e86a24aa ("thermal/drivers/intel: Use generic 
>>>> thermal_zone_get_trip() function")
>>>>
>>>> from the thermal tree.
>>
>> I'm wondering why the above commit is in the linux-next branch of the 
>> thermal tree, though.
>
> If you are referring to commit 03b2e86a24aa, it is part of the series 
> which was reviewed but got some locking conflict issues just before 
> the merge window so we dropped it. You asked me to reintroduce it with 
> the fixes after v6.2-rc1 is out [1].
>
Ah, sorry.  I confused it with the new work posted recently. Apologies.


> The previous conflict and this one is because some changes were picked 
> in the linux-pm branch instead of the thermal/linux-branch.
>
So to be precise, I picked up some new material including fixes into 
linux-pm while you were away, and that should work, because linux-pm is 
an upstream for thermal anyway.

Things are slightly complicated by the fact that thermal/linux-next is 
merged directly into linux-next without going into linux-pm/linux-next.  
However, this also happens with other trees I pull from, like cpufreq 
and devfreq.  In particular, both Viresh and I sometimes apply core 
cpufreq changes and it all works.


> We find thermal Intel changes going directly in linux-pm and thermal 
> changes going through the thermal tree. And sometime thermal core 
> changes picked through linux-pm and sometime through thermal/linux-next.
>
And because effectively linux-pm is the thermal's upstream, it all 
should work.


> In order to prevent these conflicts in the future, I suggest to always 
> merge thermal patches through the thermal tree.
>
There are multiple ways to avoid such conflicts, we just need to be more 
careful IMV.

I may as well merge thermal/linux-next into linux-pm/linux-next before 
pushing it and let you know if there are any conflicts.


>> It is still under review AFAICS.
>
> The series including the patch "thermal/drivers/intel: Use generic 
> ..." are reviewed and ready for inclusion AFAICT.
>
> I'm was waiting for an update of linux-pm/thermal to send a PR against 
> this branch.
>
I see.  I didn't know that, though.


>> Daniel, can you possibly create a bleeding-edge branch for such 
>> things? I can merge it into my bleeding-edge branch on a daily basis.
>
> Yes, I can create a bleeding-edge branch for other patches. Some 
> questions about it:
>
>  - thermal/linux-next will be based on linux-pm/thermal, and 
> thermal/bleeding-edge will be based on thermal/linux-next, right?
>
thermal/bleeding-edge is what will go into thermal/linux-next after 
getting some 0-day coverage.  So the flow may look like this:

- Add stuff to thermal/bleeding-edge.

- It is merged into linux-pm/bleeding-edge (note that this will happen 
every time afresh, so you can rebase it etc. before pushing, no problem).

- Give it a couple of days to get tested.

- Move it into thermal/linux-next if all goes well (they need not be the 
same commits, rebasing is fine).

- Repeat.

There will be some topic thermal branches in linux-pm (eg. Intel thermal 
drivers), but this should not be a problem. We'll see conflicts and 
address them as they appear.


>  - When patches can be considered for the bleeding-edge?

Anything regarded as possible future linux-next material.


>  - When patches can be considered moving from bleeding-edge to 
> linux-next?
>
When they are regarded as ready to go into the mainline during the 
subsequent merge window (or during the ongoing one if there is one in 
progress ATM).  IOW, the normal linux-next rules apply I believe.


> (the questions above are for the thermal tree).
>
Sure.

Thanks!



  reply	other threads:[~2023-01-05 20:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 23:10 linux-next: manual merge of the thermal tree with the pm tree Stephen Rothwell
2023-01-04 23:35 ` Stephen Rothwell
2023-01-05 14:27   ` Wysocki, Rafael J
2023-01-05 15:30     ` Daniel Lezcano
2023-01-05 20:13       ` Wysocki, Rafael J [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-01 23:09 Stephen Rothwell
2023-04-06  0:32 Stephen Rothwell
2023-01-24 22:45 Stephen Rothwell
2023-01-25 11:57 ` Wysocki, Rafael J
2023-01-24 22:39 Stephen Rothwell
2023-01-25 11:57 ` Wysocki, Rafael J
2023-01-04 23:03 Stephen Rothwell
2022-11-17  1:29 Stephen Rothwell
2022-11-17 16:18 ` Rafael J. Wysocki
2022-11-27 23:22 ` Stephen Rothwell
2022-11-28 12:51   ` Rafael J. Wysocki
2022-11-28 13:22     ` Daniel Lezcano
2022-11-28 13:48       ` Bagas Sanjaya
2022-11-28 13:54         ` Rafael J. Wysocki
2022-11-28 13:56         ` Daniel Lezcano
2022-11-29 14:32           ` Geert Uytterhoeven
2014-10-10  1:10 Stephen Rothwell
2014-10-10  8:40 ` Zhang Rui
2014-01-06  3:14 Stephen Rothwell

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=951809d2-bff1-cc62-0bf0-8dc9cef16f40@intel.com \
    --to=rafael.j.wysocki@intel.com \
    --cc=daniel.lezcano@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=sfr@canb.auug.org.au \
    --cc=viresh.kumar@linaro.org \
    /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;
as well as URLs for NNTP newsgroup(s).