Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-28 Thread Leon Romanovsky
On Sun, Sep 28, 2025 at 12:23:48PM +0200, Magnus Lindholm wrote: > > After reverting the above commits, I'm able to build a working kernel, > > that is, no filesystem corruption occurs. I'll take a closer look at this > > after the weekend. > > > > Short update, It is enough to revert the followi

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-28 Thread Leon Romanovsky
On Sun, Sep 28, 2025 at 01:27:12PM +0200, Magnus Lindholm wrote: > > Thanks for the effort. > > > > Can you please check the following change instead of reverting the patches? > > > > No problem, happy to assist. I think this did the trick! preliminary > testing shows > that this now works on alph

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-28 Thread Magnus Lindholm
> Thanks for the effort. > > Can you please check the following change instead of reverting the patches? > No problem, happy to assist. I think this did the trick! preliminary testing shows that this now works on alpha! I guess the offset information in paddr was lost by doing "paddr &= PAGE_MASK"

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-28 Thread Magnus Lindholm
> After reverting the above commits, I'm able to build a working kernel, > that is, no filesystem corruption occurs. I'll take a closer look at this > after the weekend. > Short update, It is enough to revert the following commits, in order to have a working kernel on alpha: e78a9d72517a88faa6f1

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-27 Thread Magnus Lindholm
> > Suggest testing the same branch with the alpha patch reverted just to > > rule out any issue in the core code. If it reproduces suggest to > > bisect Leon's branch. Hi again, I've booted up the ES40 again with the kernel build from Leons branch, it boots up but message log is full off messages

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-24 Thread Magnus Lindholm
> Suggest testing the same branch with the alpha patch reverted just to > rule out any issue in the core code. If it reproduces suggest to > bisect Leon's branch. > I can try to revert just the patch containing the alpha-specific stuff and see what happens and then, as you say, maybe do a bisect f

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-23 Thread Magnus Lindholm
> > I will try to setup Alpha architecture in QEMU in following days, but > would like to ask first. Did you test alpha on clean v6.17-rc5 (without > my patches) as a reference? > I'm running now on a fresh git pull from today so it's more like a 6.17-rc7. So no problems running the latest git at l

Re: [PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-22 Thread Magnus Lindholm
On Thu, Sep 18, 2025 at 8:45 PM Leon Romanovsky wrote: > > From: Leon Romanovsky > > Alpha doesn't need struct *page and can perform mapping based on > physical addresses. So convert it to implement new .map_phys callback. Hi, SInce this patch affects the Alpha platform I got curious and decid

[PATCH 1/9] alpha: Convert mapping routine to rely on physical address

2025-09-18 Thread Leon Romanovsky
From: Leon Romanovsky Alpha doesn't need struct *page and can perform mapping based on physical addresses. So convert it to implement new .map_phys callback. As part of this change, remove useless BUG_ON() as DMA mapping layer ensures that right direction is provided. Signed-off-by: Leon Romano