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 5D92A40DFD4; Mon, 4 May 2026 14:09:28 +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=1777903768; cv=none; b=lshp1ubnef4E/KoFR7BRy71AUYoKNzZonRAVywTn2r5zYAp/DVoUJf5wO3SgTDyOEvYrhON8m8GXmmKhAL7R3/7Lwd6itVZ/T+6vmO98Fe2Tjj4WTD5v0V8yvOuRVH8mdDKHf09P8SdAbwPox2U1OO0fXtDtYCjUoCvlZbmPHLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777903768; c=relaxed/simple; bh=vLXErgxVnxIYUtHX8Vj501Mz1gqgF6+c3h6rdGvkoPQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iJ1fObeqFs5+Opiak+8CsBu8Ev0NW4YCrg+/3nscsjIiE+J8jlbXyn3YxwJfTma/S0W8OSitazMTWWPub3/GkkSw6bYH4atXys0hGJGrXvNRcTNU9R+F6Or+A2CbWfbqz9aGVolDPB3FR4gIwfr8jPSDDhgmQm3uf6KsA6lK7SM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sYoWbV1t; 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="sYoWbV1t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E66F6C2BCB8; Mon, 4 May 2026 14:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777903768; bh=vLXErgxVnxIYUtHX8Vj501Mz1gqgF6+c3h6rdGvkoPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sYoWbV1t5ZVD7A2sXokKYRX6dgIrp4FpM7SKr6/B47fhgJNG75a9aaXf0V+SdAJJ1 8G1B+wg9p+Y7XZ3Kuv8IUR/0+ycxBVyx3bwj71/9VVSvaaVaREYOZZEOcqV1vDUTI5 q28HIe/uFKd6K2k3spLAxV6V1l/J1XRkLxH7GVvI= 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.18 022/275] firmware: google: framebuffer: Do not mark framebuffer as busy Date: Mon, 4 May 2026 15:49:22 +0200 Message-ID: <20260504135143.762785265@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260504135142.929052779@linuxfoundation.org> References: <20260504135142.929052779@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.18-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);