Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1485263ybv; Sun, 23 Feb 2020 07:49:38 -0800 (PST) X-Google-Smtp-Source: APXvYqxleYznI7wT0w+y36hajXTfgamvsjqYIauVs4Y/LIdxQRpWFCbAISxIFmyl9F7Z76Sc0RbU X-Received: by 2002:a05:6830:1d59:: with SMTP id p25mr37679218oth.308.1582472978566; Sun, 23 Feb 2020 07:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582472978; cv=none; d=google.com; s=arc-20160816; b=oBRGRvPSTFk191qz+WXDW8RX3Xsui65rxk3yQAwm83xIw44JunpptgoLw2hJJ/2c5L UJm8jzbmhLx6k5srqjmK0eTDadCR2nlSECePzzGQ2hHLgeUPDUfTCwYQDREJ7jhPHM/o iGCwMRuUOhUseoGyTlxnyHwC7EsVWe5MaGTu9YfsA+3Y5/BlOIb4PowUYAHo2VpQP9F0 l0hpn5Wc7qrdYM98nyXR2sj3f5teKLx5n4kxpzblEUO8dlReinPMLE5UxZ17Y1H4Jyir YairL++pKtr0vDKw90hvLJ43oZGZfhU5/oWWBsoDVrw4OGiHm0Bqps5cvFen9ChHtZVr lTtw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0nKH1cddPqIhprdICOy5mrIMOZ5r54kyLtHZf1Qc6t4=; b=rZSrjSOCye2ornlvXoGjBB3dQdMz6Mnz75rfvcBuCKXqTPoixWjRs7awY3B6FNNl6N mxXSpe9bDntpOzph5KTX/wryEMIzZR52rwC/9GNrEd5w6oBHmXZyPC+xKy2SPqRIZQr5 13qNEnxJBJ3bMRpUtoeaFb+GeAzaCVWrc/NJMtzaIlZXoLjnz+5zmM+x5lQSUIzlIeOs RG0liLlHnBacJV4xKNutZOvAxIG5lMgeCkbBmifWs6HUvuCrGO/wErIMQleawpQ7r2ik 0bdSJJIaxVCEQsoRjrhjUVwjdQ8FOskF3Fni98BpVCeamz60i53k9EqhogdeuHEN0Opi 3kng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=rbUsAmSa; 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 v23si4582051oto.81.2020.02.23.07.49.25; Sun, 23 Feb 2020 07:49:38 -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=rbUsAmSa; 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 S1726933AbgBWPtW (ORCPT + 99 others); Sun, 23 Feb 2020 10:49:22 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:50327 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726208AbgBWPtW (ORCPT ); Sun, 23 Feb 2020 10:49:22 -0500 X-UUID: 40a2514bdc9745c7a58158bde4f8cc3e-20200223 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=0nKH1cddPqIhprdICOy5mrIMOZ5r54kyLtHZf1Qc6t4=; b=rbUsAmSaUKac7XbAmN9yZsihbYIy+rDemDxQRGEtTcx7e+tbsvnNjNUCcIfK+Ok1vmz92OfMZ86XnYpu9WOEBiX4cNMe5k0MVewwy3XgsSV9SCCUyInKjKltvdnodlOnF/N414PDBCZOZtgCvpkO0m39g5//U7x/iOqP8+cvPww=; X-UUID: 40a2514bdc9745c7a58158bde4f8cc3e-20200223 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1991646407; Sun, 23 Feb 2020 23:49:13 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 23 Feb 2020 23:48:24 +0800 Received: from mtkswgap22.mediatek.inc (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, 23 Feb 2020 23:48:17 +0800 From: Macpaul Lin To: Matthias Brugger , Shen Jing , Sasha Levin , John Stultz , Andrzej Pietrasiewicz , Vincent Pelletier , Jerry Zhang , , , , , Mediatek WSD Upstream , CC Hwang , Loda Chou , Al Viro CC: Macpaul Lin Subject: [PATCH v2] usb: gadget: f_fs: try to fix AIO issue under ARM 64 bit TAGGED mode Date: Sun, 23 Feb 2020 23:49:07 +0800 Message-ID: <1582472947-22471-1-git-send-email-macpaul.lin@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain 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 VGhpcyBpc3N1ZSB3YXMgZm91bmQgd2hlbiBhZGJkIHRyeWluZyB0byBvcGVuIGZ1bmN0aW9uZnMg d2l0aCBBSU8gbW9kZS4NClVzdWFsbHksIHdlIG5lZWQgdG8gc2V0ICJzZXRwcm9wIHN5cy51c2Iu ZmZzLmFpb19jb21wYXQgMCIgdG8gZW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