Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp907022ybf; Sat, 29 Feb 2020 19:26:21 -0800 (PST) X-Google-Smtp-Source: APXvYqypJLL0NIlwIz7sCm/rSczYkdh7J9lSCTQ8jR2OCV1Ba0UjbU08bXZsY81sIrQ1/EJ5595k X-Received: by 2002:a05:6830:168b:: with SMTP id k11mr4839199otr.156.1583033180864; Sat, 29 Feb 2020 19:26:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583033180; cv=none; d=google.com; s=arc-20160816; b=MW4P0ocrR7xls0mk0GxJTX+4HBGf1DZ9Fm8ZTm9nUkbQtgKhrcmkOXL3LTOwT/09MT 6DRm1GGSgWrtPddJB4zVBpBAsqKAl2ex6W7QB2bvny//9Fhi4RDlnGBMZF4+PjDkNNnt X22yh8A8Cm3yYnxb8NwGiBhRNNrPqOthm2JgRrw+eE/bJV+a60jyaguN5KVrqYAI7SfH 2KaAfazNj1nBGdaOXMy4zIIHWOqBWYQoKb0I7u2+vSFtnYcgK5HJlmcPtgSorjH6/7J4 LKeWrtbWqaNHb7k2wPsCufqqtznlbNMmo+AjOgZ7SUZ5YWXuRaaOjHGH2eeITXQrUd7V uVTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=gEuqpc3FvuW2EqLSsfehY0NEfaRH3CHq60ZO1Tz8Ll0=; b=lpxle40sjjV76//ZKzSOJ79Ues9lqpnuxKD6Se8dqEmIiKT4V0DGb4IbYpOorYRjlL fEZh1asaYsrf8HXIwI8ATf4OoGmUBmLKbQWCYiF0AmJx+fMApF/IfiFpSiLiODjKWKhA Z6SGOg4zrVPYqSFIlNpueXmsR4En3gq+C3bF/mke4w6cPPh7t1YUwf58gdbtbyIxDof5 0CR1QOjGzl2waUkl7hsJ16FxBAVTob+rXEq4qCsiuhOhMD17d5uICz+FL8SANjDqPL2v L+fLdOxXuTMHL8ZMhAQJ+S3LIhGsOg1dsmv8CHVfv1d3GRRZSjWhNF1nzMkn5IhR9tQP J0zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=STzk469Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si3978903oic.153.2020.02.29.19.25.27; Sat, 29 Feb 2020 19:26:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=STzk469Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727312AbgCADUz (ORCPT + 99 others); Sat, 29 Feb 2020 22:20:55 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:32827 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727242AbgCADUz (ORCPT ); Sat, 29 Feb 2020 22:20:55 -0500 X-UUID: 7b3ded5a30884d9988efa18b6d36d784-20200301 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=gEuqpc3FvuW2EqLSsfehY0NEfaRH3CHq60ZO1Tz8Ll0=; b=STzk469ZSYIlP+pyoY3x8u2RtXO3oALFryqCMlRvwlrneR+vRfK8B8+UM8WWTP31kB8WpTx/lgqqJgNm/GBDiJvFyxzO7d+SYYz/tjoIbUQ0DC8D4WSgLGdsaKJ2LWnUUHf07/O/IyQyVbBodXs7HS+FXVyaRXxYgyHx5Ww7aeI=; X-UUID: 7b3ded5a30884d9988efa18b6d36d784-20200301 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 725150250; Sun, 01 Mar 2020 11:20:45 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 1 Mar 2020 11:22:18 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sun, 1 Mar 2020 11:20:18 +0800 Message-ID: <1583032843.12083.24.camel@mtkswgap22> Subject: Re: [PATCH v4] usb: gadget: f_fs: try to fix AIO issue under ARM 64 bit TAGGED mode From: Macpaul Lin To: Catalin Marinas CC: Sasha Levin , Shen Jing , "CC Hwang" , Peter Chen , "Mediatek WSD Upstream" , Jerry Zhang , , , Loda Chou , , , Andrzej Pietrasiewicz , Miles Chen , , John Stultz , Al Viro , "Vincent Pelletier" , Matthias Brugger , , Date: Sun, 1 Mar 2020 11:20:43 +0800 In-Reply-To: <20200228164848.GH4019108@arrakis.emea.arm.com> References: <1582627315-21123-1-git-send-email-macpaul.lin@mediatek.com> <1582718512-28923-1-git-send-email-macpaul.lin@mediatek.com> <20200228164848.GH4019108@arrakis.emea.arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: lin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