Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2231455rwl; Thu, 6 Apr 2023 07:33:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bSiKMofjdai2DNNiPIhXK4fqt45uuI075f8DAi4xDDnlcM5K58nPzzgp9HPQD3MK11j6H4 X-Received: by 2002:aa7:d74e:0:b0:504:55b7:6207 with SMTP id a14-20020aa7d74e000000b0050455b76207mr1783791eds.36.1680791588645; Thu, 06 Apr 2023 07:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680791588; cv=none; d=google.com; s=arc-20160816; b=deufnxIFQbzs45mKQYxGW/YWQdPExk1X9QwGIMIX34t3cNSbCS3yLhMtjwQbhZGE2X PrpqOTZ7uQfCbvzRLRtgiYAcMWpircWLBzfpI6nnuOHhiYQtljmzqfqQF2QyKzvuh7jS NyPTZ0DBcSuX4fr+qf3QoOa72IdQtYNMZWfbeIN0PKbHqVeQDq8Kys/smYxihaTLEqIi YqqV1BPVkPVsxajqvCCsLEMmEO+73ia24mnTa+3PlSAikNGfm9Y6x+vDTSyDFDYgwhkz sVB+P+a7LP8XT+JzAzY0ARwKqYqWZIO8FLE03AbMqRPb87ldeJBm+Yas6b2tV/I44yqA yLkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=At66nEDRzuoU1LRYd6qgBrLOlPke0TNb1Y9N/Qc/BME=; b=aCd+9TM1XirR7ffZcDTsRR2Hp2acOXs4zou54oKNCD+DlFNWznaXO0EiRo2PLgQ7Tp vsAM77d4h4Weg/fPT1kn3ZmU/xozRvhETZVfCf50tmQe3N4aoJ8Gd8Wrkwazv5zEuH6o wWD4WSkEi7JSx1T79pl3AwjNSwYtZlvEGZU8yKRVkmSr4WXysRsx8nEZzRmwrqlXRg3A BgtrACtNQCB4Ns2b4VtqYaHed08nXxkjCcbEyk+wQHBiYp2Im8gIztj8m3usr0LGgrg0 qCY8Lh5uBNGH4XPn7kpQDgwtifKLEeLsaOt39lw78NH5GWFo5bV9XMjFhGrnKQ37CFD5 vdJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iNMCrSQI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fUEUbVz2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c23-20020a1709060fd700b009497c0571b4si1080194ejk.26.2023.04.06.07.32.41; Thu, 06 Apr 2023 07:33:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=iNMCrSQI; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=fUEUbVz2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239155AbjDFOam (ORCPT + 99 others); Thu, 6 Apr 2023 10:30:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239042AbjDFOaZ (ORCPT ); Thu, 6 Apr 2023 10:30:25 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE0158A5B; Thu, 6 Apr 2023 07:30:24 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1744A1FE1E; Thu, 6 Apr 2023 14:30:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1680791423; 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: in-reply-to:in-reply-to:references:references; bh=At66nEDRzuoU1LRYd6qgBrLOlPke0TNb1Y9N/Qc/BME=; b=iNMCrSQIwiJHVQf7PM0uFhC83gkzbhe2RqWahZG27kSCAxOjtJ+ld+DWv14eqOzmI5ifz3 8ZHzjdwdPNdxyUiWBddlfMDsnMYKK/Ha+JCwpdEZnB4nNLz8jFUTkOT7VNdZLw1VFWNySe f9HlbZiEjpTGeYpWivvOCaR9V61mQYI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1680791423; 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: in-reply-to:in-reply-to:references:references; bh=At66nEDRzuoU1LRYd6qgBrLOlPke0TNb1Y9N/Qc/BME=; b=fUEUbVz2MjiMzgk3WPj9Sy8/Z428nLdFQ4S0K6WwUamkXan+lp02uDi+Ecz7n2N/KHST3h 6py6tNH3XqRd/7AQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A89241351F; Thu, 6 Apr 2023 14:30:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wJVUKH7XLmS4LgAAMHmgww (envelope-from ); Thu, 06 Apr 2023 14:30:22 +0000 From: Thomas Zimmermann To: arnd@arndb.de, daniel.vetter@ffwll.ch, deller@gmx.de, javierm@redhat.com, gregkh@linuxfoundation.org Cc: linux-arch@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, x86@kernel.org, Thomas Zimmermann , Catalin Marinas , Will Deacon Subject: [PATCH v2 04/19] arch/arm64: Implement with generic helpers Date: Thu, 6 Apr 2023 16:30:04 +0200 Message-Id: <20230406143019.6709-5-tzimmermann@suse.de> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406143019.6709-1-tzimmermann@suse.de> References: <20230406143019.6709-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace the architecture's fbdev helpers with the generic ones from . No functional changes. v2: * use default implementation for fb_pgprotect() (Arnd) Signed-off-by: Thomas Zimmermann Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/asm/fb.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/arch/arm64/include/asm/fb.h b/arch/arm64/include/asm/fb.h index bdc735ee1f67..1a495d8fb2ce 100644 --- a/arch/arm64/include/asm/fb.h +++ b/arch/arm64/include/asm/fb.h @@ -5,19 +5,6 @@ #ifndef __ASM_FB_H_ #define __ASM_FB_H_ -#include -#include -#include - -static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, - unsigned long off) -{ - vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); -} - -static inline int fb_is_primary_device(struct fb_info *info) -{ - return 0; -} +#include #endif /* __ASM_FB_H_ */ -- 2.40.0