From: Bjorn Helgaas <helgaas@kernel.org>
To: linux-pci@vger.kernel.org
Subject: [bugzilla-daemon@bugzilla.kernel.org: [Bug 213945] New: Unable to power off iMac16,2]
Date: Mon, 2 Aug 2021 11:48:52 -0500 [thread overview]
Message-ID: <20210802164852.GA5017@bjorn-Precision-5520> (raw)
----- Forwarded message from bugzilla-daemon@bugzilla.kernel.org -----
Date: Mon, 02 Aug 2021 16:02:47 +0000
From: bugzilla-daemon@bugzilla.kernel.org
To: bjorn@helgaas.com
Subject: [Bug 213945] New: Unable to power off iMac16,2
Message-ID: <bug-213945-41252@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=213945
Bug ID: 213945
Summary: Unable to power off iMac16,2
Product: Drivers
Version: 2.5
Kernel Version: 5.4.0
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PCI
Assignee: drivers_pci@kernel-bugs.osdl.org
Reporter: kevo@gatorgraphics.com
Regression: No
Created attachment 298155
--> https://bugzilla.kernel.org/attachment.cgi?id=298155&action=edit
dmesg
I believe this bug is very similar if not the same to
https://bugzilla.kernel.org/show_bug.cgi?id=103211.
I have managed to work around it and have the computer power off by using the
two setpci commands from comment 298 in bug report 103211 in a systemd shutdown
script placed in /lib/systemd/system-shutdown.
#!/bin/sh
case $1 in
poweroff)
setpci -s1c.0 0x20.l=0xf011f001
setpci -s1c.0 0x24.l=0xf031f021
;;
esac
Without the script the computer will just hang at shutdown. It also will not
suspend properly. It looks like it does, but then it will not wake up and I
have to hard power it down by holding the power button for 10 seconds before I
can turn it back on again.
I am attaching the output of dmesg, lspci, dmidecode and /proc/iomem and
/proc/ioports to aid in possibly extending the quirk fix from the previous bug
report. Hopefully the issue is similar enough that it will be a quick fix.
I do believe I am running the latest BIOS (427.140.8.0.0 06/13/2021) which I
believe was installed when I installed Big Sur.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
----- End forwarded message -----
next reply other threads:[~2021-08-02 16:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-02 16:48 Bjorn Helgaas [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-02 16:48 [bugzilla-daemon@bugzilla.kernel.org: [Bug 213945] New: Unable to power off iMac16,2] Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210802164852.GA5017@bjorn-Precision-5520 \
--to=helgaas@kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox