Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3509162ybc; Thu, 14 Nov 2019 10:09:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwVzeMw5/c3sYLAknfT98MU85NCtsnhfLows6bWc/t705LKdJqqdhRppmHW9gyDD3ARiK8e X-Received: by 2002:a1c:39c2:: with SMTP id g185mr8878456wma.88.1573754986641; Thu, 14 Nov 2019 10:09:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573754986; cv=pass; d=google.com; s=arc-20160816; b=jghq0OaSs1KkhjGvYKpjJbej0gqLH/YeU1bXv/2h6X9vxzJkYfCfJiczC+aLFol4tZ zYPT0p1CC9yFPe5U+2BpQlAPlxe6ZGfSgstMMVz8jZOvqGADkDdl3kFaj04a7NamEBXZ IPAQk33ky+dOCBNWCO8jSBNubFC28g5QzJp3St0Hc7XSmDJV06IbEnb8N4dNukGK/8sI oZXxdLhq4vSiOGjnYC4vbdrnaFg+B095uiUpxbBchXcUI7T02e23npqpdGzIrySVrtGq Fiueg+sAZNJz5Sn1lI0bV9HppMW3C8meJWyPMNQPYFn33n8ih6xIgyudTFZjDkN7yJgt 6Hbg== 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=G7Y8lB/h5P8PrysgUfJiGoEsGhjsLjwD47hJDSIMnXA=; b=RhFafROJWB+vNHTJKk2RLHaBWo6fBF6JII8Jm8ipOVl/OzAJNGue/6zi29XuNI2jXy +BakOwnpfkeM8Sex4Nf/+R+ewRftAFyac1zEvcAhqEllsZr+k/SHNvqRaihrCEeFfXDt 9PeqqaQuLqgirzOddmDgdJ3yhieISbfvYjBULbB49vbne9Tyy3NrBRpa5DTzouqbgkU1 lYl5Xo5B4NzlXBsx5wNyIAzQApcmIU7dttFz4EQJhAkEw4vfHOaAz0zHFOF2p3G5Xz4R y5WbyU+8rWOcxH+w6/5rzfNJxsATUg46mL9DUZmJ+zbkOexFXupTU5zxY9KJHJwgmhCK 6G4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b="SDNz/di/"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=ZfpD0SBt; 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 h11si5207291ede.45.2019.11.14.10.09.20; Thu, 14 Nov 2019 10:09:46 -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="SDNz/di/"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=ZfpD0SBt; 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 S1726828AbfKNSGM (ORCPT + 99 others); Thu, 14 Nov 2019 13:06:12 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:16390 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbfKNSGL (ORCPT ); Thu, 14 Nov 2019 13:06:11 -0500 Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAEI5gNH010144; Thu, 14 Nov 2019 10:05:48 -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=G7Y8lB/h5P8PrysgUfJiGoEsGhjsLjwD47hJDSIMnXA=; b=SDNz/di/7e/ZXI4HAoIDhCgKB0Ge69kf0td2ui5A5zt+XWOy1fHXYTteYEO94Hs0TnwF +CdJ3FS4kMQKSP5yStvZvi9H86lVHYH9uJ9RDW2d7rT1gn8KstOamtyproajD0zp4faW LBFDEgodUsq/TWLIJt1ykoei5Ivlt005f+0= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2w8n9s6b0q-10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 14 Nov 2019 10:05:48 -0800 Received: from prn-hub02.TheFacebook.com (2620:10d:c081:35::126) by prn-hub06.TheFacebook.com (2620:10d:c081:35::130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Thu, 14 Nov 2019 10:05:35 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5 via Frontend Transport; Thu, 14 Nov 2019 10:05:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hq/Bl+GB7fYqsvCaQ+b/uuiC/+gnBOMZxLmw+6t+SgJ5btzULAjmo/NUwlY3lTnqTuat3zASeBVYuJhXwCQWPZEGL91dwBf4UaPf2QZXgqIp3aHmJTkK8Ukzcd7KdSXvJ+JH1MBRZJzvrwvQJrGCGw9+I2PpZyT86GSHV860M8W0zMzF+oA5651Y1wxdvgkwVL/xGZYhdm7jr3xDPJMQNFboSXCflQGMqi+cyX8vLZdpru1Th6BVVxNKu0fcsVjzo6m5NCq5daUYvjZ3Lpt36xh6PxCZHzVSPd1aD2nRYvCtMRzK6qo+N2VjJ1u+XfAXeCzlNcD7FZXcUH5fT9ESrQ== 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=G7Y8lB/h5P8PrysgUfJiGoEsGhjsLjwD47hJDSIMnXA=; b=H5cRPTShELEc/g5LIQqRhYKCiAKgW/3W+DYK+TBf8XKK6nF8Fj7fXfALRSQx16JxfkwSotfwuPu1asdhaxvYiehmZr8Jks4Z2nVFPrslKtz3Vb1dzrXyC9s8hVZ2IPEwU+osVnpuCCywts6WppJIhDCu0E2gw9/0C0MPOo28B/oflAvocY7gJ3rY+orYb+bhoSF59K70vCJceC4tC8gJYeQLvu3vvjwWyhdYbx6XsJTK6Y+LCCIvIyFCwkQRfUTADgGiOvSoyRwvHadvxbBmHCD8WAsz37jKQbxzSvEcqFN47L+v+AMrPPcfSiwd+YxF4i9pQD23e1F9eewwx7wRyQ== 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=G7Y8lB/h5P8PrysgUfJiGoEsGhjsLjwD47hJDSIMnXA=; b=ZfpD0SBtld0HJ0RrCLjJdnTr8UR3VLoP9QTIHv6erC8fI5y57n0GvLM2l8SGUlmtfNVCc3SKPvl8A59ZtR0SM2UHvAkQDxXgb1hm7OQYobiUgajmLXzxzfRxM6m7h4OMl5BDmj/g+PAl8CLpog2dcGmIbGeqgb0/vCZ2fVnTKac= Received: from BY5PR15MB3636.namprd15.prod.outlook.com (52.133.252.91) by BY5PR15MB3587.namprd15.prod.outlook.com (52.133.252.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.26; Thu, 14 Nov 2019 18:05:34 +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:05:34 +0000 From: Vijay Khemka To: "minyard@acm.org" CC: Arnd Bergmann , Greg Kroah-Hartman , "openipmi-developer@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "cminyard@mvista.com" , "asmaa@mellanox.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: AQHVmnw2JTo54xh3Oky71cdINa8VKqeKtZqA//+7iIA= Date: Thu, 14 Nov 2019 18:05:34 +0000 Message-ID: <41C671FB-20B4-40F5-94AB-1E750FD91B90@fb.com> References: <20191113234133.3790374-1-vijaykhemka@fb.com> <20191114141037.GP2882@minyard.net> In-Reply-To: <20191114141037.GP2882@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::2860] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3e99d924-9a18-42a8-0435-08d7692d3ef2 x-ms-traffictypediagnostic: BY5PR15MB3587: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 02213C82F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(346002)(366004)(136003)(376002)(189003)(199004)(2351001)(7736002)(11346002)(476003)(99286004)(305945005)(478600001)(2616005)(6116002)(46003)(14454004)(256004)(14444005)(54906003)(5660300002)(446003)(486006)(36756003)(71190400001)(6916009)(71200400001)(81156014)(66476007)(81166006)(5640700003)(2501003)(102836004)(76176011)(6486002)(8936002)(6436002)(66946007)(66446008)(25786009)(2906002)(316002)(64756008)(33656002)(66556008)(186003)(86362001)(4326008)(8676002)(6512007)(229853002)(6506007)(76116006)(6246003)(1730700003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY5PR15MB3587;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: pLVAT1x5VQBQhjCdNupkuH625aJ+6whdc/TtoXLZH44TvHTNDZ9zz/MehC/r0KTehLHZqC9R1j2EkL68UeT4PdaKhLHlvTQKLYOU8FOoMPbHH69O7ojvSq/mhKzI7RCDJrlwfHK4usCNwNXTT9gfXfq7vjoOlacdtX9rgUENeTLYvYeMPApD7L45U1QXgzmMULAPsXnjirTu8nIewc+RVjzRV14DT0XAeUF5Opwr0eSWu0J4jbao/oIVnqxP38eRKFo9WLaPUdXJl1LNd28tTgrz4+SK0FMSaT/BXrbErOwTfWciB7D20+vd0sabIhV0YiKXYEvMZmw8OUdBtWokqOfEqi/9BP3qswUzCNDWgLHRFo86WlTaKDzN4a8F7DblNjim5C4S4TD1RJbjmxUEgIyRdiE19trCSK7AOJd57eo+3OweOUOSWWBswBUEUMIv Content-Type: text/plain; charset="utf-8" Content-ID: <163327B111BDCD459D229805E2064A93@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3e99d924-9a18-42a8-0435-08d7692d3ef2 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2019 18:05:34.4368 (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: bmR4GvjozXlkHzUSd+JJrPTRhZJ2ZwlxO+U5Xliqpo5b728vCZdt3IxHdLfXday4VH9khBhwL8m2UvVCMhQwqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR15MB3587 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 bulkscore=0 mlxscore=0 adultscore=0 impostorscore=0 priorityscore=1501 phishscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 spamscore=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 DQoNCu+7v09uIDExLzE0LzE5LCA2OjExIEFNLCAiQ29yZXkgTWlueWFyZCIgPHRjbWlueWFyZEBn bWFpbC5jb20gb24gYmVoYWxmIG9mIG1pbnlhcmRAYWNtLm9yZz4gd3JvdGU6DQoNCiAgICBPbiBX ZWQsIE5vdiAxMywgMjAxOSBhdCAwMzo0MTozM1BNIC0wODAwLCBWaWpheSBLaGVta2Egd3JvdGU6 DQogICAgPiBNYW55IElQTUIgZGV2aWNlcyBkb2Vzbid0IHN1cHBvcnQgc21idXMgcHJv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