Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1427059

Re: [PATCH] ipmi: set si_trydefaults=0 for ARM64

From Corey Minyard <minyard@acm.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ipmi: set si_trydefaults=0 for ARM64
Date 2016-06-20 23:20 +0200
Message-ID <rMeLU-52j-19@gated-at.bofh.it> (permalink)
References <rMc7n-3jw-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/20/2016 01:26 PM, Tony Camuso wrote:
> Port I/O space does not exist in ARM64 and is not mapped. Attempts to
> access it on ARM systems cause stack traces and worse.

At this point, I think it is best to just completely pull out all concept
of "default addresses" in the IPMI driver.  The defaults were disabled
by default in 3.16, this is as good an impetus as any to just get rid
of them.

If you want, you can do a patch, or I can pull them out if you would
prefer that.

Thanks,

-corey

> Signed-off-by: Tony Camuso <tcamuso@redhat.com>
> ---
>   drivers/char/ipmi/ipmi_si_intf.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
> index 615abbf..85dcc86 100644
> --- a/drivers/char/ipmi/ipmi_si_intf.c
> +++ b/drivers/char/ipmi/ipmi_si_intf.c
> @@ -3841,6 +3841,11 @@ static int init_ipmi_si(void)
>   		spmi_find_bmc();
>   #endif
>   
> +#ifdef CONFIG_ARM64
> +	/* Don't touch port io space */
> +	si_trydefaults = 0;
> +#endif
> +
>   #ifdef CONFIG_PARISC
>   	register_parisc_driver(&ipmi_parisc_driver);
>   	parisc_registered = true;

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ipmi: set si_trydefaults=0 for ARM64 Tony Camuso <tcamuso@redhat.com> - 2016-06-20 20:30 +0200
  Re: [PATCH] ipmi: set si_trydefaults=0 for ARM64 Corey Minyard <minyard@acm.org> - 2016-06-20 23:20 +0200
    Re: [PATCH] ipmi: set si_trydefaults=0 for ARM64 Tony Camuso <tcamuso@redhat.com> - 2016-06-21 13:30 +0200

csiph-web