Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751794AbdFGLOg (ORCPT ); Wed, 7 Jun 2017 07:14:36 -0400 Received: from mail-db5eur01on0053.outbound.protection.outlook.com ([104.47.2.53]:7196 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751774AbdFGLOc (ORCPT ); Wed, 7 Jun 2017 07:14:32 -0400 From: Noam Camus To: Vineet Gupta , "linux-snps-arc@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , Elad Kanfi Subject: RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception Thread-Topic: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception Thread-Index: AQHS1374ZM4e6KMH1UqiHVlkW9nEJKIYdHeAgACEVSCAAFTYgA== Date: Wed, 7 Jun 2017 11:14:24 +0000 Message-ID: References: <1495954328-28736-1-git-send-email-noamca@mellanox.com> <1495954328-28736-12-git-send-email-noamca@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: synopsys.com; dkim=none (message not signed) header.d=none;synopsys.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR05MB3176;7:2Ze6s28FxTKGRY/n/Oh7m3h91aj8ZgEbY6eVuPTShWrmY1uILpt4hdLGJiEuMBrdCtNTAUnp4GVHgTyZBQrQ5fCFXP4AGZ7W54+peA8u+uC5tVRVuf87tvNYspl90FcARHyDHCCF6a8F+Qepa1WsvX3G1S+XeOdL2oKde10nNfgrawbUwvj9xhH8srCSWfbHRH5gKsug4rjJre85QCm9WIyTXnM7muaTVvGBCsxKhaINPV2bHEljIFB/XMWn06u4/qnGtNM/gPZtsjhzhFu9oT7iZu48j/03XBEvGbAWXOJxq/FqdhMEm+LzDg360+/D7BKhJ4eyDWDYHmtU4t7dNQ== x-ms-traffictypediagnostic: DB6PR05MB3176: x-ms-office365-filtering-correlation-id: 32aad02b-3158-47a6-936a-08d4ad965b18 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081)(201703131423075)(201703031133081);SRVR:DB6PR05MB3176; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB6PR05MB3176;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB6PR05MB3176; x-forefront-prvs: 03319F6FEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39410400002)(39860400002)(39400400002)(39850400002)(39450400003)(39840400002)(377454003)(81166006)(305945005)(38730400002)(74316002)(25786009)(3660700001)(76176999)(50986999)(3280700002)(7736002)(54356999)(6506006)(53936002)(55016002)(9686003)(99286003)(189998001)(6116002)(2900100001)(3846002)(14454004)(102836003)(6436002)(54906002)(8936002)(7696004)(8676002)(6246003)(4326008)(107886003)(86362001)(478600001)(2501003)(33656002)(66066001)(229853002)(5660300001)(2906002)(5250100002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR05MB3176;H:AM5PR0502MB2996.eurprd05.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2017 11:14:25.0025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR05MB3176 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v57BEo4q022608 Content-Length: 1105 Lines: 25 > From: Noam Camus > Sent: Wednesday, June 7, 2017 9:08 AM >To: 'Vineet Gupta' ; linux-snps-arc@lists.infradead.org >Cc: linux-kernel@vger.kernel.org; Elad Kanfi >Subject: RE: [PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception >>From: Vineet Gupta [mailto:Vineet.Gupta1@synopsys.com] >>Sent: Wednesday, June 7, 2017 1:11 AM >... >>> + >>> +config EZNPS_MEM_ERROR >>> + bool "ARC-EZchip Memory error as an exception" >>> + depends on ARC_PLAT_EZNPS >>> + default n >>So you set default to "n" - thus by default it works for the simulator not silicon ? >Correct, this way I "align" Sim environment to react as close as possible to how it work with silicon. Sorry, but It is not correct. Default is for silicon where it is naturally emits machine check and unlike simulator do not need OS to redirect the ISR L2 to machine check handler. Above motivation of "align" is true, but default is silicon and not sim, as I wrote in my original configuration help. Please re-update this CONFIG help section. Thanks -Noam