Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3515999ybv; Tue, 25 Feb 2020 02:42:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxXR3Bk0CDn6XlLOvTNP+jdD9AhQoT7TU8dmjKpSDysOKOw9ayu92E/CauGqKKH0sWSdnB2 X-Received: by 2002:a9d:7a47:: with SMTP id z7mr45099026otm.179.1582627370666; Tue, 25 Feb 2020 02:42:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582627370; cv=none; d=google.com; s=arc-20160816; b=oAB3l2g1iaJGyUMaszloY30LqHcivMRjAnj3gMcFfWfaBtEYZlnHgFaO+mJsrcVAJI qRWpvg6j8tE602vHsVyblpVoqOASV6RJZrDWmQx9zAOnPwluFpW0uHE4HyfoJWmXoBW1 I7FWkwti8guwlcr/QKmbBtAkViBcgo8h8lVFQXPDr9RCq7ygfBGffApatIsLR5S4DIOX uPd//7+use6epqk8aj2eY8I6kGfJGnWLUNOuzFRCPdoNUiaubast7iPWC4gunHhcUmi/ WX23YuS17dXLiZntMM7qu/YMpkKYvP/0evX6uRoQDcug0Z1hvM6RlBUC6CT0/KSJdabf MS4A== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=F/HwmP2nkakeOJe6rb/hTQ+jcOaAno58DR/mM7/DDU0=; b=kIltJiDZ1cS4Px7kERsUJnrGVgPPWxWXUNv6e205I67Us/PYUHQEA6Gog7Z7d8s8WM cCRgPcjnkd6A0Bn8mY5PIE8+j7lz/W071Ppf7xK5PK2KDpIKCpy7CoUW1c/siQQa3sOX slwVDDSO33bwBYse5wmJqDLiuS2wJUCza2vAUtwb/UeXsmY8OPB3UMvZ1VSIqbeVBBd3 1O/JTvZ/AkI7pyaFWz8F3qe1FdNhVZE2Cprns3AWWUU84IdAO9Y7fuSryQgAkaT9cnhh atQE8cxocU60o59Cawo0Ra4ywFU7A2+aWV6wsHxiLYLbddlseiZGiUkuRFEdeTfc1QIh OQXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cV2wzTUV; 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 w207si6492572oia.226.2020.02.25.02.42.38; Tue, 25 Feb 2020 02:42:50 -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=cV2wzTUV; 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 S1730328AbgBYKmH (ORCPT + 99 others); Tue, 25 Feb 2020 05:42:07 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:10267 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729417AbgBYKmG (ORCPT ); Tue, 25 Feb 2020 05:42:06 -0500 X-UUID: 1872ab0ccbd84197b00233eb8f8611a7-20200225 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=F/HwmP2nkakeOJe6rb/hTQ+jcOaAno58DR/mM7/DDU0=; b=cV2wzTUVO9sdNTTO5c2ZuOmuT47xPenpLJHqKSZz1K0MNz60SZOumoAx3FgC/RMOXFUwIZhrvojGlWTFaH95fdAa9ftmXOKCzHQm6zUGF69CN8jAtm5+NstBASQomDBEF1Pvt7+HZhcAcadma5n2lW0A+/fLunNhSJT3RrsnrkM=; X-UUID: 1872ab0ccbd84197b00233eb8f8611a7-20200225 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1569439019; Tue, 25 Feb 2020 18:42:01 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 25 Feb 2020 18:37:53 +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; Tue, 25 Feb 2020 18:41:57 +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 v3] usb: gadget: f_fs: try to fix AIO issue under ARM 64 bit TAGGED mode Date: Tue, 25 Feb 2020 18:41:55 +0800 Message-ID: <1582627315-21123-1-git-send-email-macpaul.lin@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1582472947-22471-1-git-send-email-macpaul.lin@mediatek.com> References: <1582472947-22471-1-git-send-email-macpaul.lin@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 861415B116ECAEBFF54A79652E47A283856E8F4245AD425BB9510418B61F86902000: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 VGhpcyBpc3N1ZSB3YXMgZm91bmQ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