Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4539243rwi; Mon, 17 Oct 2022 07:34:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nyxGUXtYLAwnttWg3yBWuYgTOdFhVT4002m4jcAVs/ki+t2iswwQcA/LC6geH4ziXO0W3 X-Received: by 2002:a05:6402:5206:b0:45d:88f:4f00 with SMTP id s6-20020a056402520600b0045d088f4f00mr10678759edd.130.1666017251185; Mon, 17 Oct 2022 07:34:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666017251; cv=none; d=google.com; s=arc-20160816; b=gtnEhgr8vG/vbGHiHVsgU/X1ITi6qyYJVxe9MRloU5sdHZNtfs/llL7IsBDBjq9qRx USuN49jsjwI/xg0mMS4yYSh6BoY7PsVHsPzBWzQAGer6DC55A5CFaH0anGvO0xAH26Ta C41S1UY4buV72BUjDZSNBbruvWVFIjaLiF0KQmieXuuwkHNN0KHtfyztabaOXawMQPqD 3v4dRqChAaTHsdN9VwogRVL0IG8/nfsXXYjrnEgjVvwunGO95h1Vld+QpY6VUPqqkSAZ hDaNqT4Ek5N+gzJzudN7fQuFTxd/viLx3cRYPHpkhmvna3gQJYGalY1njAkpJgxWU931 AWow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Bsn3Ibp0V3HyTiAgkJBIKJfAxItjnDlTT+O4Mf3CoEM=; b=qhVI9QNU+9yVZrQECt7a/gu1XvfzO06+6bvrmydNt1Sc57s5DbtKOFfmzNbWR62Jve NCNOAri2kDL7PBxzAwqR11CdRLZCu6Jm/z6UuI18q+lsY9bKGPEGav4kY37oOgkpO8Nb AL45MQkki8/tRT1JfpYT0Ph45zdgz2AVmnJK/r2qrHTRwOCiELXbsjuLIkA93L4yHhHD eDeK1GO/dc7/vq0orTD7iRPAvojpE2GtDNIcgGgx5Mv8Mcxv5BrbsyTGfg20715VuB+3 pwDzfLudZ8N0F9W5TO2uVQdcHcr/YyDbRC5OlSD5qshDzYIopcANKi5Glm83QCKB30wh PwVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=BYwcSMhR; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a50ed86000000b0045cbd686ac6si7824196edr.277.2022.10.17.07.33.44; Mon, 17 Oct 2022 07:34:11 -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=@xry111.site header.s=default header.b=BYwcSMhR; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbiJQOUe (ORCPT + 99 others); Mon, 17 Oct 2022 10:20:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbiJQOUY (ORCPT ); Mon, 17 Oct 2022 10:20:24 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10A6950075; Mon, 17 Oct 2022 07:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1666016418; bh=Bsn3Ibp0V3HyTiAgkJBIKJfAxItjnDlTT+O4Mf3CoEM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=BYwcSMhRTQRLJIJddtiHpdLb8+tyik5xy+8aIhhI8Au2ggOlIo5AqFOhiccuLViRM 1vClsfPPLJJrT8ZGw19kxUY7V5A89bPwDbmh1VChhaYFvZzwYmi6tMXr3YL00QRspF fge7XAFyW68NUFfN/cEHpWhEuocaWzrHtb3CxIc0= Received: from [IPv6:240e:358:1124:a900:dc73:854d:832e:3] (unknown [IPv6:240e:358:1124:a900:dc73:854d:832e:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 15469661C1; Mon, 17 Oct 2022 10:20:09 -0400 (EDT) Message-ID: Subject: Re: [PATCH V3] LoongArch: Add unaligned access support From: Xi Ruoyao To: David Laight , 'Huacai Chen' , Arnd Bergmann , Huacai Chen Cc: "loongarch@lists.linux.dev" , "linux-arch@vger.kernel.org" , Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , "linux-kernel@vger.kernel.org" Date: Mon, 17 Oct 2022 22:19:59 +0800 In-Reply-To: <39ea2a6fee654b68974ef38237a61e80@AcuMS.aculab.com> References: <20221017125209.2639531-1-chenhuacai@loongson.cn> <39ea2a6fee654b68974ef38237a61e80@AcuMS.aculab.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Prec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