linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared
@ 2019-11-03 23:22 Naresh Kamboju
  2019-11-04  1:10 ` Hanjun Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Naresh Kamboju @ 2019-11-03 23:22 UTC (permalink / raw)
  To: Hanjun Guo, Greg Kroah-Hartman, Sasha Levin
  Cc: linux- stable, john.garry, zhangshaokun, catalin.marinas,
	linux-arm-kernel, open list, lkft-triage, andrew.murray,
	Dave P Martin, Mark Rutland, suzuki.poulose, will

stable rc 4.19  branch build broken for arm64 with the below error log,

Build error log,
arch/arm64/kernel/cpufeature.c: In function 'unmap_kernel_at_el0':
arch/arm64/kernel/cpufeature.c:909:21: error: 'MIDR_HISI_TSV110'
undeclared (first use in this function); did you mean
'GICR_ISACTIVER0'?
  MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
                    ^
arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
'MIDR_RANGE'
  .model = m,     \
           ^
arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
'MIDR_ALL_VERSIONS'
  MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
  ^~~~~~~~~~~~~~~~~
arch/arm64/kernel/cpufeature.c:909:21: note: each undeclared
identifier is reported only once for each function it appears in
  MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
                    ^
arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
'MIDR_RANGE'
  .model = m,     \
           ^
arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
'MIDR_ALL_VERSIONS'
  MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
  ^~~~~~~~~~~~~~~~~
 CC      arch/arm64/kvm/inject_fault.o
scripts/Makefile.build:303: recipe for target
'arch/arm64/kernel/cpufeature.o' failed
 make[3]: *** [arch/arm64/kernel/cpufeature.o]

Build log link,
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-stable-rc-4.19/DISTRO=lkft,MACHINE=hikey,label=docker-lkft/331/consoleText


Best regards
Naresh Kamboju

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

* Re: stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared
  2019-11-03 23:22 stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared Naresh Kamboju
@ 2019-11-04  1:10 ` Hanjun Guo
  2019-11-04 10:59   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Hanjun Guo @ 2019-11-04  1:10 UTC (permalink / raw)
  To: Naresh Kamboju, Hanjun Guo, Greg Kroah-Hartman, Sasha Levin
  Cc: Mark Rutland, suzuki.poulose, catalin.marinas, john.garry,
	open list, linux- stable, zhangshaokun, lkft-triage,
	andrew.murray, will, Dave P Martin, linux-arm-kernel

Hi Sasha, Greg,

On 2019/11/4 7:22, Naresh Kamboju wrote:
> stable rc 4.19  branch build broken for arm64 with the below error log,
> 
> Build error log,
> arch/arm64/kernel/cpufeature.c: In function 'unmap_kernel_at_el0':
> arch/arm64/kernel/cpufeature.c:909:21: error: 'MIDR_HISI_TSV110'
> undeclared (first use in this function); did you mean
> 'GICR_ISACTIVER0'?
>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>                     ^
> arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
> 'MIDR_RANGE'
>   .model = m,     \
>            ^
> arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
> 'MIDR_ALL_VERSIONS'
>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>   ^~~~~~~~~~~~~~~~~
> arch/arm64/kernel/cpufeature.c:909:21: note: each undeclared
> identifier is reported only once for each function it appears in
>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>                     ^
> arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
> 'MIDR_RANGE'
>   .model = m,     \
>            ^
> arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
> 'MIDR_ALL_VERSIONS'
>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),

Patch "efd00c7 arm64: Add MIDR encoding for HiSilicon Taishan CPUs" needs to
be bacported as well, would you like me to do that, or just cherry-pick by yourself?

Thanks
Hanjun


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

* Re: stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared
  2019-11-04  1:10 ` Hanjun Guo
@ 2019-11-04 10:59   ` Greg Kroah-Hartman
  2019-11-04 13:11     ` Hanjun Guo
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2019-11-04 10:59 UTC (permalink / raw)
  To: Hanjun Guo
  Cc: Naresh Kamboju, Hanjun Guo, Sasha Levin, Mark Rutland,
	suzuki.poulose, catalin.marinas, john.garry, open list,
	linux- stable, zhangshaokun, lkft-triage, andrew.murray, will,
	Dave P Martin, linux-arm-kernel

On Mon, Nov 04, 2019 at 09:10:06AM +0800, Hanjun Guo wrote:
> Hi Sasha, Greg,
> 
> On 2019/11/4 7:22, Naresh Kamboju wrote:
> > stable rc 4.19  branch build broken for arm64 with the below error log,
> > 
> > Build error log,
> > arch/arm64/kernel/cpufeature.c: In function 'unmap_kernel_at_el0':
> > arch/arm64/kernel/cpufeature.c:909:21: error: 'MIDR_HISI_TSV110'
> > undeclared (first use in this function); did you mean
> > 'GICR_ISACTIVER0'?
> >   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
> >                     ^
> > arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
> > 'MIDR_RANGE'
> >   .model = m,     \
> >            ^
> > arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
> > 'MIDR_ALL_VERSIONS'
> >   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
> >   ^~~~~~~~~~~~~~~~~
> > arch/arm64/kernel/cpufeature.c:909:21: note: each undeclared
> > identifier is reported only once for each function it appears in
> >   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
> >                     ^
> > arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
> > 'MIDR_RANGE'
> >   .model = m,     \
> >            ^
> > arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
> > 'MIDR_ALL_VERSIONS'
> >   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
> 
> Patch "efd00c7 arm64: Add MIDR encoding for HiSilicon Taishan CPUs" needs to
> be bacported as well, would you like me to do that, or just cherry-pick by yourself?

I need the backport please, cherry-pick fails :(

thanks,

greg k-h

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

* Re: stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared
  2019-11-04 10:59   ` Greg Kroah-Hartman
@ 2019-11-04 13:11     ` Hanjun Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Hanjun Guo @ 2019-11-04 13:11 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Naresh Kamboju, Sasha Levin, Mark Rutland, suzuki.poulose,
	catalin.marinas, john.garry, open list, linux- stable,
	zhangshaokun, lkft-triage, andrew.murray, will, Dave P Martin,
	linux-arm-kernel

On 2019/11/4 18:59, Greg Kroah-Hartman wrote:
> On Mon, Nov 04, 2019 at 09:10:06AM +0800, Hanjun Guo wrote:
>> Hi Sasha, Greg,
>>
>> On 2019/11/4 7:22, Naresh Kamboju wrote:
>>> stable rc 4.19  branch build broken for arm64 with the below error log,
>>>
>>> Build error log,
>>> arch/arm64/kernel/cpufeature.c: In function 'unmap_kernel_at_el0':
>>> arch/arm64/kernel/cpufeature.c:909:21: error: 'MIDR_HISI_TSV110'
>>> undeclared (first use in this function); did you mean
>>> 'GICR_ISACTIVER0'?
>>>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>>>                     ^
>>> arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
>>> 'MIDR_RANGE'
>>>   .model = m,     \
>>>            ^
>>> arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
>>> 'MIDR_ALL_VERSIONS'
>>>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>>>   ^~~~~~~~~~~~~~~~~
>>> arch/arm64/kernel/cpufeature.c:909:21: note: each undeclared
>>> identifier is reported only once for each function it appears in
>>>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>>>                     ^
>>> arch/arm64/include/asm/cputype.h:141:12: note: in definition of macro
>>> 'MIDR_RANGE'
>>>   .model = m,     \
>>>            ^
>>> arch/arm64/kernel/cpufeature.c:909:3: note: in expansion of macro
>>> 'MIDR_ALL_VERSIONS'
>>>   MIDR_ALL_VERSIONS(MIDR_HISI_TSV110),
>>
>> Patch "efd00c7 arm64: Add MIDR encoding for HiSilicon Taishan CPUs" needs to
>> be bacported as well, would you like me to do that, or just cherry-pick by yourself?
> 
> I need the backport please, cherry-pick fails :(

I will send it out later.

Thanks
Hanjun


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

end of thread, other threads:[~2019-11-04 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-03 23:22 stable-rc-4.19: cpufeature.c:909:21: error: 'MIDR_HISI_TSV110' undeclared Naresh Kamboju
2019-11-04  1:10 ` Hanjun Guo
2019-11-04 10:59   ` Greg Kroah-Hartman
2019-11-04 13:11     ` Hanjun Guo

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