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 2029329BD9A; Mon, 4 May 2026 13:54:53 +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=1777902894; cv=none; b=n4p4chztUKOoekYOJdwlpLOclBbJO1b3UnOSHJVc7YJ1t+EgXnzp+KXP8Ymvd0CkmODrk7/B7p0Ok36hvbdJsBBB1akzB+CylQ+PXSaVQJkMCGBWwNe4yIFnV9cmmOKdhs0m36v+oQLr+IPUht4r9JSH5st0uL6baWfHZJTHzic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777902894; c=relaxed/simple; bh=nGU0qS7dMug9hmVBGxBG0tmWQYaugxucaF2bce0mx7Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=suvzJJg9GlRDJAtET7R7zBMxz4XaC8dEx06h/aSaXQgw94QOXgf5BzkQ+wqxq8NyPc0RnusR+cpoQPl6qoqmRlfUhEaJdLnSN33nWOnTkjw02ybjZ6XOXBceGrl/73pOYsOpMRqDTPmLga+dfblV3INFRcMzISS/vUE812Yq+ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JpKZZA1K; 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="JpKZZA1K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77511C2BCB8; Mon, 4 May 2026 13:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777902893; bh=nGU0qS7dMug9hmVBGxBG0tmWQYaugxucaF2bce0mx7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JpKZZA1KG1UF+LQj/ErOW/aFgugkVT57PTfYjpJLMpLgx/tRrCDaO4jMILYsOwJZP 0fdyqqP94qk2igQXpP+L31ZjaNAoH9d39gpiWcpLx+vNTGF0zBRLPmf3JAy93rw4Et 8EqTOjxwx2+K+oz8DJgR2Kqb8Aqo7iYDjLZOdqbM= 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 7.0 023/307] firmware: google: framebuffer: Do not mark framebuffer as busy Date: Mon, 4 May 2026 15:48:28 +0200 Message-ID: <20260504135143.703407566@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260504135142.814938198@linuxfoundation.org> References: <20260504135142.814938198@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 7.0-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 @@ -67,7 +67,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);