From: Denis Ahrens <denis@h3q.com>
To: Daniel Palmer <daniel@0x0f.com>
Cc: "Steffen A. Mork" <linux-dev@morknet.de>,
Geert Uytterhoeven <geert@linux-m68k.org>,
linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
Thorsten Blum <blum@kernel.org>
Subject: Re: [PATCH] m68k: amiga: lower min_low_pfn to make RAM DMA-able
Date: Thu, 3 Dec 2026 21:58:30 +0100 [thread overview]
Message-ID: <72D31F7C-4EB6-48B4-9630-D76F245641A9@h3q.com> (raw)
In-Reply-To: <CAFr9PXnkjAYc7OWc4TVcKZeJA93Jj+pPAz=5u8rVRLTqCq8vvg@mail.gmail.com>
> On 3. Dec 2026, at 11:50, Daniel Palmer <daniel@0x0f.com> wrote:
>
> Hi Steffen,
>
> On Thu, 5 Nov 2026 at 22:30, Steffen A. Mork <linux-dev@morknet.de> wrote:
>>
>> With reference to the patch by Denis Ahrens for the MVME16x platform, this
>> patch works in the same way for the Amiga. Currently, all DMA-capable SCSI
>> controllers have ceased to function due to the same underlying issue. While
>> the wd33c93=nodma parameter can be used as a workaround for the wd33c93
>> driver on the Amiga 3000, other drivers —- such as the zorro_esp driver
>> (tested on a Blizzard 2060) -— fail completely once memory has been
>> released by free_initmem().
The new patch works here on a MVME177.
Denis
> Can you check if the following works for you?:
>
> --- a/arch/m68k/mm/motorola.c
> +++ b/arch/m68k/mm/motorola.c
> @@ void __init paging_init(void)
> unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, };
> unsigned long min_addr, max_addr;
> unsigned long addr;
> int i;
> @@
> high_memory = phys_to_virt(max_addr) + 1;
>
> - min_low_pfn = availmem >> PAGE_SHIFT;
> + min_low_pfn = min_addr >> PAGE_SHIFT;
> max_pfn = max_low_pfn = (max_addr >> PAGE_SHIFT) + 1;
>
> Cheers,
>
> Daniel
>
prev parent reply other threads:[~2026-12-03 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 13:27 Steffen A. Mork
2026-12-03 10:50 ` Daniel Palmer
2026-12-03 12:57 ` Steffen A. Mork
2026-12-03 13:39 ` Daniel Palmer
2026-12-03 13:42 ` Steffen A. Mork
2026-12-03 20:58 ` Denis Ahrens [this message]
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=72D31F7C-4EB6-48B4-9630-D76F245641A9@h3q.com \
--to=denis@h3q.com \
--cc=blum@kernel.org \
--cc=daniel@0x0f.com \
--cc=geert@linux-m68k.org \
--cc=linux-dev@morknet.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.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
all inboxes | Powered by JetHome®