From nobody Thu Oct 19 03:25:34 2023 X-Original-To: bugs@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 4S9tQR02Qrz4xskF for ; Thu, 19 Oct 2023 03:25:35 +0000 (UTC) (envelope-from bugzilla-noreply@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 4S9tQQ66dBz4Jdw for ; Thu, 19 Oct 2023 03:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697685934; a=rsa-sha256; cv=none; b=HQj//0GQrFma4geDKnc+pilF0aej/Pmlzk0VwddlcM1qMbx+4zPlMLxDNTWerhnm7/qwuw zFff5M+cm1tHa7wEwleuD7S1qtjy1vMaRUUKTgD0EzJAPig1e3WOUSKym+svh5qA48Axgt Muc5NdD4DbXTAEmXio4GNwPItmIKndBrpSwjkHIHdNnE1D4rdpAdQhDpHvHmtzR+pYjjmi Q/av7NPJNR8+L6DgQP4SPdaafvX8ctBcl5NJ4vMYWdjSyXaaiMfvDcXui0Ia/pgLazIYbm Tn1tgvQWxGhNP5ZukWZfQ/mJQSy1e+E7t3S2IoxJ1r6xZTOqTKNDZ/qa6Y7+pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697685934; 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: in-reply-to:in-reply-to:references:references; bh=9YnHBzhecV25yUfD7rV7zX/KT84pUoVho31nk7FyKhQ=; b=HjkIf/XxuXfxV+rVBxAoWkT6kTX2VuiFJjh/v3X990vxTaGFtn8viPZMEK+9OeMeyRaU/+ PV4E6Zv4jvlFI4T5Gj9gBjxdONnauTnZOgT4zwrcEZuV7PKJk1KRpEKYlV/LbJlFA8as27 3ohxbLYJJLMUAIf/CJD5sBiJ5cknsSEPhUtg//gavZf1mW6sprKFx79yrZjED3HgJFfLOl AFpAY45X9IjD312eZa/yoOtOqP9rwshJlDIeacgp9Ugkp7y+FTuOMx+NcXwyz6Ocl5s4vC u0GQJcyPuQqA80jHzDie6vAkYF5O2WixveWhwWzCY9+KiY6EoJNxH7+X3+50rg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4S9tQQ5CYgzYqF for ; Thu, 19 Oct 2023 03:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39J3PYSN012222 for ; Thu, 19 Oct 2023 03:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39J3PYNf012221 for bugs@FreeBSD.org; Thu, 19 Oct 2023 03:25:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259541] [smartpqi] panic: Segment size is not aligned, in a call to bus_dmamap_load_ccb() from smartpqi_cam_action. Date: Thu, 19 Oct 2023 03:25:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259541 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df07b267d8cc87e88be3c78aa69504b5eb= c6571ee commit f07b267d8cc87e88be3c78aa69504b5ebc6571ee Author: John Hall AuthorDate: 2023-10-19 03:10:58 +0000 Commit: Warner Losh CommitDate: 2023-10-19 03:12:27 +0000 smartpqi: Change alignment for dma tags Problem: Under certain I/O conditions, a program doing large block disk reads can cause a controller to crash. Root Cause: The SCSI read request and destination address in the BDMA descriptor is incorrect, causing the BDMA engine in the controller to assert. Fix: Change the alignment for creating bus_dma_tags in the driver from PAGE_SIZE (4k) to 1, which allows the controller to manage it's own address range for BDMA transactions. Risk: Medium Exposure: This reverts a change first made to support NVMe drives on Excalibur. At that time a 4k alignment was necessary. This no longer seems to be the case. PR: 259541 Reported by: Ka Ho Ng Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41619 sys/dev/smartpqi/smartpqi_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=