Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp976790lqp; Fri, 22 Mar 2024 01:30:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSMiLe75fDJhDhnbOjDHZTveAzqusOVUg+Fn0326thKeT7RMaWZ6P2CI2BURmN5pkRjlF7ah8TWsdpdQlWQiSHZJ5Ukejyw3Wduxg6cg== X-Google-Smtp-Source: AGHT+IFf2fpS+m90Na03DIwZmbnLzPU8pwjB2DfcyvdVgsEhEgj6IUZh6/Eok+XLEhkPcV2I3qf2 X-Received: by 2002:a50:bae4:0:b0:568:9f77:9c0 with SMTP id x91-20020a50bae4000000b005689f7709c0mr1236332ede.4.1711096221419; Fri, 22 Mar 2024 01:30:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711096221; cv=pass; d=google.com; s=arc-20160816; b=ROjXxu37vfqHAECzsDU28cH/8b/u1KZS32XX1cK6ZS7rzDUGivva87hsyiU4VpLJ02 4Gl0DQIF2iOVUuZ/PKRuokbjH2lpNeVr8jhSTSaDcNtDr70kRqIYQrvCyTkpY8Y3PAt4 pfCrAmCzOJKWevby2o6WzqRax+ZK4qU5t5LRRfhAsyUJvlMjyzmiZlEEbXi+J99w+2Vx AQ92pTooiMIUW4aFu2qi5u8P3IVLP9Q6Lm7L3N3TtZQDZspcwMDXORbP1n63/6pHL7U0 r5LDg1TK84uUn12sQafCKTurq9raB6bPAsinF6zE8KV5WZo7Uwu0FkYE/jCnzpNAI3kr 8NhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=GiUnFDgqNov/IFO4HBVqrimv4mN9kMkaWe5OzF0aaTM=; fh=yO8S2GEjAmqC36QAp/RgO/Z/Vsrs6beHODw+19OY2do=; b=xIP79USnMeGK0TCnwSDdacOHoWML4dPrfxG8dwGL7sFR42hJV1O50tUX/7FCqHSKl6 5YVAtQxW/IcpM3/BWdiVJtxMDTTSq1kouvi6x5EJIMNXSiy/WpMGXULuHIDAUO47ECTx Az2Mqs2Ix6jPK6MUGexlNhJTsIAqn8DQE7j7LE7h4osbdI1mYhaI+ngpp19dr0smf4oF 6MxchQWqqMp7NtVv5jc70KqP6Mtf/mstSYY3C4unDpmt2p++7EYE4sHRFdwo1QaJ7L5V pKawbiRUNuWkGt4rOeIY2FVJwCp+onWTC7SNlzo+/CaY9xrQMLeClsMDlgxaMunNMfXd etww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=0S3wt8em; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tvbeTPTp; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-111124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s18-20020a508d12000000b00568d7a08306si647793eds.384.2024.03.22.01.30.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 01:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=0S3wt8em; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tvbeTPTp; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-111124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2849C1F24842 for ; Fri, 22 Mar 2024 08:30:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4F6F17C62; Fri, 22 Mar 2024 08:30:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="0S3wt8em"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="93bv81oG"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="tvbeTPTp"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="pA+W3Tr9" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0570EC8E0; Fri, 22 Mar 2024 08:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711096212; cv=none; b=AEKSF4JJpzMmZORE6U+TPQ/8E7t1eUa9pEV8VRljruLghn7lje7fZlFEIXkJUzDH0FNw6rpeij8yJnelJnyCXEIVpp5kTvW7PgXcBowe6Xfbi02wEPQJ3sAzwzVoJAzy7gvcHa3lcF7pH0ST9kxKqkTNAo/njVeVLrkrqLG1MMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711096212; c=relaxed/simple; bh=b4zjUk3C+VUBTpa95HKc5b19oE/Zc1fJS2jORLXnSj0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dPgSbgdpm1g+exok3WAHGVlbNyCAUwW4dla3jF84H3vPGFV/CJgx4eBrf7sDBFpNy6opVRG/YRO0oYkfG+Z1SlvK9R/Qb3xGjsJklJJbZ15GUrxCkBxOnEYLEhPfFDY3ka9vQPto3KMgHKOvjO69LhQy47H6yz8iq4TU9PNjArU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=0S3wt8em; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=93bv81oG; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=tvbeTPTp; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=pA+W3Tr9; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 016C05FB69; Fri, 22 Mar 2024 08:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711096209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GiUnFDgqNov/IFO4HBVqrimv4mN9kMkaWe5OzF0aaTM=; b=0S3wt8emF8dEf6VbwlC6douPH6aoO61LLFBotox24XrUGgM/+bVd1wEv1EFUfwviT9YOue P9FvKp7r+67dk0v64Z5hrBhFBrbxUT3dozs0ICstPdqVS2zdRsUpiNrZDEQL1YR1XjoVQZ VdemcEAEW59FcykXPjD3NhHFr6oEG40= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711096209; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GiUnFDgqNov/IFO4HBVqrimv4mN9kMkaWe5OzF0aaTM=; b=93bv81oGXgeFpfYT2QV3ndduFHv9e0J+thCMwHu8V6bbuYx5etsO3MaL8iJNXkRELwvYSI cJQ7y7dC/Lehp8DA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711096208; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GiUnFDgqNov/IFO4HBVqrimv4mN9kMkaWe5OzF0aaTM=; b=tvbeTPTpgWOihB4o/wGhNvE7uf+UuJv3t7HY6c4CIYBG1iWqgRxGPz64DxeS/RK/cJi/og OMDJXlcHECCT68gNupmB5BFZPyp2QtZeMa0IyxKPsz3TilDoOcdna9JWX6jFi20AQxEInu 0yFxxUpBN/GnXoBe6mzTAG/azfD9mKA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711096208; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GiUnFDgqNov/IFO4HBVqrimv4mN9kMkaWe5OzF0aaTM=; b=pA+W3Tr9SQdht+oJcMsv5gqG1JRpN9LzwA9sYFhKp/MVZTZ0dml3PnpBJSkIU4I72AgZx2 Xw9CnUsekUhPezCw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id A4CAC132FF; Fri, 22 Mar 2024 08:30:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id ciPqJo9B/WW0MgAAD6G6ig (envelope-from ); Fri, 22 Mar 2024 08:30:07 +0000 From: Thomas Zimmermann To: nbowler@draconx.ca, deller@gmx.de, javierm@redhat.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Zimmermann , Daniel Vetter , Sam Ravnborg , Arnd Bergmann , Geert Uytterhoeven , stable@vger.kernel.org Subject: [PATCH] fbdev: Select I/O-memory framebuffer ops for SBus Date: Fri, 22 Mar 2024 09:29:46 +0100 Message-ID: <20240322083005.24269-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 6.57 X-Spam-Flag: NO X-Spamd-Bar: ++++++ Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=tvbeTPTp; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=pA+W3Tr9 X-Spamd-Result: default: False [6.57 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; DWL_DNSWL_BLOCKED(0.00)[suse.de:dkim]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; FREEMAIL_TO(0.00)[draconx.ca,gmx.de,redhat.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-0.14)[67.89%]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmx.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[renesas]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.52)[0.505]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[12]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[draconx.ca:email,ravnborg.org:email,arndb.de:email,ffwll.ch:email,glider.be:email,suse.de:dkim,suse.de:email,gmx.de:email,lists.freedesktop.org:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from] X-Spam-Level: ****** X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Rspamd-Queue-Id: 016C05FB69 Framebuffer I/O on the Sparc Sbus requires read/write helpers for I/O memory. Select FB_IOMEM_FOPS accordingly. Reported-by: Nick Bowler Closes: https://lore.kernel.org/lkml/5bc21364-41da-a339-676e-5bb0f4faebfb@draconx.ca/ Signed-off-by: Thomas Zimmermann Fixes: 8813e86f6d82 ("fbdev: Remove default file-I/O implementations") Cc: Thomas Zimmermann Cc: Javier Martinez Canillas Cc: Daniel Vetter Cc: Helge Deller Cc: Sam Ravnborg Cc: Arnd Bergmann Cc: Geert Uytterhoeven Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: # v6.8+ --- drivers/video/fbdev/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index a61b8260b8f36..edced74f0eeaf 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -494,6 +494,7 @@ config FB_SBUS_HELPERS select FB_CFB_COPYAREA select FB_CFB_FILLRECT select FB_CFB_IMAGEBLIT + select FB_IOMEM_FOPS config FB_BW2 bool "BWtwo support" @@ -514,6 +515,7 @@ config FB_CG6 depends on (FB = y) && (SPARC && FB_SBUS) select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT + select FB_IOMEM_FOPS help This is the frame buffer device driver for the CGsix (GX, TurboGX) frame buffer. @@ -523,6 +525,7 @@ config FB_FFB depends on FB_SBUS && SPARC64 select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT + select FB_IOMEM_FOPS help This is the frame buffer device driver for the Creator, Creator3D, and Elite3D graphics boards. -- 2.44.0