linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org
Cc: linux-nvme@lists.infradead.org
Subject: ACPI object counter overrun on frequent nvme resets
Date: Mon, 25 Sep 2017 06:07:29 -0700	[thread overview]
Message-ID: <20170925130729.GA14151@infradead.org> (raw)

Hi all,

when doing an error injection test with the nvme-pci driver on Linux 4.14
almost rc2 (820bf5c419e4b85298e5c3001bd1b5be46d60765 plus a few nvme
patches) that does a lot of nvme resets which shut down and re-enable the
PCI device I see a flood of warnings like:

[   78.237286] ACPI Warning: Large Reference Count (0x1001) in object ffff88007d702c68, Type=0x1D (20170728/utdelete-473)

Throwing in a dump_stack into the path it comes from:

[   78.238387] CPU: 0 PID: 286 Comm: kworker/u8:3 Not tainted 4.14.0-rc1+ #134
[   78.238998] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   78.239720] Workqueue: nvme-wq nvme_reset_work
[   78.239995] Call Trace:
[   78.239995]  dump_stack+0x63/0x83
[   78.239995]  acpi_ut_update_ref_count+0x2f7/0x2fe
[   78.239995]  acpi_ut_update_object_reference+0x114/0x182
[   78.239995]  acpi_ut_add_reference+0x1b/0x1e
[   78.239995]  acpi_ds_init_package_element+0x149/0x16e
[   78.239995]  ? acpi_ds_build_internal_object+0xca/0x12c
[   78.239995]  acpi_ds_build_internal_package_obj+0x1b2/0x258
[   78.239995]  ? acpi_ds_build_internal_package_obj+0x1b2/0x258
[   78.239995]  acpi_ds_eval_data_object_operands+0xd3/0x123
[   78.239995]  acpi_ds_exec_end_op+0x288/0x3e1
[   78.239995]  acpi_ps_parse_loop+0x519/0x57b
[   78.239995]  acpi_ps_parse_aml+0x93/0x29c
[   78.239995]  acpi_ps_execute_method+0x148/0x17f
[   78.239995]  acpi_ns_evaluate+0x1c1/0x24d
[   78.239995]  acpi_ut_evaluate_object+0x72/0x197
[   78.239995]  acpi_rs_get_prt_method_data+0x21/0x45
[   78.239995]  acpi_get_irq_routing_table+0x2c/0x30
[   78.239995]  acpi_pci_irq_find_prt_entry+0x8e/0x2c0
[   78.239995]  ? irq_get_irq_data+0x9/0x20
[   78.239995]  ? mp_unmap_irq+0xf/0x70
[   78.239995]  acpi_pci_irq_lookup+0x26/0x1a0
[   78.239995]  acpi_pci_irq_enable+0x5b/0x1b0
[   78.239995]  ? pci_read_config_word+0x22/0x30
[   78.239995]  pcibios_enable_device+0x28/0x30
[   78.239995]  do_pci_enable_device+0x5f/0xe0
[   78.239995]  pci_enable_device_flags+0xc3/0x110
[   78.239995]  pci_enable_device_mem+0xe/0x10
[   78.239995]  nvme_reset_work+0x4c/0x1610
[   78.239995]  ? sched_clock+0x9/0x10
[   78.239995]  ? sched_clock_local+0x17/0x90
[   78.239995]  ? _raw_spin_lock+0x9/0x10
[   78.239995]  ? pick_next_task_fair+0x420/0x690
[   78.239995]  ? _raw_spin_unlock_irq+0x9/0x20
[   78.239995]  ? finish_task_switch+0x7b/0x1f0
[   78.239995]  ? __schedule+0x2d7/0x800
[   78.239995]  process_one_work+0x1db/0x3e0
[   78.239995]  worker_thread+0x43/0x3f0
[   78.239995]  kthread+0x103/0x140
[   78.239995]  ? process_one_work+0x3e0/0x3e0
[   78.239995]  ? kthread_create_on_node+0x40/0x40
[   78.239995]  ret_from_fork+0x25/0x30

             reply	other threads:[~2017-09-25 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 13:07 Christoph Hellwig [this message]
2017-09-29  4:40 ` ACPI object counter overrun on frequent nvme resets Zheng, Lv
2017-10-11  6:16   ` Zheng, Lv

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=20170925130729.GA14151@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).