Received: by 10.223.176.46 with SMTP id f43csp600966wra; Wed, 24 Jan 2018 03:10:58 -0800 (PST) X-Google-Smtp-Source: AH8x224r29Yq4PiuwNnO3g5OoanNTWfZv96rKusJfDhEKnyIE5qgEBYv5m7UktSIWPcZeyth/hUS X-Received: by 2002:a17:902:7783:: with SMTP id o3-v6mr6255127pll.217.1516792258731; Wed, 24 Jan 2018 03:10:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516792258; cv=none; d=google.com; s=arc-20160816; b=ClPrhhRHSb2K7kIbjIf8siNrvIGjmCxFVYy+GqoH6UMB76D4lg+1s3o3wlvqke6g3l 8kv5UHIudme66AEOirP+lPbG/biCcnOPaPj7drVbSopUyxZemnNQfNZfSfMymhxLFoBh U1lUGk6qq6w8uUYjs0nXvwl8yhXHbX/iApS9wGcQ+KfuBF78QiMX/mi4fZWxgSRYwfkq wMXth0DrudrgnQMfzctJunMSlYmrfLdM2ZwWupcsyjB8f1ScTI0MsdmgZEq5LKYAFUyH FZCOKAxqCY6tCmcn/cT0KeZrKdbMbfwszyz4tC+7WxhQT0/MpzHqiO/SjVSNoh33hP8A TEAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=BI2lz5MWbNWfkHEzCg3MsQ3HwSJxhIPqZn6KSoW/7zc=; b=dSXxnQMDbCeSyAf75t4bSUse3LyZ3wJfb/mEPRHd837cOUQvN/Dprn0zZXW1LN3UYt 0GYDVC6pWnpgySrkrL2I+XZWtxUYOEgwOBbBBGTcvLqPcPlxFrUT9af6NSYi45lzFQ6c 7s/zTVzExCm+w3quT5Pqo0tviSnkFK5KGIHwtPXFpOrSWuFFQl1Z7qnOdpNv/JWPOsD0 eJYdoWngFrMuVCb9P8i/PfQdT4Kz3VgdieqPJ0XMXXf4oWrNkQlw4pmW/50xMer3cAbc L/odTsd2OFQpF9GbKovcmnD8klI1fD39mNet+ybiNgkuwPxBACVY7ufPdw7J64T/zdY9 vKsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=KphTgaMy; 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 s66si2763047pfe.356.2018.01.24.03.10.44; Wed, 24 Jan 2018 03:10:58 -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=fail header.i=@gmail.com header.s=20161025 header.b=KphTgaMy; 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 S933211AbeAXLKO (ORCPT + 99 others); Wed, 24 Jan 2018 06:10:14 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:35476 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933060AbeAXLKM (ORCPT ); Wed, 24 Jan 2018 06:10:12 -0500 Received: by mail-oi0-f67.google.com with SMTP id b11so2570333oif.2; Wed, 24 Jan 2018 03:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=BI2lz5MWbNWfkHEzCg3MsQ3HwSJxhIPqZn6KSoW/7zc=; b=KphTgaMy24MNC/m16nw8gkQ52NqviKou2Gfbqa3+a5oGgAqW9N+UOubSmXSt4KxaUc 1EEv8MNtHEQ+l5itHQw01SU6ZaG1hAqJaBDbVe2wEbP7j9LiXPCopsYsNdegLWD9NyGB 0wFmsdymv8qZMci8kOC+87CGFoaUTe+kkuKtnz9kfJcIwEipvyFSnSVbLqOYv7Zo0bf3 ruT55CObnBnEz+uN44m2gTepHGHuVAvIOLxt4u0YgLoFHaxDQB2/cvzEEMWMgtT+f4ho 19Jt5vmIIBaa5YGSj/uonaeDAjuc3Gl60SQXX+ueycG0AF1hXe71KZunZgVCj5YuqtGZ By8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=BI2lz5MWbNWfkHEzCg3MsQ3HwSJxhIPqZn6KSoW/7zc=; b=gCumRl7PX3y+12FiLSS9szDk67vLATdaE55P3cLplGMb1AuiREy0uN88c2uoPIWskL UDnpWJxcT6k4Hezw7NrqHBl+6xXbgIkDqRPBUVVaMIZCg8I/caq+SUuexci9uUK6vTbf oqquStijfOJdIc4A199ztJ5vugoLD7mNDCs+5rLqQfvg8PlhMMAPiHYiNdZgc0BH+O2Z 7h1RzHv2bY3W0T+3fUZb5xNRsWLoh1eJWk7NbZ2uRmPpn3BQC2iUJS4LfUPghaUJlnSH 0ZtqDb2232r0tjc3Nu7L6vae91ljOV2TFBcB80pCFatEoiuR9W63Sb7BisjyzWtdVOGx 6vQw== X-Gm-Message-State: AKwxyte9dqTxhErCK6cstr1zC3Y5t7eEEC9C4+inAkMrXlTWIa6KRreE lsOWBAb/9oeMwY4nByX/5/qHOYvzl6SqPtqbCHE= X-Received: by 10.202.91.69 with SMTP id p66mr417478oib.64.1516792211313; Wed, 24 Jan 2018 03:10:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.68.119 with HTTP; Wed, 24 Jan 2018 03:10:10 -0800 (PST) In-Reply-To: References: <28c2c9da4da4c8b07473e97cd4a6cb953f4b507c.1515766253.git.green.hu@gmail.com> From: Arnd Bergmann Date: Wed, 24 Jan 2018 12:10:10 +0100 X-Google-Sender-Auth: uLfSg6XjkPQkt89902Rvq4V4AJA Message-ID: Subject: Re: [PATCH v6 07/36] nds32: Exception handling To: Vincent Chen Cc: Greentime Hu , Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , DTML , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org, Geert Uytterhoeven , Linus Walleij , Mark Rutland , Greg KH , Guo Ren , Randy Dunlap , David Miller , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Vincent Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 12:09 PM, Arnd Bergmann wrote: > On Wed, Jan 24, 2018 at 11:53 AM, Vincent Chen wrote: >> 2018-01-18 18:14 GMT+08:00 Arnd Bergmann : > Ok. I still wonder about the kernel part of this though: is it a good idea > for user space to configure whether the kernel does unaligned > accesses? I would think that the kernel should just be fixed in such > a case. To clarify: I'm asking only about unaligned accesses from kernel code itself, which is generally considered a bug when CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is disabled. Arnd