From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.73.89.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796331530; b=HduPE7/V3bSJJuwXsEJ5mYFm6PbXDU2JYzxF40WOFiW4PTGFahL26GFVb3Z8YuXgTiIv huUV4bLt6gjkBoOnVdVFb9KCKF0p4hkuTdAfE4FN1d7fBwePskbsIc0YTl/8aZ5fcD6FW D7lCoYDUqtEWxNdgR1uB8xFQ/o4Y2Gd/p/lJqST1rBNTkF9L4f/nDEP7t7l/SNK5E0tUr U2VIMiNXolShJkGEfWoyGtzcSWmWnF5l9C3eOgoTFPgUgXUs3g6xXRzcIZnt3LoJvCBjA 1zYxRXII9Hzh4n4LUje5di5Pof84hR0GM85TTrSsmw9wbvTcj0kB/z81QGsks3VrA/w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796331530; h=DMARC-Filter:Received:Received:Content-Type:Mime-Version:Subject: From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id: References:To:X-Mailer; bh=knvCboKYzk90s91G0GxsN33PPu2aK7j+mysqkgV8l74=; b=TsvK4afjDEmtUT5bG7pyi7mmnZn1xvY+XOTvI913jXtsaVnpl/KRA50y/1ncaAPb5s3X UW0rXAYtZEcqaWcbs6Hqa5v1gkOM+NNm1RITCXJa1AeU/kxDG+iUoKC8dNUxUA3eXugs0 vDuR89DAs9oIC/ewgzr/lSt6Ay5Khf0c8euKqwWmGVRovTMohS4l/P2lDgKw/fWXmLIB6 Cf/uhKV6whil3dglezVUEiHPgrJxiZapRuOnsAGfxqA9nGg9lZMPbl6Fcg4SNsOzgSXvI qfBkc14tKit23TAxyRE2NQC2U76674FkSlRolXWNvcC7lEkiUnJhjTQs2a9ai5vo66A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=h3q.com; spf=pass smtp.mailfrom=h3q.com; arc=none smtp.remote-ip=213.73.89.199 Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DDB2606A334 for ; Thu, 3 Dec 2026 20:58:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0DDB2606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=h3q.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=h3q.com Received: (qmail 33143 invoked from network); 3 Dec 2026 20:58:41 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (mail.h3q.com) by mail.h3q.com with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 3 Dec 2026 20:58:41 -0000 Content-Type: text/plain; charset=utf-8 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\)) Subject: Re: [PATCH] m68k: amiga: lower min_low_pfn to make RAM DMA-able From: Denis Ahrens In-Reply-To: Date: Thu, 3 Dec 2026 21:58:30 +0100 Cc: "Steffen A. Mork" , Geert Uytterhoeven , linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum Content-Transfer-Encoding: quoted-printable Message-Id: <72D31F7C-4EB6-48B4-9630-D76F245641A9@h3q.com> References: <20261105132752.1226267-1-linux-dev@morknet.de> To: Daniel Palmer X-Mailer: Apple Mail (2.3901.200.71.1.16) > On 3. Dec 2026, at 11:50, Daniel Palmer wrote: >=20 > Hi Steffen, >=20 > On Thu, 5 Nov 2026 at 22:30, Steffen A. Mork = wrote: >>=20 >> 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=3Dnodma parameter can be used as a workaround for the = wd33c93 >> driver on the Amiga 3000, other drivers =E2=80=94- such as the = zorro_esp driver >> (tested on a Blizzard 2060) -=E2=80=94 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?: >=20 > --- 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] =3D { 0, }; > unsigned long min_addr, max_addr; > unsigned long addr; > int i; > @@ > high_memory =3D phys_to_virt(max_addr) + 1; >=20 > - min_low_pfn =3D availmem >> PAGE_SHIFT; > + min_low_pfn =3D min_addr >> PAGE_SHIFT; > max_pfn =3D max_low_pfn =3D (max_addr >> PAGE_SHIFT) + 1; >=20 > Cheers, >=20 > Daniel >=20