Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2465134ybc; Wed, 13 Nov 2019 15:02:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwHnq3lQwu+FYqjub3TRcHww4fOHi8u50z67FDeXYkidr01QJCO3RMDBZazuHiFHezAe8Co X-Received: by 2002:a17:906:5786:: with SMTP id k6mr5429838ejq.294.1573686171926; Wed, 13 Nov 2019 15:02:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573686171; cv=pass; d=google.com; s=arc-20160816; b=jcvo3FNrtFLAnVuRRT3EJxz8Nsa0mIpxT86eqnHXz4Gs/gGJ0admCBC9vENw9jI1x5 yM7vWtyflO/2L/cpjdMhnijFEIHRx8Y07sk+y+plwbWpzSGegW4TFJTP4BAQljQznBL0 RUz7C2Da4jULsAmrsh49P4ISSBzRg5BzAfLE0nK/QLhMdAUNH0lqMeOoX9yjUVjr5aPZ 2QU6Xpx5sDAxW7R3+MWa1PxGtDDfMkIaJI8DkeM3yntXKFKkVn/zp0coUl8NViuhlM2u UE60gEuHRIKxM5JHhstRnPMBFKg9vpwlkD47oaWWyeMDQtKfV9r2VvY5OvlOIL20J1fJ ku3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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 :dkim-signature:dkim-signature; bh=sWku2HQde+2xPxJtI7NazfMpnw+2ozok3mx/ix3FcDY=; b=S/bOfsiw6jAcQFbQSaicm5s5+NbwYMSIWKxD4BGoTO7YDklKWkOeWiUGG17oSVnWD/ +S8rreQwvfaBYoHL5FNY+JHN8MCbUrZgqVLENGJn5bGEwkTEWQ+gmuow2dMYqhrOKMy6 e9qwteZe9dtPRYRi86LrmWKhp5RpVt2QszujbfKCC/vYwo47CDHOAD6oODSjLK52AaTD GYKW+Cxe0HzE03c9XNP66d4Yk0cTahEzR6i0ChblzeklQTiBElYe51OS1xLUOFq9t9EK +Lfi/QA3WcxpGqC5/UsROMNXHtqj+JELVIpEJbFu3/q1xKhVnA6N4+a18JsAtoUU8nVc ZCyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=XRV0uHxz; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=arGRdhqC; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si1976150ejx.181.2019.11.13.15.02.18; Wed, 13 Nov 2019 15:02:51 -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=@fb.com header.s=facebook header.b=XRV0uHxz; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=arGRdhqC; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726521AbfKMW7Y (ORCPT + 99 others); Wed, 13 Nov 2019 17:59:24 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:18078 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfKMW7Y (ORCPT ); Wed, 13 Nov 2019 17:59:24 -0500 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xADMtWl6014021; Wed, 13 Nov 2019 14:58:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=sWku2HQde+2xPxJtI7NazfMpnw+2ozok3mx/ix3FcDY=; b=XRV0uHxzVljYNyHfBxvQ/k6yl+SjeLCrE47CjJU7d3wRygiUL3zZ2ZliGcFV1oNqllSU pvBGh7BidG7nZsBN/NFULwIKUj/HtcRtEbp4QehIFzfK3Bkw88Cu1pk6foXM1hy41Eqa VdMa7ckqg6DvFRfh42fYoAQ5sMC3M6m3sq4= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2w8u0t80uv-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 13 Nov 2019 14:58:51 -0800 Received: from ash-exhub101.TheFacebook.com (2620:10d:c0a8:82::e) by ash-exhub104.TheFacebook.com (2620:10d:c0a8:82::d) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 Nov 2019 14:58:49 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.35.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 13 Nov 2019 14:58:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xfa80p8OV3UgdnUWJu6EcABCTQ85JTg88SajWBsd/OOLi3abYm/0+5CSfLiPfkasybCSuhIQEdXT6BujU5hk26yjiz3MIV5UhgbKQnHZllHwDAR1Okn7iyp2drodDB8GTXUny0zJl/x5kxmi3W8wUG1qo5rB6DA/yO5zRsGgX3tZh8zsdvb6jcvwhwq3PGqoaKTLBMBUJKdgIHuup3poquxrh140Y8hz4GWEr8Laut+e1yuUXVGj2HYoXpWXlHI2KvRIg+3B9QKqZyUw1yfwAebEaIXPFhUubNJTxoxx/RB0N9Zod5tq7hE/jOso7/SuokaZ87AIPx49YC+vYsLVcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWku2HQde+2xPxJtI7NazfMpnw+2ozok3mx/ix3FcDY=; b=HATncn6rs6T3VICbG+7IGL1KbNYcxt78I7fQBzf0lUnsguZQ6VaJ60ww+7L/u1gMLnXgsZceKC+tSWwYjzxoKDd/GkYj2g9W+XGOAMjF3Pf1cIrRRuk+mCUzM1QI8rJ1eC1iE9yjq20klLrePhqb+RjggabmE+WvWSZ8hmHZjtu7S1fHGjICX8SBmVTX/iNM+UIClBDIfFeEircXRtE/ZO/umJytluCh5NxYjaEmdSkzuKcd+UPjoS5luoUbCpIZ7jYSm1/tQuMX1uDhwtM2WCCbnqNQ9FEgKe9A4PiIGy93fHWIysnH5Uh51VGC47sqa8zJ+PUksJXQnP0NHaV2Pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWku2HQde+2xPxJtI7NazfMpnw+2ozok3mx/ix3FcDY=; b=arGRdhqC1PNbt/8QmWWvMPktrBlEAGLGIBYiajcCf9QVMhQunhwVwr7oQjMG4Y52+dLzpZg1MxBSmGIcnHdVwxlAe8b0gZlD5WZLoP3x2marUXVum0dOGPal9unOjMAomn6LjTuG+J241FtTFuvu8qNvHty9Si6+3Pzbp5LbI6E= Received: from BY5PR15MB3636.namprd15.prod.outlook.com (52.133.252.91) by BY5PR15MB3650.namprd15.prod.outlook.com (52.133.253.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.23; Wed, 13 Nov 2019 22:58:46 +0000 Received: from BY5PR15MB3636.namprd15.prod.outlook.com ([fe80::71db:9d2a:500c:d92b]) by BY5PR15MB3636.namprd15.prod.outlook.com ([fe80::71db:9d2a:500c:d92b%4]) with mapi id 15.20.2430.027; Wed, 13 Nov 2019 22:58:46 +0000 From: Vijay Khemka To: "minyard@acm.org" CC: Asmaa Mnebhi , Arnd Bergmann , "Greg Kroah-Hartman" , "openipmi-developer@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "cminyard@mvista.com" , "joel@jms.id.au" , "linux-aspeed@lists.ozlabs.org" , Sai Dasari , "wsa@the-dreams.de" Subject: Re: [PATCH v3] drivers: ipmi: Support raw i2c packet in IPMB Thread-Topic: [PATCH v3] drivers: ipmi: Support raw i2c packet in IPMB Thread-Index: AQHVmlgx5hC93vJeUkW0xORXbQm1S6eJjmCA//+JUQCAAIuHgP//jckA Date: Wed, 13 Nov 2019 22:58:46 +0000 Message-ID: <00D9E632-E2D5-413B-BFF8-6791D599943D@fb.com> References: <20191113192325.2821207-1-vijaykhemka@fb.com> <20191113214733.GO2882@minyard.net> In-Reply-To: <20191113214733.GO2882@minyard.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2620:10d:c090:200::63b] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d7aa811c-cf1b-4309-05cf-08d7688d0a53 x-ms-traffictypediagnostic: BY5PR15MB3650: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0220D4B98D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(136003)(376002)(366004)(346002)(189003)(199004)(13464003)(76176011)(66946007)(14444005)(5660300002)(486006)(2501003)(81156014)(4326008)(81166006)(6506007)(6436002)(66446008)(66476007)(53546011)(66556008)(54906003)(25786009)(6512007)(186003)(2616005)(64756008)(86362001)(6246003)(14454004)(446003)(476003)(102836004)(36756003)(8936002)(11346002)(2906002)(46003)(6116002)(256004)(6916009)(5640700003)(76116006)(99286004)(316002)(1730700003)(2351001)(229853002)(33656002)(7736002)(7416002)(478600001)(71190400001)(71200400001)(6486002)(305945005)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY5PR15MB3650;H:BY5PR15MB3636.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bwPalWqJ3FflpSrS1up1OeIVUUpWPSuqts9Nft6QdBnrenlM3D4N69Zt+7W3DOJXjGck04iKS2uBohYwsLUJC/xitR221+p2mMzXzH7Sz3RFdegCQxoPi4eRGPwoFFb4biRo420o+fYLgBxlohyIy6rrx7/98+VZYn8dn2dycQ2MkdkaD4kMkbJPQfAELN0Iv/kJFRE4R6MBMVvvBUM3/Sl4lzHFFlv2SvgtPRVYHbAMb6pq89qi1SLes+p/+6ndE60nARnlNPVjkTltKwiPQS+cUQzrzxYxQLrmAv7K457+yUCkRhOgQzkbwQL8yX+UmKChTKG8V86mYBVCEHi/Y43jPEZvdA+P6LLuPpeP2VZtAtbIPgqxvHQSY+vYtFjf3S/oz9ummrif3pRHj49Fil9/JKkl3qTLEPWZtEd34lGoRHfKVD7uytMLiCct/k7W Content-Type: text/plain; charset="utf-8" Content-ID: <5190B80E9D3A23458CE1D7AE036B414C@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d7aa811c-cf1b-4309-05cf-08d7688d0a53 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Nov 2019 22:58:46.8535 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: C/iC+vehmeOdjJ6U19ZK99YeFj0rXGjzP/hWY1s0c2Jqr1PLs+Z+leNTNPd4RwKBCDbs6FqNBgaDhvS4d/FeNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR15MB3650 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-13_05:2019-11-13,2019-11-13 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 spamscore=0 suspectscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 bulkscore=0 mlxlogscore=999 impostorscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911130191 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCu+7v09uIDExLzEzLzE5LCAxOjQ3IFBNLCAiQ29yZXkgTWlueWFyZCIgPHRjbWlueWFyZEBn bWFpbC5jb20gb24gYmVoYWxmIG9mIG1pbnlhcmRAYWNtLm9yZz4gd3JvdGU6DQoNCiAgICBPbiBX ZWQsIE5vdiAxMywgMjAxOSBhdCAwOToyODoxMFBNICswMDAwLCBWaWpheSBLaGVta2Egd3JvdGU6 DQogICAgPiANCiAgICA+IA0KICAgID4gT24gMTEv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2X2ludC5jDQogICAgPiAgICAgKysrIGIvZHJpdmVycy9jaGFy L2lwbWkvaXBtYl9kZXZfaW50LmMNCiAgICA+ICAgICBAQCAtNjMsNiArNjMsNyBAQCBzdHJ1Y3Qg aXBtYl9kZXYgew0KICAgID4gICAgICAJc3BpbmxvY2tfdCBsb2NrOw0KICAgID4gICAgICAJd2Fp dF9xdWV1ZV9oZWFkX3Qgd2FpdF9xdWV1ZTsNCiAgICA+ICAgICAgCXN0cnVjdCBtdXRleCBmaWxl X211dGV4Ow0KICAgID4gICAgICsJYm9vbCB1c2VfaTJjOw0KICAgID4gICAgICB9Ow0KICAgID4g ICAgICANCiAgICA+ICAgICBBc21hYT4+IHJlbmFtZSB0aGlzIHZhcmlhYmxlIDogaXNfaTJjX3By b3RvY29sDQogICAgPiBEb25lLg0KICAgID4gICAgIA0KICAgID4gICAgICBzdGF0aWMgaW5saW5l IHN0cnVjdCBpcG1iX2RldiAqdG9faXBtYl9kZXYoc3RydWN0IGZpbGUgKmZpbGUpIEBAIC0xMTIs NiArMTEzLDM5IEBAIHN0YXRpYyBzc2l6ZV90IGlwbWJfcmVhZChzdHJ1Y3QgZmlsZSAqZmlsZSwg Y2hhciBfX3VzZXIgKmJ1Ziwgc2l6ZV90IGNvdW50LA0KICAgID4gICAgICAJcmV0dXJuIHJldCA8 IDAgPyByZXQgOiBjb3VudDsNCiAgICA+ICAgICAgfQ0KICAgID4gICAgICANCiAgICA+ICAgICAr c3RhdGljIGludCBpcG1iX2kyY193cml0ZShzdHJ1Y3QgaTJjX2NsaWVudCAqY2xpZW50LCB1OCAq bXNnKSB7DQogICAgPiAgICAgKwl1bnNpZ25lZCBjaGFyICppMmNfYnVmOw0KICAgID4gICAgICsJ c3RydWN0IGkyY19tc2cgaTJjX21zZzsNCiAgICA+ICAgICArCXNzaXplX3QgcmV0Ow0KICAgID4g ICAgICsJdTggbXNnX2xlbjsNCiAgICA+ICAgICArDQogICAgPiAgICAgKwkvKg0KICAgID4gICAg ICsJ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