From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CCD4E3AB482; Sat, 30 May 2026 17:46:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780163216; cv=none; b=KHdbn1MwkMa3EPmbhs0XoBDivJBgon5QK1ENgvMU5uHqWIJ2Z8wAAMrjO0fHchYBQa+FDUhZMqMs1Re4t3Zb8543nnLQSAo79RYMa/QIkEIxQdIlD7c/IZhUA9bF+FAVsZdV0dZRUqYPlnTfLp6An+koB21Nde50N+VGYmB6/cg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780163216; c=relaxed/simple; bh=bjyBiqMl+dgfEM3QOjC2yROKLns9d95hv21h4cwFyaE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nKAE1c2nwUpAfRCU0tE41K/ILv9U5Q9ATzxEEB1oYAg+h+Ey1kJ3ym5EozmTS96QjoGm1r58J0599awkfSOSCGPvqKYhWnHasPq44h6UodAuiwnvEnQZ+5GD8YuWfhe90AIrO28ZHN2ywMWUVu3X0kmfk63Gb+pFQryPIVICFRo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UsUHzj67; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UsUHzj67" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 234C61F00893; Sat, 30 May 2026 17:46:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780163215; bh=jwNXa8bI5zP86/5aRxsCp91dHQvgwaewCmKFGtUpR1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UsUHzj67dGqYibAF2zzOxKsxOt6J4NUo29R4EPieFpZAhEdgwtbOKc7X0TxskVhMk Ra8ATBX7W45e3cDblnLxr/9OFY6/7zQns0eAjC4KCHSKC+MZuKhkOVlky3bF1hBsrx Gzth7vN8kGVscnbHcnLKjm+UYr1eaIHmiIe2lc68= 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 5.15 190/776] firmware: google: framebuffer: Do not mark framebuffer as busy Date: Sat, 30 May 2026 17:58:24 +0200 Message-ID: <20260530160245.410916682@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160240.228940103@linuxfoundation.org> References: <20260530160240.228940103@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-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 @@ -50,7 +50,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);