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


Groups > linux.kernel > #1432099

Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Mark Rutland <mark.rutland@arm.com>
Newsgroups linux.kernel
Subject Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu
Date Mon, 27 Jun 2016 17:00:01 +0200
Message-ID <rOGaZ-1Du-9@gated-at.bofh.it> (permalink)
References <rOkNb-54u-3@gated-at.bofh.it> <rOARY-6GU-15@gated-at.bofh.it> <rOBkZ-6T8-1@gated-at.bofh.it> <rOCqJ-7A9-3@gated-at.bofh.it> <rOD3s-83w-7@gated-at.bofh.it> <rOEiR-kO-13@gated-at.bofh.it>
X-Original-To Hans de Goede <hdegoede@redhat.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
X-Original-Cc Russell King - ARM Linux <linux@armlinux.org.uk>, Marc Zyngier <marc.zyngier@arm.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@free-electrons.com>, Thomas Gleixner <tglx@linutronix.de>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
X-Original-Date Mon, 27 Jun 2016 15:54:46 +0100
X-Original-Message-ID <20160627145445.GA29321@leverpostej>
X-Original-References <4dc8bd4c-8456-9f94-b7eb-c5d227ddc673@redhat.com> <5770EE21.90103@arm.com> <20160627094552.GE1041@n2100.armlinux.org.uk> <d3a266d3-2cfc-81c7-25a6-b39c8012bcf0@redhat.com> <20160627113143.GF1041@n2100.armlinux.org.uk> <842a453d-3295-ffbd-f3dd-67baba1692d2@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1432099

Show key headers only | View raw


On Mon, Jun 27, 2016 at 02:53:16PM +0200, Hans de Goede wrote:
> Note this does not mean that all pm_power_off implementations
> are going to be happy with machine_power_off leaving irqs
> enabled, I would esp. expect the efi and psci implementations
> to potentially be unhappy about this. See below for a proposal
> to deal with this.

Neither PSCI nor EFI care either way about interrupts.

PSCI makes synchronous HVC/SMC calls to a higher exception level, and
can be safely called with interrupts enabled or disabled.

EFI's ResetSystem (which backs pm_power_off) can be called with
interrupts enabled or disabled, so long as there is not a clashing call
in progress already (see 7.1 "Runtime Services Rules and Restrictions")
in the EFI 2.6 spec.

Thanks,
Mark.

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


Thread

BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Hans de Goede <hdegoede@redhat.com> - 2016-06-26 18:10 +0200
  Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Marc Zyngier <marc.zyngier@arm.com> - 2016-06-27 11:20 +0200
    Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-06-27 11:50 +0200
      Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Hans de Goede <hdegoede@redhat.com> - 2016-06-27 13:00 +0200
        Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-06-27 13:40 +0200
          Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-06-27 13:50 +0200
          Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Hans de Goede <hdegoede@redhat.com> - 2016-06-27 15:00 +0200
            Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-06-27 16:00 +0200
              Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Hans de Goede <hdegoede@redhat.com> - 2016-06-27 16:40 +0200
            Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu Mark Rutland <mark.rutland@arm.com> - 2016-06-27 17:00 +0200

csiph-web