From: Alex Williamson <alex.williamson@redhat.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
Bjorn Helgaas <bhelgaas@google.com>,
LKML <linux-kernel@vger.kernel.org>,
Linux PCI <linux-pci@vger.kernel.org>,
Yinghai Lu <yinghai@kernel.org>, Jiang Liu <liuj97@gmail.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots
Date: Wed, 04 Sep 2013 14:36:34 -0600 [thread overview]
Message-ID: <1378326994.3246.152.camel@ul30vt.home> (raw)
In-Reply-To: <1818424.8fNkf5pBy3@vostro.rjw.lan>
On Thu, 2013-07-18 at 01:32 +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The current implementation of acpiphp_check_bridge() is pretty dumb:
> - It enables a slot if it's not enabled and the slot status is
> ACPI_STA_ALL.
> - It disables a slot if it's enabled and the slot status is not
> ACPI_STA_ALL.
>
> This behavior is not sufficient to handle the Thunderbolt daisy
> chaining case properly, however, because in that case the bus
> behind the already enabled slot needs to be rescanned for new
> devices.
>
> For this reason, modify acpiphp_check_bridge() so that slots are
> disabled and stopped if they are not in the ACPI_STA_ALL state.
>
> For slots in the ACPI_STA_ALL state, devices behind them that don't
> respond are trimmed using a new function, trim_stale_devices(),
> introduced specifically for this purpose. That function walks
> the given bus and checks each device on it. If the device doesn't
> respond, it is assumed to be gone and is removed.
>
> Once all of the stale devices directy behind the slot have been
> removed, acpiphp_check_bridge() will start looking for new devices
> that might have appeared on the given bus. It will do that even if
> the slot is already enabled (SLOT_ENABLED is set for it).
>
> In addition to that, make the bus check notification ignore
> SLOT_ENABLED and go for enable_device() directly if bridge is NULL,
> so that devices behind the slot are re-enumerated in that case too.
>
> This change is based on earlier patches from Kirill A Shutemov
> and Mika Westerberg.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
FYI, git bisect landed on this patch as the cause of my serial console
dying on current upstream. Further debugging to come... Thanks,
Alex
> drivers/pci/hotplug/acpiphp_glue.c | 87 +++++++++++++++++++++++++------------
> 1 file changed, 60 insertions(+), 27 deletions(-)
>
> Index: linux-pm/drivers/pci/hotplug/acpiphp_glue.c
> ===================================================================
> --- linux-pm.orig/drivers/pci/hotplug/acpiphp_glue.c
> +++ linux-pm/drivers/pci/hotplug/acpiphp_glue.c
> @@ -46,6 +46,7 @@
> #include <linux/pci.h>
> #include <linux/pci_hotplug.h>
> #include <linux/pci-acpi.h>
> +#include <linux/pm_runtime.h>
> #include <linux/mutex.h>
> #include <linux/slab.h>
> #include <linux/acpi.h>
> @@ -687,47 +688,75 @@ static unsigned int get_slot_status(stru
> }
>
> /**
> + * trim_stale_devices - remove PCI devices that are not responding.
> + * @dev: PCI device to start walking the hierarchy from.
> + */
> +static void trim_stale_devices(struct pci_dev *dev)
> +{
> + acpi_handle handle = ACPI_HANDLE(&dev->dev);
> + struct pci_bus *bus = dev->subordinate;
> + bool alive = false;
> +
> + if (handle) {
> + acpi_status status;
> + unsigned long long sta;
> +
> + status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
> + alive = ACPI_SUCCESS(status) && sta == ACPI_STA_ALL;
> + }
> + if (!alive) {
> + u32 v;
> +
> + /* Check if the device responds. */
> + alive = pci_bus_read_dev_vendor_id(dev->bus, dev->devfn, &v, 0);
> + }
> + if (!alive) {
> + pci_stop_and_remove_bus_device(dev);
> + if (handle)
> + acpiphp_bus_trim(handle);
> + } else if (bus) {
> + struct pci_dev *child, *tmp;
> +
> + /* The device is a bridge. so check the bus below it. */
> + pm_runtime_get_sync(&dev->dev);
> + list_for_each_entry_safe(child, tmp, &bus->devices, bus_list)
> + trim_stale_devices(child);
> +
> + pm_runtime_put(&dev->dev);
> + }
> +}
> +
> +/**
> * acpiphp_check_bridge - re-enumerate devices
> * @bridge: where to begin re-enumeration
> *
> * Iterate over all slots under this bridge and make sure that if a
> * card is present they are enabled, and if not they are disabled.
> */
> -static int acpiphp_check_bridge(struct acpiphp_bridge *bridge)
> +static void acpiphp_check_bridge(struct acpiphp_bridge *bridge)
> {
> struct acpiphp_slot *slot;
> - int retval = 0;
> - int enabled, disabled;
> -
> - enabled = disabled = 0;
>
> list_for_each_entry(slot, &bridge->slots, node) {
> - unsigned int status = get_slot_status(slot);
> - if (slot->flags & SLOT_ENABLED) {
> - if (status == ACPI_STA_ALL)
> - continue;
> + struct pci_bus *bus = slot->bus;
> + struct pci_dev *dev, *tmp;
>
> - retval = acpiphp_disable_and_eject_slot(slot);
> - if (retval)
> - goto err_exit;
> + mutex_lock(&slot->crit_sect);
> + /* wake up all functions */
> + if (get_slot_status(slot) == ACPI_STA_ALL) {
> + /* remove stale devices if any */
> + list_for_each_entry_safe(dev, tmp, &bus->devices,
> + bus_list)
> + if (PCI_SLOT(dev->devfn) == slot->device)
> + trim_stale_devices(dev);
>
> - disabled++;
> + /* configure all functions */
> + enable_device(slot);
> } else {
> - if (status != ACPI_STA_ALL)
> - continue;
> - retval = acpiphp_enable_slot(slot);
> - if (retval) {
> - err("Error occurred in enabling\n");
> - goto err_exit;
> - }
> - enabled++;
> + disable_device(slot);
> }
> + mutex_unlock(&slot->crit_sect);
> }
> -
> - dbg("%s: %d enabled, %d disabled\n", __func__, enabled, disabled);
> -
> - err_exit:
> - return retval;
> }
>
> static void acpiphp_set_hpp_values(struct pci_bus *bus)
> @@ -828,7 +857,11 @@ static void hotplug_event(acpi_handle ha
> ACPI_UINT32_MAX, check_sub_bridges,
> NULL, NULL, NULL);
> } else {
> - acpiphp_enable_slot(func->slot);
> + struct acpiphp_slot *slot = func->slot;
> +
> + mutex_lock(&slot->crit_sect);
> + enable_device(slot);
> + mutex_unlock(&slot->crit_sect);
> }
> break;
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-09-04 20:37 UTC|newest]
Thread overview: 135+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 0:01 [RFC][PATCH 0/8] ACPI / hotplug / PCI: Consolidation of handling notifications (in progress) Rafael J. Wysocki
2013-07-09 0:14 ` [RFC][PATCH 1/8] ACPI / PCI: Make bus registration and unregistration symmetric Rafael J. Wysocki
2013-07-09 0:16 ` [RFC][PATCH 2/8] ACPI / hotplug / PCI: Consolidate acpiphp_enumerate_slots() Rafael J. Wysocki
2013-07-09 0:17 ` [RFC][PATCH 3/8] ACPI / hotplug / PCI: Always return success after adding a function Rafael J. Wysocki
2013-07-09 0:18 ` [RFC][PATCH 4/8] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions Rafael J. Wysocki
2013-07-09 9:23 ` Mika Westerberg
2013-07-09 23:54 ` [Update][RFC][PATCH " Rafael J. Wysocki
2013-07-09 0:19 ` [RFC][PATCH 5/8] ACPI / hotplug / PCI: Unified notify handler for hotplug events Rafael J. Wysocki
2013-07-09 9:30 ` Mika Westerberg
2013-07-09 23:49 ` Rafael J. Wysocki
2013-07-09 0:20 ` [RFC][PATCH 6/8] ACPI / hotplug / PCI: Drop acpiphp_handle_to_bridge() Rafael J. Wysocki
2013-07-09 9:37 ` Mika Westerberg
2013-07-09 23:46 ` Rafael J. Wysocki
2013-07-09 0:21 ` [RFC][PATCH 7/8] ACPI / hotplug / PCI: Pass hotplug context object to event handlers Rafael J. Wysocki
2013-07-09 0:22 ` [RFC][PATCH 8/8] ACPI / hotplug / PCI: Merge hotplug event handling functions Rafael J. Wysocki
2013-07-11 23:34 ` [RFC][PATCH 0/30] ACPI / hotplug / PCI: Major rework + Thunderbolt workarounds Rafael J. Wysocki
2013-07-11 23:36 ` [RFC][PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric Rafael J. Wysocki
2013-07-11 23:37 ` [RFC][PATCH 2/30] ACPI / hotplug / PCI: Consolidate acpiphp_enumerate_slots() Rafael J. Wysocki
2013-07-11 23:38 ` [RFC][PATCH 3/30] ACPI / hotplug / PCI: Always return success after adding a function Rafael J. Wysocki
2013-07-11 23:39 ` [RFC][PATCH 4/30] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions Rafael J. Wysocki
2013-07-11 23:40 ` [RFC][PATCH 5/30] ACPI / hotplug / PCI: Unified notify handler for hotplug events Rafael J. Wysocki
2013-07-11 23:44 ` [RFC][PATCH 6/30] ACPI / hotplug / PCI: Rework acpiphp_handle_to_bridge() Rafael J. Wysocki
2013-07-11 23:45 ` [RFC][PATCH 7/30] ACPI / hotplug / PCI: Pass hotplug context objects to event handlers Rafael J. Wysocki
2013-07-11 23:47 ` [RFC][PATCH 8/30] ACPI / hotplug / PCI: Merge hotplug event handling functions Rafael J. Wysocki
2013-07-11 23:48 ` [RFC][PATCH 9/30] ACPI / hotplug / PCI: Drop func field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-11 23:49 ` [RFC][PATCH 10/30] ACPI / hotplug / PCI: Refactor slot allocation code in register_slot() Rafael J. Wysocki
2013-07-11 23:50 ` [RFC][PATCH 11/30] ACPI / hotplug / PCI: Register all devices under the given bridge Rafael J. Wysocki
2013-07-12 11:54 ` Mika Westerberg
2013-07-12 13:01 ` Mika Westerberg
2013-07-11 23:51 ` [RFC][PATCH 12/30] ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot Rafael J. Wysocki
2013-07-11 23:52 ` [RFC][PATCH 13/30] ACPI / hotplug / PCI: Use common slot count variable in register_slot() Rafael J. Wysocki
2013-07-11 23:54 ` [RFC][PATCH 14/30] ACPI / hotplug / PCI: Drop flags field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-11 23:54 ` [RFC][PATCH 15/30] ACPI / hotplug / PCI: Embed function struct into struct acpiphp_context Rafael J. Wysocki
2013-07-11 23:55 ` [RFC][PATCH 16/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func Rafael J. Wysocki
2013-07-11 23:56 ` [RFC][PATCH 17/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-11 23:56 ` [RFC][PATCH 18/30] ACPI / hotplug / PCI: Store parent in functions and bus in slots Rafael J. Wysocki
2013-07-11 23:57 ` [RFC][PATCH 19/30] ACPI / hotplug / PCI: Rework namespace scanning and trimming routines Rafael J. Wysocki
2013-07-11 23:58 ` [RFC][PATCH 20/30] ACPI / hotplug / PCI: Drop redundant checks from check_hotplug_bridge() Rafael J. Wysocki
2013-07-11 23:59 ` [RFC][PATCH 21/30] ACPI / hotplug / PCI: Consolidate slot disabling and ejecting Rafael J. Wysocki
2013-07-12 0:00 ` [RFC][PATCH 22/30] ACPI / hotplug / PCI: Do not queue up event handling work items in vain Rafael J. Wysocki
2013-07-12 0:01 ` [RFC][PATCH 23/30] ACPI / hotplug / PCI: Do not exectute _PS0 and _PS3 directly Rafael J. Wysocki
2013-07-12 13:05 ` Mika Westerberg
2013-07-12 21:09 ` Rafael J. Wysocki
2013-07-12 0:02 ` [RFC][PATCH 24/30] ACPI / hotplug / PCI: Do not check SLOT_ENABLED in enable_device() Rafael J. Wysocki
2013-07-12 0:03 ` [RFC][PATCH 25/30] ACPI / hotplug / PCI: Allow slots without new devices to be rescanned Rafael J. Wysocki
2013-07-12 0:04 ` [RFC][PATCH 26/30] ACPI / hotplug / PCI: Check for new devices on enabled slots Rafael J. Wysocki
2013-07-12 0:05 ` [RFC][PATCH 27/30] ACPI / hotplug / PCI: Get rid of unused constants in acpiphp.h Rafael J. Wysocki
2013-07-12 0:06 ` [RFC][PATCH 28/30] ACPI / hotplug / PCI: Sanitize acpiphp_get_(latch)|(adapter)_status() Rafael J. Wysocki
2013-07-12 0:07 ` [RFC][PATCH 29/30] ACPI / hotplug / PCI: Redefine enable_device() and disable_device() Rafael J. Wysocki
2013-07-12 0:07 ` [RFC][PATCH 30/30] ACPI / hotplug / PCI: Clean up bridge_mutex usage Rafael J. Wysocki
2013-07-12 13:18 ` [RFC][PATCH 0/30] ACPI / hotplug / PCI: Major rework + Thunderbolt workarounds Mika Westerberg
2013-07-12 21:04 ` Rafael J. Wysocki
2013-07-17 23:05 ` [PATCH " Rafael J. Wysocki
2013-07-17 23:15 ` [PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric Rafael J. Wysocki
2013-07-18 1:00 ` Yinghai Lu
2013-07-17 23:16 ` [PATCH 2/30] ACPI / hotplug / PCI: Consolidate acpiphp_enumerate_slots() Rafael J. Wysocki
2013-07-18 1:40 ` Yinghai Lu
2013-07-18 19:09 ` Rafael J. Wysocki
2013-07-17 23:17 ` [PATCH 3/30] ACPI / hotplug / PCI: Always return success after adding a function Rafael J. Wysocki
2013-07-17 23:17 ` [PATCH 4/30] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions Rafael J. Wysocki
2013-07-18 2:00 ` Yinghai Lu
2013-07-18 19:04 ` Rafael J. Wysocki
2013-07-18 20:06 ` Rafael J. Wysocki
2013-07-17 23:18 ` [PATCH 5/30] ACPI / hotplug / PCI: Unified notify handler for hotplug events Rafael J. Wysocki
2013-07-18 2:07 ` Yinghai Lu
2013-07-18 18:59 ` Rafael J. Wysocki
2013-07-17 23:19 ` [PATCH 6/30] ACPI / hotplug / PCI: Rework acpiphp_handle_to_bridge() Rafael J. Wysocki
2013-07-17 23:19 ` [PATCH 7/30] ACPI / hotplug / PCI: Pass hotplug context objects to event handlers Rafael J. Wysocki
2013-07-17 23:20 ` [PATCH 8/30] ACPI / hotplug / PCI: Merge hotplug event handling functions Rafael J. Wysocki
2013-07-17 23:21 ` [PATCH 9/30] ACPI / hotplug / PCI: Drop func field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-17 23:22 ` [PATCH 10/30] ACPI / hotplug / PCI: Refactor slot allocation code in register_slot() Rafael J. Wysocki
2013-07-17 23:22 ` [PATCH 11/30] ACPI / hotplug / PCI: Register all devices under the given bridge Rafael J. Wysocki
2013-07-17 23:23 ` [PATCH 12/30] ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot Rafael J. Wysocki
2013-07-17 23:24 ` [PATCH 13/30] ACPI / hotplug / PCI: Drop flags field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-17 23:24 ` [PATCH 14/30] ACPI / hotplug / PCI: Embed function struct into struct acpiphp_context Rafael J. Wysocki
2013-07-17 23:25 ` [PATCH 15/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func Rafael J. Wysocki
2013-07-17 23:26 ` [PATCH 16/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_bridge Rafael J. Wysocki
2013-07-17 23:26 ` [PATCH 17/30] ACPI / hotplug / PCI: Store parent in functions and bus in slots Rafael J. Wysocki
2013-07-17 23:27 ` [PATCH 18/30] ACPI / hotplug / PCI: Rework namespace scanning and trimming routines Rafael J. Wysocki
2013-07-17 23:27 ` [PATCH 19/30] ACPI / hotplug / PCI: Drop redundant checks from check_hotplug_bridge() Rafael J. Wysocki
2013-07-17 23:28 ` [PATCH 20/30] ACPI / hotplug / PCI: Consolidate slot disabling and ejecting Rafael J. Wysocki
2013-07-17 23:29 ` [PATCH 21/30] ACPI / hotplug / PCI: Do not queue up event handling work items in vain Rafael J. Wysocki
2013-07-17 23:30 ` [PATCH 22/30] ACPI / hotplug / PCI: Do not exectute _PS0 and _PS3 directly Rafael J. Wysocki
2013-07-17 23:31 ` [PATCH 23/30] ACPI / hotplug / PCI: Do not check SLOT_ENABLED in enable_device() Rafael J. Wysocki
2013-07-17 23:31 ` [PATCH 24/30] ACPI / hotplug / PCI: Allow slots without new devices to be rescanned Rafael J. Wysocki
2013-07-17 23:32 ` [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots Rafael J. Wysocki
2013-09-04 20:36 ` Alex Williamson [this message]
2013-09-04 22:54 ` Rafael J. Wysocki
2013-09-04 23:12 ` Alex Williamson
2013-09-04 23:35 ` Rafael J. Wysocki
2013-09-05 3:37 ` Alex Williamson
2013-09-05 4:06 ` Alex Williamson
2013-09-05 11:54 ` Rafael J. Wysocki
2013-09-05 13:19 ` Alex Williamson
2013-09-05 14:21 ` Alex Williamson
2013-09-05 19:44 ` Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots) Rafael J. Wysocki
2013-09-05 21:39 ` Rafael J. Wysocki
2013-09-05 21:45 ` Rafael J. Wysocki
2013-09-05 22:17 ` Alex Williamson
2013-09-05 22:40 ` Rafael J. Wysocki
2013-09-05 23:08 ` Alex Williamson
2013-09-05 23:36 ` Rafael J. Wysocki
2013-09-05 23:31 ` Alex Williamson
2013-09-05 23:48 ` Rafael J. Wysocki
2013-09-06 12:19 ` Bjorn Helgaas
2013-09-06 12:40 ` Rafael J. Wysocki
2013-09-06 15:34 ` Alex Williamson
2013-09-07 22:16 ` [PATCH] ACPI / hotplug / PCI: Avoid parent bus rescans on spurious device checks Rafael J. Wysocki
2013-09-09 16:32 ` Alex Williamson
2013-09-09 20:02 ` Rafael J. Wysocki
2013-09-06 13:42 ` [PATCH 0/2] Re: Excess dmesg output from ACPIPHP on boot Rafael J. Wysocki
2013-09-06 13:43 ` [PATCH 1/2] ACPI / hotplug / PCI: Avoid doing too much for spurious notifies Rafael J. Wysocki
2013-09-06 15:46 ` Yinghai Lu
2013-09-06 23:45 ` Rafael J. Wysocki
2013-09-06 13:46 ` [PATCH 2/2] ACPI / hotplug / PCI: Use _OST to notify firmware about notify status Rafael J. Wysocki
2013-09-06 15:36 ` [PATCH 0/2] Re: Excess dmesg output from ACPIPHP on boot Alex Williamson
2013-09-06 23:46 ` Rafael J. Wysocki
2013-09-05 6:17 ` [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots Lan Tianyu
2013-09-05 11:57 ` Rafael J. Wysocki
2013-09-05 13:11 ` Lan Tianyu
2013-09-05 21:43 ` Rafael J. Wysocki
2013-07-17 23:33 ` [PATCH 26/30] ACPI / hotplug / PCI: Get rid of unused constants in acpiphp.h Rafael J. Wysocki
2013-07-17 23:34 ` [PATCH 27/30] ACPI / hotplug / PCI: Sanitize acpiphp_get_(latch)|(adapter)_status() Rafael J. Wysocki
2013-07-17 23:35 ` [PATCH 28/30] ACPI / hotplug / PCI: Redefine enable_device() and disable_device() Rafael J. Wysocki
2013-07-17 23:35 ` [PATCH 29/30] ACPI / hotplug / PCI: Clean up bridge_mutex usage Rafael J. Wysocki
2013-07-17 23:36 ` [PATCH 30/30] ACPI / hotplug / PCI: Get rid of check_sub_bridges() Rafael J. Wysocki
2013-07-23 6:49 ` [PATCH 0/30] ACPI / hotplug / PCI: Major rework + Thunderbolt workarounds Yinghai Lu
2013-07-23 21:39 ` Rafael J. Wysocki
2013-07-24 2:20 ` Yinghai Lu
2013-07-24 12:22 ` Rafael J. Wysocki
2013-07-24 12:58 ` Rafael J. Wysocki
2013-07-24 16:06 ` Bjorn Helgaas
2013-07-24 20:02 ` Rafael J. Wysocki
2013-07-25 13:25 ` Yinghai Lu
2013-07-25 19:57 ` Rafael J. Wysocki
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=1378326994.3246.152.camel@ul30vt.home \
--to=alex.williamson@redhat.com \
--cc=bhelgaas@google.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=liuj97@gmail.com \
--cc=mika.westerberg@linux.intel.com \
--cc=rjw@sisk.pl \
--cc=yinghai@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).