From nobody Thu Oct 13 08:41:19 2022 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 4Mp2zz3r0mz4fRh3 for ; Thu, 13 Oct 2022 08:41:19 +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 4Mp2zz1BYcz3tnV for ; Thu, 13 Oct 2022 08:41:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Mp2zz0GPpzMSj for ; Thu, 13 Oct 2022 08:41:19 +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 29D8fIZE001513 for ; Thu, 13 Oct 2022 08:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29D8fIdP001512 for bugs@FreeBSD.org; Thu, 13 Oct 2022 08:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265786] broadcom storage controller: bus_dmamap_load_ccb() is failing with EINPROGRESS for 1MB IOs Date: Thu, 13 Oct 2022 08:41:19 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chandrakanth.patil@broadcom.com 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665650479; 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=WEMg4BTGuPHPfajv682JdrBt73GSPgpk7DOIIgpkKQo=; b=BsAzB3/bJG4vxg9xI1/DguTMWJRyUjVOekH+KHleZ8t9urX2CPu6o0ECOHqmKbhZiA0KCQ a1Z5PNIsppdsqyZ1+AQqlBOhPICsJPtxayp/6VFNMNwUDvffPT8+hbzY0BjEpjUp4KgTQ0 GUdxrUjNMTjnxpXepXXzbXIESxV61y5B5bjeOlC4+DGyMPaV+eVk1ILsF62wYb+xp9L3Iz +BfcbwVVL+DBWQHD3pbt2Jwc7vHYpLoqGqqqLJJ6w2FM4eIlT6n+Ii4onEXxLWBlMs1S4Y fYPrPjPoOOdi/X19lnOdb0uXPuZ+fLlqHmQmSNx6aNQj5mvRZBFl61smDXF4cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665650479; a=rsa-sha256; cv=none; b=YM0BNblafLs6yfbWnyDQE8/wePaPfhkYdJcr+2PcfH6CV/7NU2MNV+F6PawCvZi9c/2xQg HFDA75Xz+/OMTYO+bRETJ5LY/cyhEvLjQ0nG0lf7+8HC4p3khjiSWGTdHtrmngw4zhfFJ/ jkxrGUq1MWErkHTikj4FX3LYoumE+siB/Xtp0JUAuP2pTYSrFSjcLX8W/GZYSA/QHN8CpK DjlX+W8vcjAwCbwe14bc3FoBHlsFsuFWvXjyxdc9f9kk+1WT639/ZA9XBpHs9mFsfo72RU b3T5E+kJDgaRIeJSHFdNaPwq0mNwrISt5LtO04r42dOMc7fIQfhbgjYQMjPk0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265786 --- Comment #2 from Chandrakanth Patil --- (In reply to Warner Losh from comment #1) Hi warner, Below is the Bug ID link where you mentioned that increasing the maxphys wi= ll resolve the issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D2401= 45 Couple of queries I have on your response: 1. when bus_dmamap_load_ccb() returns "EINPROGRESS" does it=20 mean DMA memory allocation is failing due to the unavailability of DMA memory=20 and what course of action the driver should take after this. do we need = to=20 return those IOs with specific error codes? so that those IOs could be r= e-=20 tried. 2. Does it mean FreeBSD doesn't support 1MB IOs? in that do we need to redu= ce the=20 max transfer size to < 1MB? if yes, then what could be the correct max IO size=20=20=20=20=20 NOTE: hardware supports a max transfer size of 1MB --=20 You are receiving this mail because: You are the assignee for the bug.=