* sparc: patch to fix parport_pc build on 32-bit
@ 2024-02-23 5:15 Randy Dunlap
2024-02-23 9:34 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2024-02-23 5:15 UTC (permalink / raw)
To: sparclinux, linux-kernel@vger.kernel.org, Andreas Larsson
Cc: Maciej W. Rozycki
Hi Andreas,
Please pick up this patch from June/2023. I have already replied to
the patch with:
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
and I just rechecked it on linux-next-20240223 to make sure that it
builds cleanly. It does; however, there is one trivial merge warning:
patching file arch/sparc/include/asm/parport.h
Hunk #1 succeeded at 20 (offset 1 line).
Hunk #2 succeeded at 252 (offset 1 line).
The patch:
https://lore.kernel.org/lkml/alpine.DEB.2.21.2306190121540.14084@angie.orcam.me.uk/
Thank you.
--
#Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sparc: patch to fix parport_pc build on 32-bit
2024-02-23 5:15 sparc: patch to fix parport_pc build on 32-bit Randy Dunlap
@ 2024-02-23 9:34 ` Sam Ravnborg
2024-02-23 19:39 ` Sam Ravnborg
0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2024-02-23 9:34 UTC (permalink / raw)
To: Randy Dunlap
Cc: sparclinux, linux-kernel@vger.kernel.org, Andreas Larsson,
Maciej W. Rozycki
Hi Randy/Andreas.
On Thu, Feb 22, 2024 at 09:15:28PM -0800, Randy Dunlap wrote:
> Hi Andreas,
>
> Please pick up this patch from June/2023. I have already replied to
> the patch with:
>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
>
> and I just rechecked it on linux-next-20240223 to make sure that it
> builds cleanly. It does; however, there is one trivial merge warning:
>
> patching file arch/sparc/include/asm/parport.h
> Hunk #1 succeeded at 20 (offset 1 line).
> Hunk #2 succeeded at 252 (offset 1 line).
>
> The patch:
> https://lore.kernel.org/lkml/alpine.DEB.2.21.2306190121540.14084@angie.orcam.me.uk/
I took a quick look at the patch. It does the minimal to fix the build
but the ebus_dma thing is only used by sparc64 an should not be visible
at all for sparc32.
I think the right fix is to make the current
arch/sparc/include/asm/parport.h sparc64 specific and use
asm-generic/parport.h for sparc32.
Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sparc: patch to fix parport_pc build on 32-bit
2024-02-23 9:34 ` Sam Ravnborg
@ 2024-02-23 19:39 ` Sam Ravnborg
0 siblings, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2024-02-23 19:39 UTC (permalink / raw)
To: Randy Dunlap
Cc: sparclinux, linux-kernel@vger.kernel.org, Andreas Larsson,
Maciej W. Rozycki
Hi Randy,
On Fri, Feb 23, 2024 at 10:34:16AM +0100, Sam Ravnborg wrote:
> Hi Randy/Andreas.
>
> On Thu, Feb 22, 2024 at 09:15:28PM -0800, Randy Dunlap wrote:
> > Hi Andreas,
> >
> > Please pick up this patch from June/2023. I have already replied to
> > the patch with:
> >
> > Acked-by: Randy Dunlap <rdunlap@infradead.org>
> > Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
> >
> > and I just rechecked it on linux-next-20240223 to make sure that it
> > builds cleanly. It does; however, there is one trivial merge warning:
> >
> > patching file arch/sparc/include/asm/parport.h
> > Hunk #1 succeeded at 20 (offset 1 line).
> > Hunk #2 succeeded at 252 (offset 1 line).
> >
> > The patch:
> > https://lore.kernel.org/lkml/alpine.DEB.2.21.2306190121540.14084@angie.orcam.me.uk/
>
> I took a quick look at the patch. It does the minimal to fix the build
> but the ebus_dma thing is only used by sparc64 an should not be visible
> at all for sparc32.
>
> I think the right fix is to make the current
> arch/sparc/include/asm/parport.h sparc64 specific and use
> asm-generic/parport.h for sparc32.
I posted a set of fixes here, including an updated parport fix.
https://lore.kernel.org/sparclinux/20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org/T/#t
Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-23 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 5:15 sparc: patch to fix parport_pc build on 32-bit Randy Dunlap
2024-02-23 9:34 ` Sam Ravnborg
2024-02-23 19:39 ` Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox