From patchwork Wed Jan 13 01:58:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noam Camus X-Patchwork-Id: 566783 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D2340140BAD for ; Wed, 13 Jan 2016 12:59:09 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJAiI-0005tk-RV; Wed, 13 Jan 2016 01:59:06 +0000 Received: from mail-ve1eur01on0088.outbound.protection.outlook.com ([104.47.1.88] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJAiG-0005rV-Cg for linux-snps-arc@lists.infradead.org; Wed, 13 Jan 2016 01:59:05 +0000 Received: from HE1PR02MB1387.eurprd02.prod.outlook.com (10.169.116.25) by HE1PR02MB1388.eurprd02.prod.outlook.com (10.169.116.26) with Microsoft SMTP Server (TLS) id 15.1.365.19; Wed, 13 Jan 2016 01:58:39 +0000 Received: from HE1PR02MB1387.eurprd02.prod.outlook.com ([10.169.116.25]) by HE1PR02MB1387.eurprd02.prod.outlook.com ([10.169.116.25]) with mapi id 15.01.0365.022; Wed, 13 Jan 2016 01:58:38 +0000 From: Noam Camus To: Vineet Gupta Subject: Re: for-next Thread-Topic: for-next Thread-Index: AQHRRBv7UCGoOLJ3mkC8Ec511IScbZ74v1hU Date: Wed, 13 Jan 2016 01:58:38 +0000 Message-ID: References: , In-Reply-To: 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=noamc@ezchip.com; x-originating-ip: [212.179.42.66] x-microsoft-exchange-diagnostics: 1; HE1PR02MB1388; 5:d32g8g3JjQ7rV7Mk2q8Y3z2oUO7IFYNh/3rr5H18yy45x8GCEudAZQz+VXD3PQoA3LMMajFjfgKZP7bwDZUpNlZ5wTwauFDlC15WJ+RLb/xk+mNSqvSPNWuLHGbFJA8BaChOlpsNUy5ATgTlrCmx9A==; 24:QNX38N4NNBisdo0j8gZ15XcAvRZ9bg65iElr22RWr2Pa8FlYeWoQQ7YVG5xtAkKaWjFPfdEC52iVAnb5hh9QuJzCJzweXDdSuDxS5fhx+nQ= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB1388; x-ms-office365-filtering-correlation-id: d4e4ac06-c4f1-4234-cd00-08d31bbd0e1f x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(121898900299872); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(520078)(10201501046)(3002001); SRVR:HE1PR02MB1388; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1388; x-forefront-prvs: 08200063E9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(377454003)(189002)(24454002)(110136002)(2906002)(81156007)(19580405001)(1220700001)(2900100001)(5001960100002)(19580395003)(92566002)(4326007)(66066001)(586003)(5004730100002)(97736004)(2950100001)(40100003)(76176999)(77096005)(87936001)(3846002)(122556002)(102836003)(6116002)(5008740100001)(5002640100001)(5003600100002)(189998001)(74316001)(76576001)(106356001)(10400500002)(33656002)(105586002)(101416001)(106116001)(50986999)(86362001)(1096002)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB1388; H:HE1PR02MB1387.eurprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: ezchip.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2016 01:58:38.1449 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1388 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160112_175904_700110_6288858F X-CRM114-Status: GOOD ( 14.47 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [104.47.1.88 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [104.47.1.88 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arcml , Alexey Brodkin Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Hi Vineet, 1) I will fix my DT but the problem will remain, this panic is bad if we cannot see it on console. If panic cannot be deferred, what about moving this check to later point in boot time, if this may not make sense consider to restore use of BUG() 2) From 628cdfb5182562461cebc5d6d66d45f708ba1881 Mon Sep 17 00:00:00 2001 From: Noam Camus Date: Wed, 6 Jan 2016 13:59:08 +0200 Subject: [PATCH 1/1] ldk: linux: fix UAPI byte order The decision was upon CONFIG_CPU_BIG_ENDIAN which is not defined by user. Use __BIG_ENDIAN__from CPP which is defined from toolchain itself. Signed-off-by: Noam Camus --- .../arch/arc/include/uapi/asm/byteorder.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arc/include/uapi/asm/byteorder.h b/arch/arc/include/uapi/asm/byteorder.h index 9da71d4..ea5ca44 100644 --- a/arch/arc/include/uapi/asm/byteorder.h +++ b/arch/arc/include/uapi/asm/byteorder.h @@ -9,7 +9,7 @@ #ifndef __ASM_ARC_BYTEORDER_H #define __ASM_ARC_BYTEORDER_H -#ifdef CONFIG_CPU_BIG_ENDIAN +#ifdef __BIG_ENDIAN__ #include #else #include