From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64FDA3DEAC3; Mon, 4 May 2026 14:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777904386; cv=none; b=JUFpvU+ITzNlqBevv3g4uUdzkez9rzqqBhvufvCvHIu1kJHR30WPSDvQTKDFyWxlmqy17H7C3C7DhZ5/VnxSooZP0RmvlzWtTYZqo5qXWFU8Ax2u3zUf+OtCuKLhT46ZSwVraVEOMgb6r0rtvPzzHCThJBXdaGzO5dyRIIaAxwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777904386; c=relaxed/simple; bh=BVB3m2/AUyUOnBCAmF5LeUpM17d41btXnGCcpNXBj7U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=suTBK2BLJ7F2Wx/IzGBB2nXOzIb7Q6VRIm02L8rp2/RNUPDVondld0ofn3BcbjV+lLTVAbQzaFxcudzl0wXPnG7imhQH2IT6y+/NJ76kBkc8fOKZhocUlpp0mPiQOE7TZBpGJMUm9DTqIoiYEDRi8GxGmc+30slfNixlcHiIJmM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dHiB2jzb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dHiB2jzb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BE90C2BCB8; Mon, 4 May 2026 14:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777904385; bh=BVB3m2/AUyUOnBCAmF5LeUpM17d41btXnGCcpNXBj7U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dHiB2jzbKtmP4ZBmcwUQeVge5qxYgpYoqfF6px57WTdgem5Yrc5hSCB5v1hHHfzuE 4XCw3DzcS2AEAhlkvmGcTrP4/pVf3futRsyICID+PKmZXaglgk7egmhsRGBfiJaIAF 972LZZt83Z8SiHcICKYAq/9S0CLpGuHrnIFg3ePU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Thomas Zimmermann , Tzung-Bi Shih , Julius Werner , Samuel Holland , Brian Norris , chrome-platform@lists.linux.dev Subject: [PATCH 6.12 019/215] firmware: google: framebuffer: Do not mark framebuffer as busy Date: Mon, 4 May 2026 15:50:38 +0200 Message-ID: <20260504135130.877833486@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260504135130.169210693@linuxfoundation.org> References: <20260504135130.169210693@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Zimmermann commit f3850d399de3b6142b02315227ef9e772ed0c302 upstream. Remove the flag IORESOURCE_BUSY flag from coreboot's framebuffer resource. It prevents simpledrm from successfully requesting the range for its own use; resulting in errors such as [ 2.775430] simple-framebuffer simple-framebuffer.0: [drm] could not acquire memory region [mem 0x80000000-0x80407fff flags 0x80000200] As with other uses of simple-framebuffer, the simple-framebuffer device should only declare it's I/O resources, but not actively use them. Signed-off-by: Thomas Zimmermann Fixes: 851b4c14532d ("firmware: coreboot: Add coreboot framebuffer driver") Acked-by: Tzung-Bi Shih Acked-by: Julius Werner Cc: Samuel Holland Cc: Greg Kroah-Hartman Cc: Tzung-Bi Shih Cc: Brian Norris Cc: Julius Werner Cc: chrome-platform@lists.linux.dev Cc: # v4.18+ Link: https://patch.msgid.link/20260217155836.96267-3-tzimmermann@suse.de Signed-off-by: Greg Kroah-Hartman --- drivers/firmware/google/framebuffer-coreboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/firmware/google/framebuffer-coreboot.c +++ b/drivers/firmware/google/framebuffer-coreboot.c @@ -53,7 +53,7 @@ static int framebuffer_probe(struct core return -ENODEV; memset(&res, 0, sizeof(res)); - res.flags = IORESOURCE_MEM | IORESOURCE_BUSY; + res.flags = IORESOURCE_MEM; res.name = "Coreboot Framebuffer"; res.start = fb->physical_address; length = PAGE_ALIGN(fb->y_resolution * fb->bytes_per_line);