Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp259887pxx; Thu, 29 Oct 2020 01:47:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOx7hYVePPjc8Ba+EVenw/dDJby6MKhoOMs9/Y64UP7WVRlR14BpjPreGwyN9ZqDfyQhZo X-Received: by 2002:a17:906:16ca:: with SMTP id t10mr1061305ejd.24.1603961260906; Thu, 29 Oct 2020 01:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603961260; cv=none; d=google.com; s=arc-20160816; b=uYT29KL5oyriI0ZDLJoXlW6CqTP0VyHdOoMN4XOcIf5uxCGAn1PebPllSZr4kwQqhu C8x22DOvu/9SXOKZ4hCCva/F5Fz082dfLSKKTJTUtLMYM3ROSbL/DOjPEM86aL/zGY3Z oj0gw+o6vkerYvf0aZ/sO5AkWfjoGKnl0PEOhry8jwtMp1+gmns8sMuSuc588qod7/8B qso+aAamUUND74wTRov+rDcCsXDsfHolozCdUMO8M/6buFYHRhSOg80LleUOAxM3iF2l QkkF2uPlm4gIgNhPd82U41meQRjpc34SgmTCSA+29HCYOkTu1DSYQ9okCh+RHPRxH535 WldA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=+uTgmNxhMST9TJdNeRnM+OSoU5FHblvBDNNfyGTiLR8=; b=Vyo61EBV83hYq4Rf2vyl7Sjbb9JSp1ZyP/1b4MxbxU8FY1bbR1xhA/FtlVB5EjE7xJ Xhl67hTnAv+o98Uc/98qIwurZUmVM4JrmHQ8GitXuKYTmCSBAVWBcCbhFgu0Gl+CbfGY uLho2JXUGpNxHJbThVrC7YZhUQpzzEgKpkDKiNygsXVbXyuEE/0oMP0FNRodMeUon1uJ VMd/5nFpW+2zNFJTdmTQoEHD8GbscNP+IZ3fRB5LytbgsIrxjecYjbI1kydH8ZNtDox7 3WO8WmxvZhFY5Lpk3B81vWzWq5dAX5VauSzRVsikPWTXfQPuru+DejziyprpcFyzVnWH N8+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x19si1401210edi.214.2020.10.29.01.47.16; Thu, 29 Oct 2020 01:47:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728708AbgJ2BxG (ORCPT + 99 others); Wed, 28 Oct 2020 21:53:06 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:39447 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728387AbgJ1V5l (ORCPT ); Wed, 28 Oct 2020 17:57:41 -0400 X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 09S4fO121001014, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb03.realtek.com.tw[172.21.6.96]) by rtits2.realtek.com.tw (8.15.2/2.70/5.88) with ESMTPS id 09S4fO121001014 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 28 Oct 2020 12:41:24 +0800 Received: from RTEXMB04.realtek.com.tw (172.21.6.97) by RTEXMB03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 28 Oct 2020 12:41:24 +0800 Received: from RTEXMB04.realtek.com.tw ([fe80::89f7:e6c3:b043:15fa]) by RTEXMB04.realtek.com.tw ([fe80::89f7:e6c3:b043:15fa%3]) with mapi id 15.01.2044.006; Wed, 28 Oct 2020 12:41:24 +0800 From: Pkshih To: "baijiaju1990@gmail.com" , "kvalo@codeaurora.org" , "davem@davemloft.net" , "christophe.jaillet@wanadoo.fr" , "kuba@kernel.org" , "straube.linux@gmail.com" , "Larry.Finger@lwfinger.net" CC: "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] rtl8192ce: avoid accessing the data mapped to streaming DMA Thread-Topic: [PATCH] rtl8192ce: avoid accessing the data mapped to streaming DMA Thread-Index: AQHWpcVKJ30NZbw/gky3yTJLE0YXfKmr90+A Date: Wed, 28 Oct 2020 04:41:24 +0000 Message-ID: <1603860037.8609.4.camel@realtek.com> References: <20201019030931.4796-1-baijiaju1990@gmail.com> In-Reply-To: <20201019030931.4796-1-baijiaju1990@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.213] Content-Type: text/plain; charset="utf-8" Content-ID: <1774CA54F780E34FA8A502B26F15290C@realtek.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gTW9uLCAyMDIwLTEwLTE5IGF0IDExOjA5ICswODAwLCBKaWEtSnUgQmFpIHdyb3RlOg0KPiBJ biBydGw5MmNlX3R4X2ZpbGxfY21kZGVzYygpLCBza2ItPmRhdGEgaXMgbWFwcGVkIHRvIHN0cmVh bWluZyBETUEgb24NCj4gbGluZSA1MzA6DQo+IMKgIGRtYV9hZGRyX3QgbWFwcGluZyA9IGRtYV9t YXBfc2luZ2xlKC4uLiwgc2tiLT5kYXRhLCAuLi4pOw0KPiANCj4gT24gbGluZSA1MzMsIHNrYi0+ ZGF0YSBpcyBhc3NpZ25lZCB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