Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2340327rwn; Fri, 16 Sep 2022 08:53:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6wijJPbN/MZy+p1ux81cqtAme8GZply85QgQWwhdtcLJal4Z+wLCmN5mFVNsStshEZoiuq X-Received: by 2002:a17:906:ef90:b0:77f:8f0d:e925 with SMTP id ze16-20020a170906ef9000b0077f8f0de925mr3914103ejb.622.1663343638906; Fri, 16 Sep 2022 08:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663343638; cv=none; d=google.com; s=arc-20160816; b=NFrrkyT55wMceU+SfSNXY2LVEP5/AsQ0dxcJ5O9pl5ukKLCzNEncfD3zwyw5uaKtjN 36hJNjSHPSw3V5k92YunZUexyvf3a2St593m2UX1uI54+I1MHxl2G5ciP2xA+4/IQGNp eKQKR1oQyqz0NLHci/ZbR7odaTYnqflsZSh99WaulEALLqgl+oFne/Q7aW4azdQJWhMf NqZvPNJL8HvGFnFKo/l4BNYTSt+jH5xfLLvfERflBsAc7TPdpCHZF610rXLe/6NmF+Ew j7tWD8GSns8H2fNEZIZqMYYLJbR/AcGbmNhzklDJehkv7/Fv/ETegDuL46t/cYqUrDKu dqew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rXk8BkAl+J58QzePRZbs3AP7NAWLpPCGNDCXkApcdFA=; b=dfvjPBF6FZyKNcUsAh1rgPiMZyeH8GLn9xqkkCn/fGYhO/GwxVh4M/AA+5cN+u/Ff9 X/O7gIuFI2wQ9yTIUskIDHNBD/HPLWDoDvdXBca06SiFKbG+dGGH9HAbF283owlidJMT W/RQ5Nbkr/XM7IASzd6a9U2yWeBMjkGJEWxXeJjEuZhxik3YyCPrGxXS1cgJJXgrWoM3 ho1Xt/X/T+mUvD7FYQ1bYZFmONk2KuIuLhTde7HQajQ+Fx9FARqRKP78bkg6JKMBBq9l luetq3n2nOBRMQ+bdAjliBpnWbMj4UtDgX8CCx1aOXgcMLKG8jgSmR9kNEpr/bWz3nz8 X9rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XpPP02ru; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ht9-20020a170907608900b0077083e6dde7si8746918ejc.183.2022.09.16.08.53.32; Fri, 16 Sep 2022 08:53:58 -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=@kernel.org header.s=k20201202 header.b=XpPP02ru; 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 S231567AbiIPPE5 (ORCPT + 99 others); Fri, 16 Sep 2022 11:04:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbiIPPEy (ORCPT ); Fri, 16 Sep 2022 11:04:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B542C3120B; Fri, 16 Sep 2022 08:04:52 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 9DF3BB827CD; Fri, 16 Sep 2022 15:04:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E369C433D6; Fri, 16 Sep 2022 15:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663340690; bh=M+DmXxb8Nav4aJ99WqznXuiR7oCNvzYJ85lQmDQ9Izg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XpPP02ruXeMlyDqw9AU8lVSQByUbs6eMh26MJMnFahTJwObYyJr4/wuQongHFtH68 kY1PB9jQ4p8YUKFug0YwKGd0Nq49sgRYHutVZlV6WhV9hmfNSQgkAfGW3OkeW1YL1S LPXbCmo6iYjLlnLcxqZicdiT6SvqQX4xlDRvHL5OufpTXHJtDEL17fIsM29fRhHWib 3giP4eSFRmfmNCOl7aeZAZwJsv3xduvoCB56kQLsPx3g39oXiAHAqLqu4Py2DAZh+k l6TPHkf4SrjQUSHLUishzlJ6fUJYW+3fY2dNgqjGBFZF4kHNscazVjfQBhLB8p3xj7 yuv1p3lZXn1Sw== Received: by mail-vs1-f42.google.com with SMTP id q26so17512805vsr.7; Fri, 16 Sep 2022 08:04:50 -0700 (PDT) X-Gm-Message-State: ACrzQf26xwbi9FiQaqLifYRCR/5HqVNlHGbWh6BQjBCsLXLR5+je/koE /9R0J9RH498pUz1taL+Z1F2lmtx1bvDDY/66X0Y= X-Received: by 2002:a05:6102:2755:b0:398:4f71:86e with SMTP id p21-20020a056102275500b003984f71086emr2486151vsu.84.1663340689313; Fri, 16 Sep 2022 08:04:49 -0700 (PDT) MIME-Version: 1.0 References: <20220818040413.2865849-1-chenhuacai@loongson.cn> In-Reply-To: From: Huacai Chen Date: Fri, 16 Sep 2022 23:04:37 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] Input: i8042 - Add PNP checking hook for Loongson To: Arnd Bergmann Cc: Huacai Chen , Dmitry Torokhov , loongarch@lists.linux.dev, Linux-Arch , Xuefeng Li , guoren , WANG Xuerui , Jiaxun Yang , linux-input@vger.kernel.org, LKML , Jianmin Lv Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi, Arnd, On Fri, Sep 16, 2022 at 6:16 PM Arnd Bergmann wrote: > > 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? OK, I will rename i8042-x86ia64io.h to i8042-acpiio.h and use it for LoongArch. Huacai > > Arnd