Message ID | 20230212084611.1311177-1-rppt@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1825493wrn; Sun, 12 Feb 2023 01:05:43 -0800 (PST) X-Google-Smtp-Source: AK7set8m/XsDfSU6L/0x9YG0vnd6Yi5zKMwZH2DfbXYhWDuIOUNBq7ebN5IlUgHkOUo3e6fbzgCZ X-Received: by 2002:a05:6a21:32a4:b0:bf:58d1:cea0 with SMTP id yt36-20020a056a2132a400b000bf58d1cea0mr14121564pzb.31.1676192742723; Sun, 12 Feb 2023 01:05:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676192742; cv=none; d=google.com; s=arc-20160816; b=BwYmeDfKtCUEqdg4K/VE53d0RqXh/CdF76alhytM10g+nGq7hjMADQRE97vfokoD/t woBG+PSW62fQbXaf9TxZCx5A/J5cUISLd7EutxjPteUWnmIfQmZo15AudFQG+UOIh9b9 6eTY2Id+oa2LhEqP9timuCnjt0RUH1XHSZxmGiO6bd64rNVrnIpyY4FrUVrKjBTlTmkY 1lTvARRZuEIyBaz91c4/Tesfw3Bb8G8HB/SC+nyr6lRBGv8V39dcu0wBq47sd4zvW1by BtBHiCt4+ZCZvDMO3o6l6HMKoUkgAq7U1SqcZh1AFPRBZgoUeZYnDoWvFmpKDmVH6N4m du/A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fOEwoRK+7RoE/1eypvUl/ZfJkJVWZ6a4+dTb/aHHOYw=; b=n8DwaWn4zfBdbz+8IR8gJWRC0OuYlvm5I9TH+eIMr87WMBPRsNH+SjseURIk+r8SQI opV0ZybTOJzJGiVeock5CUg03zInw4HHLsKB79RotAOBKGCoRhTDAkXZjx4BMp0q6zce nugJDJaj0mfLcGATTDXR9UjILrIG8uecKtAyJgkXWY+AZnPSpZb671/N3VR14anataHX Tbf6ocza8SJZl+h7KCM7Et1JsnE9lgRPgGThfPXqeGNxJw05BSOvBBzh5BOSjETlCwl/ xdB5n2O7w0e9FSYg4D3LFO9CWet4LK4cRHfoZPbQM/JOM6FtVMSiCOGD0z6jjHC/cpQA lNtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MT3LIRf8; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a191-20020a6390c8000000b004fb9810fb4asi950871pge.295.2023.02.12.01.05.30; Sun, 12 Feb 2023 01:05:42 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=MT3LIRf8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229609AbjBLIqc (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Sun, 12 Feb 2023 03:46:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjBLIqb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 12 Feb 2023 03:46:31 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74B5810411; Sun, 12 Feb 2023 00:46:27 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D9DDC60BA0; Sun, 12 Feb 2023 08:46:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03FB0C433EF; Sun, 12 Feb 2023 08:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676191586; bh=ah2GfV04TNaeo9p4bKcxyFBZTnmc5HbVuYgTsk1ZZFQ=; h=From:To:Cc:Subject:Date:From; b=MT3LIRf8bJTXYDiK3G1TVA1CKbwwEe0DllUzU7AH1ati2qxAOPPjau6Q9V+1qD712 9phIFR2qApBCOCf907VbVd1Vzgi8Kkvymd8e38sooTWXCnTAtIO84w+/+6hlc/B6lp Vs5cDzwUxMsjjH4ii6tmr6lQu5fAuwTpgoYB+9Li1kyMTuxy7KqTk8M0RXCVTqlXNd 8MpWrajJGzrj03wUITE461o00r7HJBYuEU1MCW+665ubHQF9TFoiVdlzQjftA9EIyk MG5uK31epum7kES7DHzqtYo8SozcgREgID6KFZbc+HSs8IRssKkUVoY0KoNb82sniK kpwrKzPXcN5Uw== From: Mike Rapoport <rppt@kernel.org> To: Arnd Bergmann <arnd@arndb.de> Cc: David Airlie <airlied@redhat.com>, "David S. Miller" <davem@davemloft.net>, Helge Deller <deller@gmx.de>, Matt Turner <mattst88@gmail.com>, Michael Ellerman <mpe@ellerman.id.au>, x86@kernel.org, dri-devel@lists.freedesktop.org, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, "Mike Rapoport (IBM)" <rppt@kernel.org> Subject: [PATCH 0/2] char/agp: consolidate asm/agp.h Date: Sun, 12 Feb 2023 10:46:09 +0200 Message-Id: <20230212084611.1311177-1-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757615481105861753?= X-GMAIL-MSGID: =?utf-8?q?1757615481105861753?= |
Series |
char/agp: consolidate asm/agp.h
|
|
Message
Mike Rapoport
Feb. 12, 2023, 8:46 a.m. UTC
From: "Mike Rapoport (IBM)" <rppt@kernel.org>
Hi,
asm/agp.h is duplicated in several architectures, with x86 being the
only instance that differs from the rest.
Introduce asm-generic/agp.h and use it instead of per-architecture
headers for the most cases.
I believe that asm-generic is the best tree to pick up this patches.
Mike Rapoport (IBM) (2):
char/agp: consolidate {alloc,free}_gatt_pages()
char/agp: introduce asm-generic/agp.h
arch/alpha/include/asm/Kbuild | 1 +
arch/alpha/include/asm/agp.h | 19 -------------------
arch/ia64/include/asm/Kbuild | 1 +
arch/ia64/include/asm/agp.h | 27 ---------------------------
arch/parisc/include/asm/Kbuild | 1 +
arch/parisc/include/asm/agp.h | 21 ---------------------
arch/powerpc/include/asm/Kbuild | 1 +
arch/powerpc/include/asm/agp.h | 19 -------------------
arch/sparc/include/asm/Kbuild | 1 +
arch/sparc/include/asm/agp.h | 17 -----------------
arch/x86/include/asm/agp.h | 6 ------
drivers/char/agp/agp.h | 6 ++++++
include/asm-generic/agp.h | 11 +++++++++++
13 files changed, 22 insertions(+), 109 deletions(-)
delete mode 100644 arch/alpha/include/asm/agp.h
delete mode 100644 arch/ia64/include/asm/agp.h
delete mode 100644 arch/parisc/include/asm/agp.h
delete mode 100644 arch/powerpc/include/asm/agp.h
delete mode 100644 arch/sparc/include/asm/agp.h
create mode 100644 include/asm-generic/agp.h
base-commit: 2241ab53cbb5cdb08a6b2d4688feb13971058f65
Comments
On Sun, Feb 12, 2023, at 09:46, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" <rppt@kernel.org> > > asm/agp.h is duplicated in several architectures, with x86 being the > only instance that differs from the rest. > > Introduce asm-generic/agp.h and use it instead of per-architecture > headers for the most cases. > > I believe that asm-generic is the best tree to pick up this patches. > > Mike Rapoport (IBM) (2): char/agp: consolidate > {alloc,free}_gatt_pages() char/agp: introduce asm-generic/agp.h Hi Mike, It looks like I wrote an email saying I merged these two patches, but never actually sent it out. Not sure if you found out another way, but this was part of the asm-generic tree for 6.3 and is now merged upstream. Thanks for the cleanup, Arnd