From patchwork Sun Feb 12 08:46:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 5286 Return-Path: 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 + 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 ); 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 To: Arnd Bergmann Cc: David Airlie , "David S. Miller" , Helge Deller , Matt Turner , Michael Ellerman , 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)" 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 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: 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?= From: "Mike Rapoport (IBM)" 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