From nobody Wed Jun 21 16:39:04 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 4QmTjP4HFFz4gml2 for ; Wed, 21 Jun 2023 16:39:05 +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 4QmTjP3FL6z4MmY for ; Wed, 21 Jun 2023 16:39:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687365545; 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=gfmw5kLkJoL5asMFrKdNrJZ8ZZ4jVzCttzE8lDyq5JE=; b=NXCbj93XPc8/EI+eYsZmHIv0yed1pQpf3Oyka0L4jeRooxTlMFTmqpQMXYo9lfII0z3iJI XYkAHo797oleWfbtlHtajN93BIw63PTn15Mbk+u8kgwoUmStQ2VwtHDAfH4qOGp4XAatFe yZF/0alHcBjCZ/WUlCXL7eULBfGvxz7bTTgSaM4sPtpq8a72p9evPHlx73/kp4Llw589td TaC9tads2Lt8wQ41d7/33hxT238aC8ovli8iBgigdIymf5N3oDmsNKZEvCyYwSJQT0laXX GK53dyh7dFZg/ELYkqDV5PWpYUuwzL8mox/Z9nTFtC7aQ+41WNK7+/qb07GQzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687365545; a=rsa-sha256; cv=none; b=wCa5rEjUOYhN56P2/8OZdrv9UV4UcySbb1Qna6l5o6d921iO+elxA8nNPqHg9c61MRBwKf ibGNIHmRLzBJXBy95ZxIFg70WuY1BhNwadrwdBcRziAJlyKWTcSMW3jMOd9OhdkV5cLpL+ qpNWCTLl7eN11u7Oc1eAmxJ0nFKJei7XEqLBVzZOgRHoTyazOqiroFcM5B6OWiOt7A23ix tQkLVCWWyEBQ2WCuITyj/r4ob3cFiUv3kdgCoExbPHj/3gDq48FRVXW1TELGrCQFXQ8lCz H2wp0rDogarjfoXsNGXWzhvt6Ytnajnsu9P31bpcu9unY1hR/rRxc99gvQfHjw== 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 4QmTjP2LjDzpf0 for ; Wed, 21 Jun 2023 16:39:05 +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 35LGd5Sj070769 for ; Wed, 21 Jun 2023 16:39:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35LGd5j3070768 for bugs@FreeBSD.org; Wed, 21 Jun 2023 16:39:05 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 272018] pci_read_vpd() does not always load VPD even when valid VPD exists because of state machine bug Date: Wed, 21 Jun 2023 16:39:04 +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-STABLE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272018 --- Comment #5 from Stefan E=C3=9Fer --- Created attachment 242927 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242927&action= =3Dedit Updated VPD patch This patch removes a few superfluous tests for allocations that cannot fail= and for the size of a resource value (which cannot be below 0, will be <=3D 255= for all resources, but might theoretically be up to 65535 in case of the ident string - which in practice will be much smaller than 100 bytes, though). --=20 You are receiving this mail because: You are the assignee for the bug.=