Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3612466ybv; Tue, 25 Feb 2020 04:20:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwb2Uic8dPdqJeS6EBDo3dzvI56iL5KBvnClh9R/kCpK3WZzIn3aeKYpyWkFLTo1fOa7LVm X-Received: by 2002:a9d:842:: with SMTP id 60mr33856014oty.318.1582633256995; Tue, 25 Feb 2020 04:20:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582633256; cv=none; d=google.com; s=arc-20160816; b=mlxvXnxRrqEvHbRzFj8IAlyJqAek+fqz2c1VUn5lUGGDaq4jdtfuQ21avESfbHHRky yLiBvYA9bbDlk8R3DDpss289R8FD8vXHkvKa/kccDsHmexN9F0kTeofSIZiG7yCPfeeM Cyd4+YgqIp5xRmzMdHkFZzoH1LvdUxjzy3kTN2ylwRqCMzCMYpn3IUQ5yGGqp89sii8d 3cnz7KzDmgJKwS94zygz5RuU4+9glqhS9fVGFFdb4HQvFcLC4cXgez8t4wJXIeW+fQ04 U3BVbm6bmDVR5KuoYEdNgfgn39n6S+D8cJcGH6hPMySwNQIrstmxFFAq92KrwPLFS3yL +USw== 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=NIVA4F3l7yQpEwqBqiJgTY82QKy3hO5czh6wpcjlijk=; b=Cq1L3jWuNtPNx2mzhZHTESPMnxbM0fvOwt33yO7qbhoeU+lR1B/EDWoo2ADKPTKPXt cV04F+RtQEL96jbK9bBq9VNc/lKER3rKNX1pERPJLQhQg9Sjk7pe27BGj56Knmdu2R76 vB1ukphFCAPFa4lRcvkuYLZATtwIb8iImuPzVOj5kxI9ia9bD8KzKzjOuSVgwbnR7YXJ A1NC5mXl9u8FU65RNJlIxslGeead8sDPK6N/UpI2v7fV0HE4Kp7bq2ZhKuwAaytsKma8 D94Z47vKGjenydM9yDDVHfqj+ikzWLd6k09nbs8EWX3d+rx0LAM9YHchzz1y03FXHOfH qwpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ipz4bO+D; 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 c11si6426838oic.20.2020.02.25.04.20.42; Tue, 25 Feb 2020 04:20:56 -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=Ipz4bO+D; 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 S1730374AbgBYLHo (ORCPT + 99 others); Tue, 25 Feb 2020 06:07:44 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:33669 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729034AbgBYLHn (ORCPT ); Tue, 25 Feb 2020 06:07:43 -0500 X-UUID: 27556acbd761478096be470492a74c69-20200225 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=NIVA4F3l7yQpEwqBqiJgTY82QKy3hO5czh6wpcjlijk=; b=Ipz4bO+D3YZ9Y9KXCCPN+lEr4fmGYyzfYDpyIEMemegZZoCB71iSkjODWd04jRlkz6ssb/WsobqN8qZ3hgvHrs5XRU022KA0ciirYZz68kmqxRd2euDvEGEu7KXMgW+/sYnCraC93eFjoGE8RdDJ92ZekTE1Eu+8gPnXy2j6g+g=; X-UUID: 27556acbd761478096be470492a74c69-20200225 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 1274444266; Tue, 25 Feb 2020 19:07:38 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 25 Feb 2020 19:03:29 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 25 Feb 2020 19:07:22 +0800 Message-ID: <1582628855.31160.3.camel@mtkswgap22> Subject: Re: [PATCH v3] usb: gadget: f_fs: try to fix AIO issue under ARM 64 bit TAGGED mode From: Miles Chen To: Macpaul Lin CC: Matthias Brugger , Shen Jing , Sasha Levin , John Stultz , Andrzej Pietrasiewicz , Vincent Pelletier , Jerry Zhang , , , , , Mediatek WSD Upstream , CC Hwang , Loda Chou , Al Viro , Date: Tue, 25 Feb 2020 19:07:35 +0800 In-Reply-To: <1582627315-21123-1-git-send-email-macpaul.lin@mediatek.com> References: <1582472947-22471-1-git-send-email-macpaul.lin@mediatek.com> <1582627315-21123-1-git-send-email-macpaul.lin@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 4C2CF332432AB414CFC0F2323587578A8A6BD2A698FE908B77F606313F3EF5E22000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org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