All of lore.kernel.org
 help / color / mirror / Atom feed
* FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree
@ 2018-04-22  9:08 gregkh
  2018-04-26  8:49 ` Heiko Carstens
  0 siblings, 1 reply; 4+ messages in thread
From: gregkh @ 2018-04-22  9:08 UTC (permalink / raw)
  To: heiko.carstens, schwidefsky, stable; +Cc: stable


The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@vger.kernel.org>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

>From 451239eb3d397bd197a79cc3aab943da41ba0905 Mon Sep 17 00:00:00 2001
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Fri, 13 Apr 2018 14:04:24 +0200
Subject: [PATCH] s390: add support for IBM z14 Model ZR1

Just add the new machine type number to the two places that matter.

Cc: <stable@vger.kernel.org> # v4.14+
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index beccb58a82e5..199ac3e4da1d 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -286,12 +286,12 @@ config MARCH_Z13
 	  older machines.
 
 config MARCH_Z14
-	bool "IBM z14"
+	bool "IBM z14 ZR1 and z14"
 	select HAVE_MARCH_Z14_FEATURES
 	help
-	  Select this to enable optimizations for IBM z14 (3906 series).
-	  The kernel will be slightly faster but will not work on older
-	  machines.
+	  Select this to enable optimizations for IBM z14 ZR1 and z14 (3907
+	  and 3906 series). The kernel will be slightly faster but will not
+	  work on older machines.
 
 endchoice
 
diff --git a/arch/s390/kernel/perf_cpum_cf_events.c b/arch/s390/kernel/perf_cpum_cf_events.c
index c5bc3f209652..5ee27dc9a10c 100644
--- a/arch/s390/kernel/perf_cpum_cf_events.c
+++ b/arch/s390/kernel/perf_cpum_cf_events.c
@@ -583,6 +583,7 @@ __init const struct attribute_group **cpumf_cf_event_group(void)
 		model = cpumcf_z13_pmu_event_attr;
 		break;
 	case 0x3906:
+	case 0x3907:
 		model = cpumcf_z14_pmu_event_attr;
 		break;
 	default:
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c
index fc3b4aa185cc..d82a9ec64ea9 100644
--- a/arch/s390/kernel/setup.c
+++ b/arch/s390/kernel/setup.c
@@ -821,6 +821,7 @@ static int __init setup_hwcaps(void)
 		strcpy(elf_platform, "z13");
 		break;
 	case 0x3906:
+	case 0x3907:
 		strcpy(elf_platform, "z14");
 		break;
 	}

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

* Re: FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree
  2018-04-22  9:08 FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree gregkh
@ 2018-04-26  8:49 ` Heiko Carstens
  2018-04-26  9:33   ` Harsh Shandilya
  2018-04-26 17:44   ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Heiko Carstens @ 2018-04-26  8:49 UTC (permalink / raw)
  To: gregkh; +Cc: schwidefsky, stable, Hendrik Brueckner

On Sun, Apr 22, 2018 at 11:08:10AM +0200, gregkh@linuxfoundation.org wrote:
> 
> The patch below does not apply to the 4.14-stable tree.
> If someone wants it applied there, or to any other stable or longterm
> tree, then please email the backport, including the original git commit
> id to <stable@vger.kernel.org>.
> 
> thanks,
> 
> greg k-h
> 
> ------------------ original commit in Linus's tree ------------------
> 
> From 451239eb3d397bd197a79cc3aab943da41ba0905 Mon Sep 17 00:00:00 2001
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> Date: Fri, 13 Apr 2018 14:04:24 +0200
> Subject: [PATCH] s390: add support for IBM z14 Model ZR1
> 
> Just add the new machine type number to the two places that matter.
> 
> Cc: <stable@vger.kernel.org> # v4.14+
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

This patch actually requires 3593eb944c65c7a0adfd679949e67f96d97d1768
("s390/cpum_cf: add hardware counter support for IBM z14") to apply to the
4.14 branch.

The above mentionend cpum_cf patch does apply cleanly on v4.14, however I'm
not sure if its ok to add such a large patch as pre-requisite for -stable?

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

* Re: FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree
  2018-04-26  8:49 ` Heiko Carstens
@ 2018-04-26  9:33   ` Harsh Shandilya
  2018-04-26 17:44   ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Harsh Shandilya @ 2018-04-26  9:33 UTC (permalink / raw)
  To: Heiko Carstens, gregkh; +Cc: schwidefsky, stable, Hendrik Brueckner

On 26 April 2018 2:19:01 PM IST, Heiko Carstens <heiko.carstens@de.ibm.com> wrote:
>On Sun, Apr 22, 2018 at 11:08:10AM +0200, gregkh@linuxfoundation.org
>wrote:
>> 
>> The patch below does not apply to the 4.14-stable tree.
>> If someone wants it applied there, or to any other stable or longterm
>> tree, then please email the backport, including the original git
>commit
>> id to <stable@vger.kernel.org>.
>> 
>> thanks,
>> 
>> greg k-h
>> 
>> ------------------ original commit in Linus's tree ------------------
>> 
>> From 451239eb3d397bd197a79cc3aab943da41ba0905 Mon Sep 17 00:00:00
>2001
>> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>> Date: Fri, 13 Apr 2018 14:04:24 +0200
>> Subject: [PATCH] s390: add support for IBM z14 Model ZR1
>> 
>> Just add the new machine type number to the two places that matter.
>> 
>> Cc: <stable@vger.kernel.org> # v4.14+
>> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
>> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
>This patch actually requires 3593eb944c65c7a0adfd679949e67f96d97d1768
>("s390/cpum_cf: add hardware counter support for IBM z14") to apply to
>the
>4.14 branch.
>
>The above mentionend cpum_cf patch does apply cleanly on v4.14, however
>I'm
>not sure if its ok to add such a large patch as pre-requisite for
>-stable?

Stable rules say patches should be 100 lines or lesser, which is rarely bent and this one's not even the actual patch that's the -stable candidate. Pretty sure Greg's going to answer with a nope. I've had to skip multiple ext4 patches when backporting for 3.18.y due to similar reasons.

-- 
Harsh Shandilya, PRJKT Development LLC

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

* Re: FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree
  2018-04-26  8:49 ` Heiko Carstens
  2018-04-26  9:33   ` Harsh Shandilya
@ 2018-04-26 17:44   ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2018-04-26 17:44 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: schwidefsky, stable, Hendrik Brueckner

On Thu, Apr 26, 2018 at 10:49:01AM +0200, Heiko Carstens wrote:
> On Sun, Apr 22, 2018 at 11:08:10AM +0200, gregkh@linuxfoundation.org wrote:
> > 
> > The patch below does not apply to the 4.14-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@vger.kernel.org>.
> > 
> > thanks,
> > 
> > greg k-h
> > 
> > ------------------ original commit in Linus's tree ------------------
> > 
> > From 451239eb3d397bd197a79cc3aab943da41ba0905 Mon Sep 17 00:00:00 2001
> > From: Heiko Carstens <heiko.carstens@de.ibm.com>
> > Date: Fri, 13 Apr 2018 14:04:24 +0200
> > Subject: [PATCH] s390: add support for IBM z14 Model ZR1
> > 
> > Just add the new machine type number to the two places that matter.
> > 
> > Cc: <stable@vger.kernel.org> # v4.14+
> > Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> > Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> 
> This patch actually requires 3593eb944c65c7a0adfd679949e67f96d97d1768
> ("s390/cpum_cf: add hardware counter support for IBM z14") to apply to the
> 4.14 branch.
> 
> The above mentionend cpum_cf patch does apply cleanly on v4.14, however I'm
> not sure if its ok to add such a large patch as pre-requisite for -stable?

Yeah, it's not really a "quirk" being added here, sorry.  So let's just
leave this for now.

thanks,

greg k-h

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

end of thread, other threads:[~2018-04-26 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-22  9:08 FAILED: patch "[PATCH] s390: add support for IBM z14 Model ZR1" failed to apply to 4.14-stable tree gregkh
2018-04-26  8:49 ` Heiko Carstens
2018-04-26  9:33   ` Harsh Shandilya
2018-04-26 17:44   ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.