From nobody Wed Nov 29 01:55:41 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sg2Tp00Jlz52tTb; Wed, 29 Nov 2023 01:55:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sg2Tn6N8mz4DYZ; Wed, 29 Nov 2023 01:55:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701222941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NXI/sORaSmLNbMKhy+VjCzPX2cAkAJPtaIJGpIosKUI=; b=J0dVZC6/MLZoyQASpyNDEAbYWk0BomtfCbw85etKXOxKEJISO7csplesqF9GNmS43EkBwd ROmKrXc8BJs37g7ABh1ijVrHswHL9RlTT9BTJcKD1YpoKKF5BNIRPNzsNeoAqKfdljKPq0 WiHf0LmMJ0lTkOSYVat/CjNlPcTeaRHkJ3nOJHFlypWOJFOxyxtbdhplC8d7R2z0piJ+uH iyzZLiOgsnjgajLwqqhJ8XwD2wCgfKlxPXP6HWLo8rYFaHDf8bFF2SVfSrG0RMG5+qKLeU 7GAiAmSQotOq7xywiVRrDs+YvlprUk09fEVQtZb4h6rjdBBsQInMrwe4+dEujw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701222941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NXI/sORaSmLNbMKhy+VjCzPX2cAkAJPtaIJGpIosKUI=; b=Tv2yzmvtl6joNVj0qgijxPGIq1+FLRaQIKWK3YMTNiw29w0QknPcD9oOMwT16sg/gSfIhA 8OUZL1XsarO2fbgtuVOVLi9eXmooD8S+Pt/9G6vJ2cssUq52m87Wtq271J6FTXJdMg47F+ EOYce7NqXvEThK9IdHkOGr5XucemR3PenyulLfAdpNZ+/m+6+S0Yh9wIVJjdEJSeMsqTvP O4BmDzzg1AZft6vThibMFhuDdUp0JAHAIb9vWNUZPZStxybjXUaCR0nDE73BXoBV+U0K2H SIyr8heF93TCr6GQNbDB03y7k2HF/VeI/HCeuw9nPuQCQVOwax/ik0RLywP2VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701222941; a=rsa-sha256; cv=none; b=u/fdM093Qvewrj3gMocL/GEMbbCINaX+4yFzoPMCuGeftxnWU8rJ35wbtlJsCn9zCKbiY7 9Df8w6V6QiAPvwS1xf6BC73GG2FX+VeJIgrCBakXaTNdIuAs9ehexNFX17ubKy95LPjtFY Ni15CxlZDhYhiXRo69WVgNhXsj9KXHSDuzZR/kJR6Hlpck1mRuK3udGOVMBMV5wXlk3Ap3 wlRYSdQi1JOYg4YPkLdq1f1AMOIsUWx5U2BXnmHSf7ztZIC3D9yfeP0EtfZdWKtxpoAcEE e3ZhkDsGC4vKpmKPZwEqYforzvcu9zuMoJp1k2PSCQo2mNUQMo1a8XcnjVYIBQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sg2Tn592FzmwH; Wed, 29 Nov 2023 01:55:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AT1tf0S064645; Wed, 29 Nov 2023 01:55:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AT1tfm2064642; Wed, 29 Nov 2023 01:55:41 GMT (envelope-from git) Date: Wed, 29 Nov 2023 01:55:41 GMT Message-Id: <202311290155.3AT1tfm2064642@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 4e6d128bd823 - main - mpi3mr: Fix MAXPHYS usage List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e6d128bd823e5b5d0b058f918c7036978a0e8bf Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4e6d128bd823e5b5d0b058f918c7036978a0e8bf commit 4e6d128bd823e5b5d0b058f918c7036978a0e8bf Author: Alexander Motin AuthorDate: 2023-11-29 01:50:24 +0000 Commit: Warner Losh CommitDate: 2023-11-29 01:52:08 +0000 mpi3mr: Fix MAXPHYS usage This usage is obsolete. Replace with maximum bus space size. maxphys will sort itself out at higher levels. Reviewed by: mav, jhb, imp Differential Revision: https://reviews.freebsd.org/D42605 --- sys/dev/mpi3mr/mpi3mr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mpi3mr/mpi3mr.c b/sys/dev/mpi3mr/mpi3mr.c index 5109b970b3bc..d063ca1b6255 100644 --- a/sys/dev/mpi3mr/mpi3mr.c +++ b/sys/dev/mpi3mr/mpi3mr.c @@ -4946,9 +4946,9 @@ mpi3mr_alloc_requests(struct mpi3mr_softc *sc) sc->dma_loaddr, /* lowaddr */ sc->dma_hiaddr, /* highaddr */ NULL, NULL, /* filter, filterarg */ - MAXPHYS,/* maxsize */ + BUS_SPACE_MAXSIZE, /* maxsize */ nsegs, /* nsegments */ - MAXPHYS,/* maxsegsize */ + BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */ BUS_DMA_ALLOCNOW, /* flags */ busdma_lock_mutex, /* lockfunc */ &sc->io_lock, /* lockarg */