From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch Date: Wed, 9 Jan 2013 19:44:35 +0530 Message-ID: <50ED7B4B.7080603@synopsys.com> References: <50D2B75A.3000208@synopsys.com> <1357195653-998-1-git-send-email-vgupta@synopsys.com> <1357195653-998-2-git-send-email-vgupta@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from us01smtp2.synopsys.com ([198.182.44.80]:43442 "EHLO kiruna.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757667Ab3AIORL (ORCPT ); Wed, 9 Jan 2013 09:17:11 -0500 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Tony Luck Cc: Fenghua Yu , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, "Eric W. Biederman" , Serge Hallyn On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote: > On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta > wrote: > > >> +config SYSCTL_ARCH_UNALIGN_NO_WARN >> + bool >> + help >> + Enable support for /proc/sys/kernel/ignore-unaligned-usertrap >> + Allows arch to define/use @no_unaligned_warning to possbly warn about > "possibly" >> + unaligned access emulation going on under the hood. >> + see arch/ia64/kernel/unaligned.c for reference > It doesn't seem right to point users at an ia64 specific file now > that you are making this available to all arches. The ia64 "reference" is for how the sysctl knob is used - since all we are doing is moving just the sysctl out of #ifdef ARCH_XYZ. At any rate, I've removed the line from help. Revised patch to follow. And as initially requested this will need to go thru IA64-next tree to avoid any merge dependencies. TIA, -Vineet From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Date: Wed, 09 Jan 2013 14:26:35 +0000 Subject: Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch Message-Id: <50ED7B4B.7080603@synopsys.com> List-Id: References: <50D2B75A.3000208@synopsys.com> <1357195653-998-1-git-send-email-vgupta@synopsys.com> <1357195653-998-2-git-send-email-vgupta@synopsys.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tony Luck Cc: Fenghua Yu , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-arch@vger.kernel.org, arnd@arndb.de, "Eric W. Biederman" , Serge Hallyn On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote: > On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta > wrote: > > >> +config SYSCTL_ARCH_UNALIGN_NO_WARN >> + bool >> + help >> + Enable support for /proc/sys/kernel/ignore-unaligned-usertrap >> + Allows arch to define/use @no_unaligned_warning to possbly warn about > "possibly" >> + unaligned access emulation going on under the hood. >> + see arch/ia64/kernel/unaligned.c for reference > It doesn't seem right to point users at an ia64 specific file now > that you are making this available to all arches. The ia64 "reference" is for how the sysctl knob is used - since all we are doing is moving just the sysctl out of #ifdef ARCH_XYZ. At any rate, I've removed the line from help. Revised patch to follow. And as initially requested this will need to go thru IA64-next tree to avoid any merge dependencies. TIA, -Vineet From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757961Ab3AIORN (ORCPT ); Wed, 9 Jan 2013 09:17:13 -0500 Received: from us01smtp2.synopsys.com ([198.182.44.80]:43442 "EHLO kiruna.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757667Ab3AIORL (ORCPT ); Wed, 9 Jan 2013 09:17:11 -0500 Message-ID: <50ED7B4B.7080603@synopsys.com> Date: Wed, 9 Jan 2013 19:44:35 +0530 From: Vineet Gupta User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Tony Luck CC: Fenghua Yu , , , , , "Eric W. Biederman" , Serge Hallyn Subject: Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch References: <50D2B75A.3000208@synopsys.com> <1357195653-998-1-git-send-email-vgupta@synopsys.com> <1357195653-998-2-git-send-email-vgupta@synopsys.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.205] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote: > On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta > wrote: > > >> +config SYSCTL_ARCH_UNALIGN_NO_WARN >> + bool >> + help >> + Enable support for /proc/sys/kernel/ignore-unaligned-usertrap >> + Allows arch to define/use @no_unaligned_warning to possbly warn about > "possibly" >> + unaligned access emulation going on under the hood. >> + see arch/ia64/kernel/unaligned.c for reference > It doesn't seem right to point users at an ia64 specific file now > that you are making this available to all arches. The ia64 "reference" is for how the sysctl knob is used - since all we are doing is moving just the sysctl out of #ifdef ARCH_XYZ. At any rate, I've removed the line from help. Revised patch to follow. And as initially requested this will need to go thru IA64-next tree to avoid any merge dependencies. TIA, -Vineet