Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3507038ybc; Thu, 14 Nov 2019 10:07:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxvcMGU+FXyV0nticig4KZtMdKHDrsWlrF8nyFQMUlwYoUY2QL6gemARCXEVs4ieCQPcH4v X-Received: by 2002:a05:600c:506:: with SMTP id i6mr9529937wmc.153.1573754876881; Thu, 14 Nov 2019 10:07:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573754876; cv=pass; d=google.com; s=arc-20160816; b=p9zJClAxW7DyHGngi9cWry17iuxlLr5omPFPB3p7yXjk9kH52EGrB/JtDL3ct7/vv4 Ntbs5haAHtt5BZFGHho8LHUaTGVakrRjtBWXC4GK3zPk2sJ4uGAYfSmMQ/AoNiE8Zl7S /YIx0N29WiTuf0qaOMQCy81ssS+F3fQ2mygIxkI2mXJ7g4LyeDrZqyqxWhsZxCcmWYnh pYtpREtVpq4QWOhRpF/k2zndWXr1O6JahL2V2VAzQ2vLKpM1X44TGl7u7JpDjiNu6vG+ nIhsVFKEzcoNw6xym62f8Zj7GYfO/vM0S+/1/wSYHZGS1DzySLAzQmM8z0mz9QEUFbld jc0A== 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=3wnIDzDz/1H2s2Do+LBCGEJbninQRP7sYctBUhIrDCM=; b=PhOSWEPMVQiOvmQl71STX2ojSLRnEZ9qyjBA9j66dafGpCznHp3nmibFuaNkvpyb/b ZAUW/1qCnqdZStpcG66nIt329QW8H9ud3hZPDX8vJUOliYp4ldot6tE5DxrYRT+GxnmJ iaHlzF5QLelVnGu2KTqK0YGERzuFdTd7Afb7ee2Nmzpp/btzIMNNPll2u3kZjT3akFbv vFYvvzueAjey+ixxOKq7C0CNKkx0djA8xFY+fm8TTzXZYnouYw+ta0US4PGqYGD0tlSF VbWRjvH1iX1Vo6Os3Spb71LghFnKux9ubP0B+1j6e1qd6TzfnpfOp6JU/hIzZNGWXOYt qh7Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=ZSMZ5Itp; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=FdwTY5MS; 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 w27si4710944eda.296.2019.11.14.10.07.30; Thu, 14 Nov 2019 10:07:56 -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=ZSMZ5Itp; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=FdwTY5MS; 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 S1727238AbfKNSED (ORCPT + 99 others); Thu, 14 Nov 2019 13:04:03 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:52546 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbfKNSEC (ORCPT ); Thu, 14 Nov 2019 13:04:02 -0500 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAEI3TFS004117; Thu, 14 Nov 2019 10:03:35 -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=3wnIDzDz/1H2s2Do+LBCGEJbninQRP7sYctBUhIrDCM=; b=ZSMZ5ItpUCvfglgp8at1EJbzu0+zhT6QH9ArjYiJf4BrQb94GggkZCi8eFB+CAYXLWgm 6eJovFlVV03bOCAlyssoiTne1lSU531fPATM9UuAvl8gNvdFs4T9FFpniQcLV7lMVB3X zjTpJfwnCmufLhxUqkZT8sNrZOg8j3NVLHw= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2w8tnf4c9v-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 14 Nov 2019 10:03:34 -0800 Received: from ash-exhub204.TheFacebook.com (2620:10d:c0a8:83::4) by ash-exhub202.TheFacebook.com (2620:10d:c0a8:83::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 14 Nov 2019 10:03:28 -0800 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.36.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 14 Nov 2019 10:03:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mWXo0Fw0uteFVHvtLZkuD9E6RH1szsJrK0yRkVsJEEtBsgKszTCLdQ49NvNsuqZfW7GspgMesZWcu0jCd8GBVBA7CFweJN/3tMxU98y7v8WSwIwDqtZegvxcU0Oxb6Y+FAcCDiqXtgqMY40g/N6utfb6ZADrXHl2GY8SwU3HIlI+j0fdl2JssX2qLcznaSkKkG+4ueoQG1s3TGY2d0axMdzwnn2YxYKPAa+v5JiD7jEA2BEOnc5eM1gR3ahIl8i5dMACZaqVYd/mwm8MSK6wSeDCJQ86+ZuJ9Whi0Z+y8Tyaiib6AtVdAq4jcaJaaeEabtjIQobebZJ41z3Pzu8zEw== 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=3wnIDzDz/1H2s2Do+LBCGEJbninQRP7sYctBUhIrDCM=; b=gAAOn1fAwVjH8+j+zpqLyiApIbRSPRn2W3nM5SxuW8MHX6LSbVwA2Qvun4QQvQ+yQwJQHI73dD+NPdx1+G/KgcpMOzBrXSXx+BgOlq0AM306pgCOajSpMqC8pK9pkvS7Wv4CGlwQEqpnAtw23ikawTFQVr9zzeFHlSAViZYMLqujbw148RZFw2gLKY8GYt5tpvI1CXgFMuMZ2UI0dQmjY9jG1Q85OEv6Mcyzar5K+yM6M0Xpio/I+7emCQqgeZMUSpywe7hXUVnzvQoLiF0W2uRXaJiJ2J8D7syGrbwPa5gr09mGQ7msiUto2ysdC6FFTcJQ3A8pWe1goX9fqikU4Q== 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=3wnIDzDz/1H2s2Do+LBCGEJbninQRP7sYctBUhIrDCM=; b=FdwTY5MSlgV8u6wRexOjlNWzyrY3XJvoLaAz0UWbMaG+IHR39hk9Y0rjATTwwlMcoA1ykdfzL8wv4CIQZ7Q91j7HhujKBkBDhXjxcgIJxhkBmFhE94ivRaSrt+LeOEmEXsduu8s94tAUk+n2qMvUAQDa0pDR3Oft1OiBXx1k6b8= Received: from BY5PR15MB3636.namprd15.prod.outlook.com (52.133.252.91) by BY5PR15MB3585.namprd15.prod.outlook.com (52.133.253.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.28; Thu, 14 Nov 2019 18:03:27 +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; Thu, 14 Nov 2019 18:03:27 +0000 From: Vijay Khemka To: Asmaa Mnebhi , Corey Minyard , "Arnd Bergmann" , Greg Kroah-Hartman , "openipmi-developer@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" CC: "cminyard@mvista.com" , "joel@jms.id.au" , "linux-aspeed@lists.ozlabs.org" , Sai Dasari Subject: Re: [PATCH v4] drivers: ipmi: Support raw i2c packet in IPMB Thread-Topic: [PATCH v4] drivers: ipmi: Support raw i2c packet in IPMB Thread-Index: AQHVmnw2JTo54xh3Oky71cdINa8VKqeKt0kA//+5Q4A= Date: Thu, 14 Nov 2019 18:03:27 +0000 Message-ID: <1A8C63F8-6295-441A-B78F-68F9152A5DB1@fb.com> References: <20191113234133.3790374-1-vijaykhemka@fb.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2620:10d:c090:200::2860] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4146b81e-21a1-4a52-7927-08d7692cf344 x-ms-traffictypediagnostic: BY5PR15MB3585: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2276; x-forefront-prvs: 02213C82F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(376002)(39860400002)(396003)(366004)(346002)(189003)(199004)(13464003)(2201001)(86362001)(71200400001)(36756003)(71190400001)(2906002)(110136005)(305945005)(7736002)(6116002)(54906003)(33656002)(99286004)(6486002)(316002)(446003)(11346002)(229853002)(8936002)(66946007)(476003)(2616005)(66476007)(66556008)(64756008)(6436002)(66446008)(478600001)(46003)(6512007)(14454004)(2501003)(486006)(76176011)(5660300002)(76116006)(256004)(14444005)(53546011)(25786009)(102836004)(6506007)(8676002)(4326008)(81166006)(81156014)(186003)(6246003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY5PR15MB3585;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: StwUYlnmftLJGjqG5TLa0dOhUxgmqI7+9e69QEnvYhKDeK1L8SvPZhu0irFKBtVHywsVNnlMJjISZR6Ln30YAJnlExAoawxYQK7OH7pct4KCKWohxNd3imW30ZewH+BZpEDDhvMg6RMWb5CIEnmtB+z6P5i8izZPJuoBe0CiyJkPKkKcLxhFCbKk8gIWnZm+NljI8jFBndYCVv8UI+HPWnGC5dzwsDr4Dg08cRybrtc8fENZ6XrumJhBjRKEszhcAe8mgtgNQgqa7LIxrIOgts6VqDL220FkmGl4t25lqxTeXS3OhF9E3be8pZIASHk4MiK78MinYIiiSND2WfANl/IUqe9CbacyHQ/1i0yrw/1eZBAUIWAKkr38FsopVXQ9ZhmP5KmHF1zTsoZPEifbjxOVHGDxr/BQwMiZRCC7iA8zJVcPE7r9QS/0rkxJFreC Content-Type: text/plain; charset="utf-8" Content-ID: <55398E8B7710C042937C0F2709A79225@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4146b81e-21a1-4a52-7927-08d7692cf344 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2019 18:03:27.5473 (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: 8DV19QMwKgSBNwe3Tilcv2+2qfwXAOlO4FFL3F9ku3k+nxs1sP//tr68LYf4sX2plckIGbbmR5AjE11f/kLsxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR15MB3585 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-14_05:2019-11-14,2019-11-14 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 impostorscore=0 bulkscore=0 phishscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911140155 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T2sgSSB3aWxsIHNlbmQgYW5vdGhlciBwYXRjaCB3aXRoIGFjcGkgc3VwcG9ydC4NCg0K77u/T24g MTEvMTQvMTksIDY6MTYgQU0sICJBc21hYSBNbmViaGkiIDxhc21hYUBtZWxsYW5veC5jb20+IHdy b3RlOg0KDQogICAgSGkgVmlqYXksDQogICAgDQogICAgWW91IGhhdmVuJ3QgYWRkcmVzc2VkIHNv bWUgb2YgbXkgY29tbWVudHMuDQogICAgDQogICAgLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0N CiAgICBGcm9tOiBWaWpheSBLaGVta2EgPHZpamF5a2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