Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3946625ybe; Mon, 16 Sep 2019 04:12:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxBL7Ao34gPmJfwgqmRAi4OXVB3a6r7L4WOOqLJXnr7TX9dWjg9SJ4yfoRdLrha1mvRx5F X-Received: by 2002:a17:906:15c2:: with SMTP id l2mr23563642ejd.4.1568632375374; Mon, 16 Sep 2019 04:12:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568632375; cv=pass; d=google.com; s=arc-20160816; b=bgLr958ZT43y1cJ9634cBxBGCTl6e0DZJy3CsVACOSimK8ZxLYQXQpURToBpZzZ0G2 Ug8CRLSWQOV9wjwmniAhDYsees0yAY3ryaIPYhpo4L7VCbUIOF3J+B/KbKGGO3Id+koO +nuDEOW/J3z5xYfBw4SUcjGgASz7JyK/YNnXvsyUll6cJb+B7NwxLkHX9F0V3rzeBFyG XTppOTYa6PcktBPLlKXMdcErn0otFVVBVLUhcLRGBHyeXXfgM7GfltvAs40xb/9WK9Rg YBfYkTwdFgSNe842F5XLRrwFB8hKzxzqEZ/1gO130GwCVYRyB5MP3AhrSxld/X2zqa71 w1zg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=okybqE2nhxKZl1HSKfDWzQRyhZXYWFg4In5kOUOK6Zo=; b=mO8zt35tXtaiBPGUp7OMtFzOH87TotvWKLqS1hAf56IEs5T6y0JMuMLYHd3RyNBBqr grg9xi1Z2WxBEozKhNSS6ydFeeeurm+JIyTxxrDuyrVpd5VhZdwCn6uEVMXP8LKHMm7h k+X6h9qlTJpzQOzt8vfiY0U04AkOFGKH1WgDXojfxtG/pUAOY9VWWnvr+dskRvX95ktn tBeIDDrQ9TzcSONc2lkGtlo/AzqaRKDT3ICYtbFPW91aHIoYcvnM9HgOoZEs2rdPuqI3 CgGllJG0mSdMK8ugALM4qBnJJit7URUiw7T/QnsogFqu2Hhj3PMKjlrTCB+uT6fTSkAU a/cg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@habanalabs.onmicrosoft.com header.s=selector2-habanalabs-onmicrosoft-com header.b=p5taEsjf; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27si19259349ejq.314.2019.09.16.04.12.31; Mon, 16 Sep 2019 04:12:55 -0700 (PDT) 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=@habanalabs.onmicrosoft.com header.s=selector2-habanalabs-onmicrosoft-com header.b=p5taEsjf; arc=pass (i=1 spf=pass spfdomain=habana.ai dkim=pass dkdomain=habana.ai dmarc=pass fromdomain=habana.ai); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728729AbfIPLIU (ORCPT + 99 others); Mon, 16 Sep 2019 07:08:20 -0400 Received: from mail-eopbgr80130.outbound.protection.outlook.com ([40.107.8.130]:1154 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726059AbfIPLIT (ORCPT ); Mon, 16 Sep 2019 07:08:19 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GN/NwvFvlPORIdD9hLvhvW/aXLZkenI0I+05dFT4Dw71QSi2YbI306RhMrr8EPaHneWl5ot7m9dMPyiqPLUGK6tiC/l48LjfGxRWroh8R/inO12tXb5EKL2I6Me8SLAZsyV3iYJanQ/W40eNcVE7vgduacVcGSwZl74a1KpBKmlX1vdmJKgsQtlZgyLYqGmGh7wCWWgqi4CyarsojJmy3i2xFgJLm8u7JNxgehuKWUzF1/kq7LjSM78qladBYmBXZpRfryLDPRtWbQSfRyGKU850mwv9FtzrBpCICnFyK6mexZCUCJhZL5nUyyECrhRwWPAjp9DHdF9myGiUvtrXeQ== 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=okybqE2nhxKZl1HSKfDWzQRyhZXYWFg4In5kOUOK6Zo=; b=ZvFNLpLFQ6SwWeH2qnWUrSMyi7pZYM11iR7Gt2NqSBnluwlc/Bep0avuNQnCKLtuHCzrBlyVOTkKNKOuXOD19jrRzEQzbdfe5IPL8IrxfDr5DasypzgxRmTTh16NtGnP9YpUchI9N5EeYuy7bnriJVtCRQtlumAP/P2kIGpia61tleV2LFcp2uhuMKyaqiplTcf0V7Toik7cXms+zpwK1gQVAUK/Z9MpWUIiTvM6M1jVGcC1zI5X8HaJ80+0JYFEpahJeWUgn86Ip8GkogQFwcQb8/7V3XE40kbf/HymQDYlLp4I4YlKSICca4C+tHtfhcDig/R4T15fx2QkRjwDCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=habana.ai; dmarc=pass action=none header.from=habana.ai; dkim=pass header.d=habana.ai; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=habanalabs.onmicrosoft.com; s=selector2-habanalabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=okybqE2nhxKZl1HSKfDWzQRyhZXYWFg4In5kOUOK6Zo=; b=p5taEsjfMJpeDJViySPR4WxdDVM4XJOF54TZ3svSN3yqMrJjG7BSLIJHuwb1iaVeotadx7Kxbo9s0BuBsrlk7DqDFqVdNWBLd+bTCCu0TeLlhrGoBTtZkTsDYxyQtFba7FMX3aQS43unQ41sN5eG/jpERtjJ1BsK1Nt1WaHMSbo= Received: from VI1PR02MB3054.eurprd02.prod.outlook.com (10.170.235.155) by VI1PR02MB3822.eurprd02.prod.outlook.com (52.134.24.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.23; Mon, 16 Sep 2019 11:08:14 +0000 Received: from VI1PR02MB3054.eurprd02.prod.outlook.com ([fe80::11e9:160b:3f2e:3bb]) by VI1PR02MB3054.eurprd02.prod.outlook.com ([fe80::11e9:160b:3f2e:3bb%2]) with mapi id 15.20.2263.023; Mon, 16 Sep 2019 11:08:14 +0000 From: Tomer Tayar To: Oded Gabbay , "linux-kernel@vger.kernel.org" CC: "gregkh@linuxfoundation.org" Subject: RE: [PATCH] habanalabs: handle F/W failure for sensor initialization Thread-Topic: [PATCH] habanalabs: handle F/W failure for sensor initialization Thread-Index: AQHVbGyl9IooWTKLKEWhHRLGPZ4efacuJAZQ Date: Mon, 16 Sep 2019 11:08:13 +0000 Message-ID: References: <20190916085626.1085-1-oded.gabbay@gmail.com> In-Reply-To: <20190916085626.1085-1-oded.gabbay@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ttayar@habana.ai; x-originating-ip: [31.154.181.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64353603-25b8-4b3c-c841-08d73a962b5e x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR02MB3822; x-ms-traffictypediagnostic: VI1PR02MB3822: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1303; x-forefront-prvs: 0162ACCC24 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(366004)(396003)(376002)(346002)(39840400004)(189003)(199004)(8676002)(81156014)(6246003)(81166006)(478600001)(4326008)(8936002)(25786009)(14454004)(7736002)(55016002)(305945005)(6436002)(53936002)(33656002)(2906002)(9686003)(74316002)(229853002)(99286004)(86362001)(6116002)(3846002)(76116006)(64756008)(66946007)(71200400001)(71190400001)(66556008)(66476007)(66446008)(102836004)(558084003)(5660300002)(52536014)(11346002)(476003)(446003)(7696005)(6506007)(76176011)(316002)(66066001)(256004)(186003)(26005)(2501003)(486006)(110136005);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR02MB3822;H:VI1PR02MB3054.eurprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: habana.ai does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: iDuood+80JnL8BbArVkCcxXMQHlO0jwHsC34m9h5p2n9Pt923GZNrRZL2mb79fOSUS6k+uBMw37YHE4bNt3Gt5J2U7LX/h87aIXa9kypdslC80GngxrAIDNobJ73+FXd7D8AhB34M57FTS6U2kho1YwpxAf6cvpXwY9afRkRmMK0jjXR7/N1i6dL0S/nHTBUfk2AI1ehvnmSwKHYRX29hWvg3XD3XBgL2Gt01vOOGSzVQeJZ3+3CK/kuUSilzZ0YU+1K5jkEo9j8VPEBwzns2YRmNkuuO6ocl1QoUTK+FW/GBhx7D19sXAceaVwa2xmvYbAwW52Cb/Kw2Pz4JTmUSYTkzUkbqy4mEqLsn6wh/hsmdwxc5Q2ie5NNy2rziO4y9eZ51oCsEiI0fojVLtEgsAzcLd6UsQas5cZpTKg+8+0= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: habana.ai X-MS-Exchange-CrossTenant-Network-Message-Id: 64353603-25b8-4b3c-c841-08d73a962b5e X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2019 11:08:14.0723 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4d4539-213c-4ed8-a251-dc9766ba127a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YHfC7qHUBYM4klm0YrFfOu5h0KLUN2TtsB07p1Neqc2WAsHRrMzH6e8jBL2o/w6Y7Tv6arc5thBtq7G7LOQdCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB3822 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oded Gabbay Sent: Monday, 16 September 2019 11:56 > In case the F/W fails to initialize the thermal sensors, print an > appropriate error message to kernel log and fail the device > initialization. >=20 > Signed-off-by: Oded Gabbay Reviewed-by: Tomer Tayar