Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2024573rwn; Fri, 16 Sep 2022 04:43:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4AT85UO81Sl8SejqqMlnRVnj91lLcfAc9SbdGdiMCdujW0LYejH5KSRajFofzq5FroT0Y+ X-Received: by 2002:a17:907:a408:b0:780:3d91:9232 with SMTP id sg8-20020a170907a40800b007803d919232mr3292031ejc.506.1663328628446; Fri, 16 Sep 2022 04:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663328628; cv=none; d=google.com; s=arc-20160816; b=OekUt+7g8jy26hnHcpWTAYjL0IdJvSPhtXzTfR494tZ0oLRo1lc9zKlBzRJ+3yh5nW H7i1VyHkRjvzqUmEDsrAfdJLp6mfxK6Ua1o8+66sSaKSt8SJk5Xgv+rU5iw+dq4R314l plhp1xAkpDEOWuobG4slKUU7hfJNCfyoZK6l3hNIJkeNT/p5pO/L2oIRRSJ6u44/gZU/ Ty/tBaY99jv2ALFt1ME7z5cQHRYhANVgeyd24DZMHlPb2tvcbRiWXFtgRMpRh/kOFxWK ynoZ0OOS2TvWLlNdwDVDwmmg7YAhu4bL2dKR4YFdcE0kzvwq8VPVCjBcPYDgKz2J/F3Q 1OJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=dYvenO6eXvBq73VVEqDVoQq9L+xnxo4snht2mJIMSPU=; b=VBvlGHCH3MhMO+FoWrS6oszK0la+RxJpIbZVDtQSGtSPA0N+xe0EpoCjHbKxTq0+mL af4S5wRw+jUErbXX8A94jAGstTsrTozzdwc7NoKSVRJYDoKX/vBgu4KXepiX+KC6Bu2Q RhnSDavK7JntmUXzlOQ7/Bh76Vga+VfZ6Fb1cuPg2+5+pO92ndhCW8mLiCA83qyc3OYS eeVyRJ80qcCLLz0bvpo2IPTZxAn7iE9n7OkHd5gozCSSu3xVbSRIjyx5ZpQZPI7Erd+f +9XBfMZn6oMmJoK7DLvPy/R4hd6HoPrO8Ul9upZ6nd6EnDOBjRT0Q8INftm93W3RlhO5 9MQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@arndb.de header.s=fm1 header.b=oOKD5VOs; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm2 header.b=nxekw7mZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a170906389400b00777be437681si13693155ejd.984.2022.09.16.04.43.22; Fri, 16 Sep 2022 04:43:48 -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=neutral (expired) header.i=@arndb.de header.s=fm1 header.b=oOKD5VOs; dkim=neutral (expired) header.i=@messagingengine.com header.s=fm2 header.b=nxekw7mZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232200AbiIPKbA (ORCPT + 99 others); Fri, 16 Sep 2022 06:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbiIPKaK (ORCPT ); Fri, 16 Sep 2022 06:30:10 -0400 Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB086266F; Fri, 16 Sep 2022 03:17:55 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id B34DB580F46; Fri, 16 Sep 2022 06:16:46 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Fri, 16 Sep 2022 06:16:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1663323406; x=1663327006; bh=dYvenO6eXv Bq73VVEqDVoQq9L+xnxo4snht2mJIMSPU=; b=oOKD5VOsSUwrEVicIlM7sF16nO 4AMrRy8avO8Y/atfhdy1sNwDZMmksKMjThncm/XsqZgDarqcTOulb2NeN6wiATkC 60oITWKPoowLu6Pik7dcjUTt//ejrceRgq1BKL8bV74Ju2scScI4IdFU5lTv0Lxq yVl+p5vpEqaTxEXEhwTBq455ZviGEaYro+p0Sgo4o99TvuIi+WNtxSzlnwoLJ6CP I18BvmfGIu+IbXEFMuV7VJP4nWRJgs/tbUUSQGq6IZ2PCSCF4RNuzeie+bf02qup 6v7f8vQ3R5kd5r6rQCqbidyXa4e1WMkcEI0U7TJqDOmlqm1tE9fzdoK/c5UQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663323406; x=1663327006; bh=dYvenO6eXvBq73VVEqDVoQq9L+xn xo4snht2mJIMSPU=; b=nxekw7mZItQ0orKllF9S6LPYMGcnMTeHoE+yO7ydYMBP Tnx4jK5Ok2569UUXgo9/84bMLMB10SiZf5XzxEZTqIey6jeRmdf9Yi39v0lD76AG Y53SjICLCzcq2wOnXB3EprPRmmVj/VmM5iHkpIdlM3vzhBV7youibT0yjN/Je9OK vitS6zb5hSaNnJIO0/gOnwc4Alt9d5kvR1XXdOn7Vyh1PlYmTWoO+qKsXCj1fYSu qBQV3NnXP37otn9cqxp6P1dLP1tm1ahc6hyzyqRS8GGc3kyXIVZ3s+Ph3aeN4hT7 XXM0yR+7om4L7FonuXx5wA2v3wLGkb1eBz5kV6H90g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvtddgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 67159B60086; Fri, 16 Sep 2022 06:16:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20220818040413.2865849-1-chenhuacai@loongson.cn> Date: Fri, 16 Sep 2022 12:16:25 +0200 From: "Arnd Bergmann" To: "Huacai Chen" , "Huacai Chen" Cc: "Dmitry Torokhov" , loongarch@lists.linux.dev, Linux-Arch , "Xuefeng Li" , guoren , "WANG Xuerui" , "Jiaxun Yang" , linux-input@vger.kernel.org, LKML , "Jianmin Lv" Subject: Re: [PATCH] Input: i8042 - Add PNP checking hook for Loongson Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 On Fri, Sep 16, 2022, at 11:53 AM, Huacai Chen wrote: > Ping? > > On Thu, Aug 18, 2022 at 12:04 PM Huacai Chen wrote: >> >> Add PNP checking related functions for Loongson, so that i8042 driver >> can work well under the ACPI firmware with PNP typed keyboard and mouse >> configured in DSDT. >> >> Signed-off-by: Jianmin Lv >> Signed-off-by: Huacai Chen >> --- >> drivers/input/serio/i8042-loongsonio.h | 330 +++++++++++++++++++++++++ >> drivers/input/serio/i8042.h | 2 + >> 2 files changed, 332 insertions(+) This looks like you are just duplicating code from i8042-x86ia64io.h. Can't you just use that version directly? Arnd