Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1552451yba; Thu, 25 Apr 2019 01:33:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs2P23idMOB+1r9aBbBnV42KM8gRwHdzJbRplAApHlP9jzXrqLSyboq4o5kBzYSNo260Lu X-Received: by 2002:a62:1b8a:: with SMTP id b132mr38338072pfb.19.1556181220233; Thu, 25 Apr 2019 01:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556181220; cv=none; d=google.com; s=arc-20160816; b=HVrP7UqyWHBz9VM3oa4WzN9SRQfRgQpbGQ2/Sazl0g1ZMT2sePAhiPrhD9UCdh7Nzp bqlUCpkvaz603FWEvKTbLsaYIPbk7MMQ7IufMVYgG65TTyjslUqOr2WDVXw84o/qjfrn O5jPFjxdUyhayBXZpwDNJD4bnpD/OQt2pGnDI6/IErHFrLx38JSCq52MelqN6mb4HHD4 aU0m3qRa9Ejep+yFUyrVZO1o5KBu7BWn0BpyUeKXmV2nH9skux68J6qWhJhk7VXmWXCY XL8o2oh+IMURarxSZFs54dLchViLU8ANctfuL27nXG6VehgFfsPDmLuUqQI2oAe+NZkq NJGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=9m3AOJLwpvxLfCxQqt86Ujv4p80fTUqawglJ9fa3dOc=; b=UDqx6FJ2Y549HdapGNvagsnb6bly+slshdQ3K5YkIVIqwBeE3+ddiYRWEn9hmNfMT/ ZLXvK2dk+nUb5nvtFWFIsx2vBaGMB3ddgAQzfSgO48pNWivge/53dBiXDNXfblUFWf9a 2BIkC0tEotyA6+eRy64y9JIpkDZK1IbM7H/jxy4eUamT32XoGpff/uTPSGTJncUZR/sV ji+OdbKi3ondUg463uO3r6UJDqCaQZrhDw9+oEPImaTWlGVBoX9iwW8SMLKKfDsI7yAm QFG/IJcqHKLWjwiUbWLyhh1iMosg/TXawhzWTUgHrXd3M3TgSCn+S9e3PWQzSkvFGRAu 4i+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cypress.com header.s=selector1 header.b=Ler6CjQU; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cypress.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r198si20988383pgr.153.2019.04.25.01.33.18; Thu, 25 Apr 2019 01:33:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@cypress.com header.s=selector1 header.b=Ler6CjQU; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cypress.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387641AbfDYHFu (ORCPT + 99 others); Thu, 25 Apr 2019 03:05:50 -0400 Received: from mail-eopbgr700097.outbound.protection.outlook.com ([40.107.70.97]:3937 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387520AbfDYHFu (ORCPT ); Thu, 25 Apr 2019 03:05:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cypress.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9m3AOJLwpvxLfCxQqt86Ujv4p80fTUqawglJ9fa3dOc=; b=Ler6CjQUpoQcS/AaIBj1eXEdkd9q31DjWQ3ICFhEFLyzEgI1S3lt1hU2/DEJVFQbrRYD8UxZOX0w5iLHDyDvGrceYAuiTfQIsAi1di9JLkZwqU12ioSkzbS2tjebCWDTTYOibBdHvQruTdvGF3wgVhIpC8WAe7OyA28JcsL2kMc= Received: from MN2PR06MB5806.namprd06.prod.outlook.com (20.179.145.207) by MN2PR06MB5854.namprd06.prod.outlook.com (20.179.145.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.14; Thu, 25 Apr 2019 07:05:47 +0000 Received: from MN2PR06MB5806.namprd06.prod.outlook.com ([fe80::1ca6:d3b:6b7a:65cb]) by MN2PR06MB5806.namprd06.prod.outlook.com ([fe80::1ca6:d3b:6b7a:65cb%5]) with mapi id 15.20.1813.017; Thu, 25 Apr 2019 07:05:47 +0000 From: Wright Feng To: "arend.vanspriel@broadcom.com" , "franky.lin@broadcom.com" , "hante.meuleman@broadcom.com" , "kvalo@codeaurora.org" , Chi-Hsien Lin CC: Wright Feng , "linux-wireless@vger.kernel.org" , "brcm80211-dev-list.pdl@broadcom.com" Subject: [PATCH v2] brcmfmac: send mailbox interrupt twice for specific hardware device Thread-Topic: [PATCH v2] brcmfmac: send mailbox interrupt twice for specific hardware device Thread-Index: AQHU+zVOwI/gZmAwDkeXkV8XDkqnKA== Date: Thu, 25 Apr 2019 07:05:46 +0000 Message-ID: <1556175939-174559-1-git-send-email-wright.feng@cypress.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR05CA0024.namprd05.prod.outlook.com (2603:10b6:805:de::37) To MN2PR06MB5806.namprd06.prod.outlook.com (2603:10b6:208:127::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wright.Feng@cypress.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.1.0 x-originating-ip: [12.110.209.245] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 28f0aa4d-de17-4cfd-7dba-08d6c94c70b8 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:MN2PR06MB5854; x-ms-traffictypediagnostic: MN2PR06MB5854: x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(376002)(396003)(346002)(366004)(39860400002)(189003)(199004)(71190400001)(2616005)(6512007)(52116002)(97736004)(486006)(8936002)(2501003)(26005)(99286004)(186003)(54906003)(6636002)(81156014)(8676002)(316002)(4326008)(14454004)(476003)(478600001)(110136005)(50226002)(81166006)(53936002)(72206003)(2201001)(66946007)(71200400001)(386003)(66066001)(86362001)(5660300002)(14444005)(2906002)(6506007)(256004)(102836004)(64756008)(15650500001)(66446008)(6436002)(73956011)(66556008)(6116002)(36756003)(25786009)(3846002)(7736002)(44832011)(305945005)(68736007)(66476007)(6486002);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR06MB5854;H:MN2PR06MB5806.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: cypress.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: b1JJiay6M6FcLfYFS7Xnz+tw6GHUBrZM8YB0Sj9uCXK4Mm0ZoVJKTV1R2pum56K914lycp5iwqMrO7JUT6FliTk5Fz78F0oamARY0MUwvHXkk/rBWAtbf5GF4nA3twm/R7+hQ9h3Ydm+PCU35PiynJ5R2PLHNg1piHL0qOgZI4Qal31fvvJj28Lskdk+s7zm8H4cx3gzVuiiULoPIFHcIXoPReFxoKIGYBH5vwh4HrZPUqpp7o88ai9TxaMW3Kt4+CwUb6dQTzogO7RPlbNj1nRqqmizHdePszY0lYER+xCmVaFx4HpThfCqbGb1pWtaWG8qwjWmZEIdlvGdHvtBos8NYDWWkRgeFR6CLNDxJF/dGj2fD4fv9yl9II21U9y70kdtj11wHJNJfm+yK/tyZcKzaGvhqM80BXm/5haip1I= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cypress.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28f0aa4d-de17-4cfd-7dba-08d6c94c70b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 07:05:46.9143 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 011addfc-2c09-450d-8938-e0bbc2dd2376 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR06MB5854 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Rm9yIFBDSUUgd2lyZWxlc3MgZGV2aWNlIHdpdGggY29yZSByZXZpc2lvbiBsZXNzIHRoYW4gMTQs IGRldmljZSBtYXkgbWlzcw0KUENJRSB0byBTeXN0ZW0gQmFja3BsYW5lIEludGVycnVwdCB2aWEg UENJRXRvU0JNYWlsYm94LiBTbyBhZGQgc2VuZGluZw0KbWFpbCBib3ggaW50ZXJydXB0IHR3aWNl IGFzIGEgaGFyZHdhcmUgd29ya2Fyb3VuZC4NCg0KU2lnbmVkLW9mZi1ieTogV3JpZ2h0IEZlbmcg PHdyaWdodC5mZW5nQGN5cHJlc3MuY29tPg0KLS0tDQogZHJpdmVycy9uZXQvd2lyZWxlc3MvYnJv YWRjb20vYnJjbTgwMjExL2JyY21mbWFjL3BjaWUuYyB8IDYgKysrKystDQogMSBmaWxlIGNoYW5n ZWQsIDUgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVy cy9uZXQvd2lyZWxlc3MvYnJvYWRjb20vYnJjbTgwMjExL2JyY21mbWFjL3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