All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ACPI serdev support
@ 2017-10-04  8:51 Frédéric Danis
  2017-10-04  8:51 ` [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
                   ` (2 more replies)
  0 siblings, 3 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-04  8:51 UTC (permalink / raw)
  To: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede
  Cc: linux-bluetooth, linux-serial, linux-acpi, frederic.danis.oss

Add ACPI support for serial attached devices.

Currently, serial devices are not set as enumerated during ACPI scan for SPI
or i2c buses (but not for UART). This should also be done for UART serial
devices.
I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.

For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
support to the serdev drv" patches to work.

Tested on T100TA with Broadcom BCM2E39.

Since RFC:
  - Add or reword commit messages
  - Rename *serial_slave* to *serial_bus_slave*
  - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
    Lukas Wunner
  - Update comment in acpi_default_enumeration()
  - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
    in favor of patches from Hans de Goede

Frédéric Danis (2):
  serdev: Add ACPI support
  ACPI / scan: Fix enumeration for special UART devices

 drivers/acpi/scan.c       | 37 ++++++++----------
 drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
 include/acpi/acpi_bus.h   |  2 +-
 3 files changed, 112 insertions(+), 26 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 49+ messages in thread

* [PATCH 1/2] serdev: Add ACPI support
  2017-10-04  8:51 [PATCH 0/2] ACPI serdev support Frédéric Danis
@ 2017-10-04  8:51     ` Frédéric Danis
  2017-10-05 15:21 ` [PATCH 0/2] ACPI serdev support Marcel Holtmann
       [not found] ` <1507107090-15992-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2 siblings, 0 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-04  8:51 UTC (permalink / raw)
  To: robh-DgEjT+Ai2ygdnm+yROfE0A, marcel-kz+m5ild9QBg9hUCZPvPmw,
	sre-DgEjT+Ai2ygdnm+yROfE0A, loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	johan-DgEjT+Ai2ygdnm+yROfE0A, lukas-JFq808J9C/izQB+pC5nmwQ,
	hdegoede-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA,
	frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w

This patch allows SerDev module to manage serial devices declared as
attached to an UART in ACPI table.

acpi_serdev_add_device() callback will only take into account entries
without enumerated flag set. This flags is set for all entries during
ACPI scan, except for SPI and I2C serial devices, and for UART with
2nd patch in the series.

Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 94 insertions(+), 5 deletions(-)

diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index c68fb3a..104777d 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -14,6 +14,7 @@
  * GNU General Public License for more details.
  */
 
+#include <linux/acpi.h>
 #include <linux/errno.h>
 #include <linux/idr.h>
 #include <linux/kernel.h>
@@ -49,13 +50,22 @@ static const struct device_type serdev_ctrl_type = {
 
 static int serdev_device_match(struct device *dev, struct device_driver *drv)
 {
-	/* TODO: ACPI and platform matching */
+	/* TODO: platform matching */
+	if (acpi_driver_match_device(dev, drv))
+		return 1;
+
 	return of_driver_match_device(dev, drv);
 }
 
 static int serdev_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
-	/* TODO: ACPI and platform modalias */
+	int rc;
+
+	/* TODO: platform modalias */
+	rc = acpi_device_uevent_modalias(dev, env);
+	if (rc != -ENODEV)
+		return rc;
+
 	return of_device_uevent_modalias(dev, env);
 }
 
@@ -260,6 +270,12 @@ static int serdev_drv_remove(struct device *dev)
 static ssize_t modalias_show(struct device *dev,
 			     struct device_attribute *attr, char *buf)
 {
+	int len;
+
+	len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1);
+	if (len != -ENODEV)
+		return len;
+
 	return of_device_modalias(dev, buf, PAGE_SIZE);
 }
 DEVICE_ATTR_RO(modalias);
@@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
 	return 0;
 }
 
+#ifdef CONFIG_ACPI
+static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
+					    struct acpi_device *adev)
+{
+	struct serdev_device *serdev = NULL;
+	int err;
+
+	if (acpi_bus_get_status(adev) || !adev->status.present ||
+	    acpi_device_enumerated(adev))
+		return AE_OK;
+
+	serdev = serdev_device_alloc(ctrl);
+	if (!serdev) {
+		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",
+			dev_name(&adev->dev));
+		return AE_NO_MEMORY;
+	}
+
+	ACPI_COMPANION_SET(&serdev->dev, adev);
+	acpi_device_set_enumerated(adev);
+
+	err = serdev_device_add(serdev);
+	if (err) {
+		dev_err(&serdev->dev,
+			"failure adding ACPI device. status %d\n", err);
+		serdev_device_put(serdev);
+	}
+
+	return AE_OK;
+}
+
+static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
+				       void *data, void **return_value)
+{
+	struct serdev_controller *ctrl = data;
+	struct acpi_device *adev;
+
+	if (acpi_bus_get_device(handle, &adev))
+		return AE_OK;
+
+	return acpi_serdev_register_device(ctrl, adev);
+}
+
+static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
+{
+	acpi_status status;
+	acpi_handle handle;
+
+	handle = ACPI_HANDLE(ctrl->dev.parent);
+	if (!handle)
+		return -ENODEV;
+
+	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
+				     acpi_serdev_add_device, NULL, ctrl, NULL);
+	if (ACPI_FAILURE(status)) {
+		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
+		return -ENODEV;
+	}
+
+	return 0;
+}
+#else
+static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)
+{
+	return -ENODEV;
+}
+#endif /* CONFIG_ACPI */
+
 /**
  * serdev_controller_add() - Add an serdev controller
  * @ctrl:	controller to be registered.
@@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
  */
 int serdev_controller_add(struct serdev_controller *ctrl)
 {
-	int ret;
+	int ret_of, ret_acpi, ret;
 
 	/* Can't register until after driver model init */
 	if (WARN_ON(!is_registered))
@@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
 	if (ret)
 		return ret;
 
-	ret = of_serdev_register_devices(ctrl);
-	if (ret)
+	ret_of = of_serdev_register_devices(ctrl);
+	ret_acpi = acpi_serdev_register_devices(ctrl);
+	if (ret_of && ret_acpi) {
+		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
+			ctrl->nr, ret_of, ret_acpi);
+		ret = -ENODEV;
 		goto out_dev_del;
+	}
 
 	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
 		ctrl->nr, &ctrl->dev);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-04  8:51     ` Frédéric Danis
  0 siblings, 0 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-04  8:51 UTC (permalink / raw)
  To: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede
  Cc: linux-bluetooth, linux-serial, linux-acpi, frederic.danis.oss

This patch allows SerDev module to manage serial devices declared as
attached to an UART in ACPI table.

acpi_serdev_add_device() callback will only take into account entries
without enumerated flag set. This flags is set for all entries during
ACPI scan, except for SPI and I2C serial devices, and for UART with
2nd patch in the series.

Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
---
 drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 94 insertions(+), 5 deletions(-)

diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index c68fb3a..104777d 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -14,6 +14,7 @@
  * GNU General Public License for more details.
  */
 
+#include <linux/acpi.h>
 #include <linux/errno.h>
 #include <linux/idr.h>
 #include <linux/kernel.h>
@@ -49,13 +50,22 @@ static const struct device_type serdev_ctrl_type = {
 
 static int serdev_device_match(struct device *dev, struct device_driver *drv)
 {
-	/* TODO: ACPI and platform matching */
+	/* TODO: platform matching */
+	if (acpi_driver_match_device(dev, drv))
+		return 1;
+
 	return of_driver_match_device(dev, drv);
 }
 
 static int serdev_uevent(struct device *dev, struct kobj_uevent_env *env)
 {
-	/* TODO: ACPI and platform modalias */
+	int rc;
+
+	/* TODO: platform modalias */
+	rc = acpi_device_uevent_modalias(dev, env);
+	if (rc != -ENODEV)
+		return rc;
+
 	return of_device_uevent_modalias(dev, env);
 }
 
@@ -260,6 +270,12 @@ static int serdev_drv_remove(struct device *dev)
 static ssize_t modalias_show(struct device *dev,
 			     struct device_attribute *attr, char *buf)
 {
+	int len;
+
+	len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1);
+	if (len != -ENODEV)
+		return len;
+
 	return of_device_modalias(dev, buf, PAGE_SIZE);
 }
 DEVICE_ATTR_RO(modalias);
@@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
 	return 0;
 }
 
+#ifdef CONFIG_ACPI
+static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
+					    struct acpi_device *adev)
+{
+	struct serdev_device *serdev = NULL;
+	int err;
+
+	if (acpi_bus_get_status(adev) || !adev->status.present ||
+	    acpi_device_enumerated(adev))
+		return AE_OK;
+
+	serdev = serdev_device_alloc(ctrl);
+	if (!serdev) {
+		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",
+			dev_name(&adev->dev));
+		return AE_NO_MEMORY;
+	}
+
+	ACPI_COMPANION_SET(&serdev->dev, adev);
+	acpi_device_set_enumerated(adev);
+
+	err = serdev_device_add(serdev);
+	if (err) {
+		dev_err(&serdev->dev,
+			"failure adding ACPI device. status %d\n", err);
+		serdev_device_put(serdev);
+	}
+
+	return AE_OK;
+}
+
+static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
+				       void *data, void **return_value)
+{
+	struct serdev_controller *ctrl = data;
+	struct acpi_device *adev;
+
+	if (acpi_bus_get_device(handle, &adev))
+		return AE_OK;
+
+	return acpi_serdev_register_device(ctrl, adev);
+}
+
+static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
+{
+	acpi_status status;
+	acpi_handle handle;
+
+	handle = ACPI_HANDLE(ctrl->dev.parent);
+	if (!handle)
+		return -ENODEV;
+
+	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
+				     acpi_serdev_add_device, NULL, ctrl, NULL);
+	if (ACPI_FAILURE(status)) {
+		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
+		return -ENODEV;
+	}
+
+	return 0;
+}
+#else
+static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)
+{
+	return -ENODEV;
+}
+#endif /* CONFIG_ACPI */
+
 /**
  * serdev_controller_add() - Add an serdev controller
  * @ctrl:	controller to be registered.
@@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
  */
 int serdev_controller_add(struct serdev_controller *ctrl)
 {
-	int ret;
+	int ret_of, ret_acpi, ret;
 
 	/* Can't register until after driver model init */
 	if (WARN_ON(!is_registered))
@@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
 	if (ret)
 		return ret;
 
-	ret = of_serdev_register_devices(ctrl);
-	if (ret)
+	ret_of = of_serdev_register_devices(ctrl);
+	ret_acpi = acpi_serdev_register_devices(ctrl);
+	if (ret_of && ret_acpi) {
+		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
+			ctrl->nr, ret_of, ret_acpi);
+		ret = -ENODEV;
 		goto out_dev_del;
+	}
 
 	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
 		ctrl->nr, &ctrl->dev);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 49+ messages in thread

* [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-04  8:51 [PATCH 0/2] ACPI serdev support Frédéric Danis
@ 2017-10-04  8:51 ` Frédéric Danis
  2017-10-07 11:36   ` Sebastian Reichel
       [not found]   ` <1507107090-15992-3-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2017-10-05 15:21 ` [PATCH 0/2] ACPI serdev support Marcel Holtmann
       [not found] ` <1507107090-15992-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2 siblings, 2 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-04  8:51 UTC (permalink / raw)
  To: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede
  Cc: linux-bluetooth, linux-serial, linux-acpi, frederic.danis.oss

UART devices is expected to be enumerated by SerDev subsystem.

During ACPI scan, serial devices behind SPI, I2C or UART buses are not
enumerated, allowing them to be enumerated by their respective parents.

Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
devices on serial buses (SPI, I2C or UART).

On Macs an empty ResourceTemplate is returned for uart slaves.
Instead the device properties "baud", "parity", "dataBits", "stopBits" are
provided. Add a check for "baud" in acpi_is_serial_bus_slave().

Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
---
 drivers/acpi/scan.c     | 37 +++++++++++++++++--------------------
 include/acpi/acpi_bus.h |  2 +-
 2 files changed, 18 insertions(+), 21 deletions(-)

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 602f8ff..860b698 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1505,41 +1505,38 @@ static void acpi_init_coherency(struct acpi_device *adev)
 	adev->flags.coherent_dma = cca;
 }
 
-static int acpi_check_spi_i2c_slave(struct acpi_resource *ares, void *data)
+static int acpi_check_serial_bus_slave(struct acpi_resource *ares, void *data)
 {
-	bool *is_spi_i2c_slave_p = data;
+	bool *is_serial_bus_slave_p = data;
 
 	if (ares->type != ACPI_RESOURCE_TYPE_SERIAL_BUS)
 		return 1;
 
-	/*
-	 * devices that are connected to UART still need to be enumerated to
-	 * platform bus
-	 */
-	if (ares->data.common_serial_bus.type != ACPI_RESOURCE_SERIAL_TYPE_UART)
-		*is_spi_i2c_slave_p = true;
+	*is_serial_bus_slave_p = true;
 
 	 /* no need to do more checking */
 	return -1;
 }
 
-static bool acpi_is_spi_i2c_slave(struct acpi_device *device)
+static bool acpi_is_serial_bus_slave(struct acpi_device *device)
 {
 	struct list_head resource_list;
-	bool is_spi_i2c_slave = false;
+	bool is_serial_bus_slave = false;
 
 	/* Macs use device properties in lieu of _CRS resources */
 	if (x86_apple_machine &&
 	    (fwnode_property_present(&device->fwnode, "spiSclkPeriod") ||
-	     fwnode_property_present(&device->fwnode, "i2cAddress")))
+	     fwnode_property_present(&device->fwnode, "i2cAddress") ||
+	     fwnode_property_present(&device->fwnode, "baud")))
 		return true;
 
 	INIT_LIST_HEAD(&resource_list);
-	acpi_dev_get_resources(device, &resource_list, acpi_check_spi_i2c_slave,
-			       &is_spi_i2c_slave);
+	acpi_dev_get_resources(device, &resource_list,
+			       acpi_check_serial_bus_slave,
+			       &is_serial_bus_slave);
 	acpi_dev_free_resource_list(&resource_list);
 
-	return is_spi_i2c_slave;
+	return is_serial_bus_slave;
 }
 
 void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
@@ -1557,7 +1554,7 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
 	acpi_bus_get_flags(device);
 	device->flags.match_driver = false;
 	device->flags.initialized = true;
-	device->flags.spi_i2c_slave = acpi_is_spi_i2c_slave(device);
+	device->flags.serial_bus_slave = acpi_is_serial_bus_slave(device);
 	acpi_device_clear_enumerated(device);
 	device_initialize(&device->dev);
 	dev_set_uevent_suppress(&device->dev, true);
@@ -1841,10 +1838,10 @@ static acpi_status acpi_bus_check_add(acpi_handle handle, u32 lvl_not_used,
 static void acpi_default_enumeration(struct acpi_device *device)
 {
 	/*
-	 * Do not enumerate SPI/I2C slaves as they will be enumerated by their
-	 * respective parents.
+	 * Do not enumerate SPI/I2C/UART slaves as they will be enumerated by
+	 * their respective parents.
 	 */
-	if (!device->flags.spi_i2c_slave) {
+	if (!device->flags.serial_bus_slave) {
 		acpi_create_platform_device(device, NULL);
 		acpi_device_set_enumerated(device);
 	} else {
@@ -1941,7 +1938,7 @@ static void acpi_bus_attach(struct acpi_device *device)
 		return;
 
 	device->flags.match_driver = true;
-	if (ret > 0 && !device->flags.spi_i2c_slave) {
+	if (ret > 0 && !device->flags.serial_bus_slave) {
 		acpi_device_set_enumerated(device);
 		goto ok;
 	}
@@ -1950,7 +1947,7 @@ static void acpi_bus_attach(struct acpi_device *device)
 	if (ret < 0)
 		return;
 
-	if (!device->pnp.type.platform_id && !device->flags.spi_i2c_slave)
+	if (!device->pnp.type.platform_id && !device->flags.serial_bus_slave)
 		acpi_device_set_enumerated(device);
 	else
 		acpi_default_enumeration(device);
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index fa15052..f849be2 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -211,7 +211,7 @@ struct acpi_device_flags {
 	u32 of_compatible_ok:1;
 	u32 coherent_dma:1;
 	u32 cca_seen:1;
-	u32 spi_i2c_slave:1;
+	u32 serial_bus_slave:1;
 	u32 reserved:19;
 };
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-04  8:51 [PATCH 0/2] ACPI serdev support Frédéric Danis
  2017-10-04  8:51 ` [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
@ 2017-10-05 15:21 ` Marcel Holtmann
  2017-10-06  7:33   ` Ian W MORRISON
       [not found] ` <1507107090-15992-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2 siblings, 1 reply; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-05 15:21 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Rob Herring, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

Hi Fred,

> Add ACPI support for serial attached devices.
> 
> Currently, serial devices are not set as enumerated during ACPI scan for SPI
> or i2c buses (but not for UART). This should also be done for UART serial
> devices.
> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
> 
> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
> support to the serdev drv" patches to work.
> 
> Tested on T100TA with Broadcom BCM2E39.
> 
> Since RFC:
>  - Add or reword commit messages
>  - Rename *serial_slave* to *serial_bus_slave*
>  - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>    Lukas Wunner
>  - Update comment in acpi_default_enumeration()
>  - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
>    in favor of patches from Hans de Goede

I already applied Hans’ patch series to bluetooth-next tree. And I have no objections or comments for these changes. They should be reviewed and acked by the appropriate maintainers as well, but from my side this looks good.

Acked-by: Marcel Holtmann <marcel@holtmann.org>

What we should discuss on how we get them upstream since besides the Bluetooth subsystem, they cover ACPI and TTY subsystems.

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-05 15:21 ` [PATCH 0/2] ACPI serdev support Marcel Holtmann
@ 2017-10-06  7:33   ` Ian W MORRISON
       [not found]     ` <25008d7b-db06-49ad-033f-63c0b72d9c34-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 49+ messages in thread
From: Ian W MORRISON @ 2017-10-06  7:33 UTC (permalink / raw)
  To: Marcel Holtmann, Frédéric Danis
  Cc: Rob Herring, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

On 10/6/17 2:21 AM, Marcel Holtmann wrote:
> Hi Fred,
> 
>> Add ACPI support for serial attached devices.
>>
>> Currently, serial devices are not set as enumerated during ACPI scan for SPI
>> or i2c buses (but not for UART). This should also be done for UART serial
>> devices.
>> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
>>
>> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
>> support to the serdev drv" patches to work.
>>
>> Tested on T100TA with Broadcom BCM2E39.
>>
>> Since RFC:
>>  - Add or reword commit messages
>>  - Rename *serial_slave* to *serial_bus_slave*
>>  - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>>    Lukas Wunner
>>  - Update comment in acpi_default_enumeration()
>>  - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
>>    in favor of patches from Hans de Goede
> 
> I already applied Hans’ patch series to bluetooth-next tree. And I have no objections or comments for these changes. They should be reviewed and acked by the appropriate maintainers as well, but from my side this looks good.
> 
> Acked-by: Marcel Holtmann <marcel@holtmann.org>
> 
> What we should discuss on how we get them upstream since besides the Bluetooth subsystem, they cover ACPI and TTY subsystems.
> 
> Regards
> 
> Marcel
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Hi Marcel,

I've tested these two patches along with the nine patches (plus revert patch) from Hans's series but cannot get bluetooth to work on some of my devices using these two patches as is, specifically on MINIX Z83-4 based PCs. 

In order for bluetooth to function on these devices I submitted the patch 'Bluetooth: BCM: Add support for MINIX Z83-4 based devices' as they require the trigger type IRQF_TRIGGER_FALLING. With Hans's new patch series I've had to modify the patch which I've resubmitted as version 2. However when I apply the second patch from Fred's series 'ACPI / scan: Fix enumeration for special UART devices' I have found the bluetooth device (BCM2EA4) is no longer enumerated. Specifically I've found that the removal of the check 'if (ares->data.common_serial_bus.type != ACPI_RESOURCE_SERIAL_TYPE_UART)' causes this failure and if I re-add the 'if' statement then the device is loaded. However a 'btattach' is still required for functioning bluetooth.

In terms on applying the patches I have some questions. 

Like Hans I too would like one of my patches to be applied to v4.14. A lot of people have been waiting to get bluetooth working on the MINIX Z83-4 family of devices so is it possible to get my original (resend) patch for bluetooth on MINIX Z83-4 based devices applied to v4.14? If so and assuming the nine patches from Hans go into v4.15 I can then send an additional patch to extend his second patch (Bluetooth: hci_bcm: Fix setting of irq trigger type) to delete the extra line '.driver_data = &acpi_active_low,'. 

If the original (resend) version of my patch for MINIX Z83-4 cannot be applied to v4.14 then I would like to request that my second version of my patch for MINIX Z83-4 based devices be applied to bluetooth-next tree so that they are included in v4.15.

Finally I would like to request some help in addressing the issue caused by Fred's 'Fix enumeration for special UART devices' patch so as to prevent a regression.

Regards,
Ian



^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-06  7:33   ` Ian W MORRISON
@ 2017-10-06  8:16         ` Frédéric Danis
  0 siblings, 0 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-06  8:16 UTC (permalink / raw)
  To: Ian W MORRISON, Marcel Holtmann
  Cc: Rob Herring, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede,
	bluez mailin list
	(linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA, Greg Kroah-Hartman

Hi Ian,

Le 06/10/2017 à 09:33, Ian W MORRISON a écrit :
> On 10/6/17 2:21 AM, Marcel Holtmann wrote:
>> Hi Fred,
>>
>>> Add ACPI support for serial attached devices.
>>>
>>> Currently, serial devices are not set as enumerated during ACPI scan for SPI
>>> or i2c buses (but not for UART). This should also be done for UART serial
>>> devices.
>>> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
>>>
>>> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
>>> support to the serdev drv" patches to work.
>>>
>>> Tested on T100TA with Broadcom BCM2E39.
>>>
>>> Since RFC:
>>>   - Add or reword commit messages
>>>   - Rename *serial_slave* to *serial_bus_slave*
>>>   - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>>>     Lukas Wunner
>>>   - Update comment in acpi_default_enumeration()
>>>   - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
>>>     in favor of patches from Hans de Goede
>> I already applied Hans’ patch series to bluetooth-next tree. And I have no objections or comments for these changes. They should be reviewed and acked by the appropriate maintainers as well, but from my side this looks good.
>>
>> Acked-by: Marcel Holtmann <marcel-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
>>
>> What we should discuss on how we get them upstream since besides the Bluetooth subsystem, they cover ACPI and TTY subsystems.
>>
>> Regards
>>
>> Marcel
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> Hi Marcel,
>
> I've tested these two patches along with the nine patches (plus revert patch) from Hans's series but cannot get bluetooth to work on some of my devices using these two patches as is, specifically on MINIX Z83-4 based PCs.
>
> In order for bluetooth to function on these devices I submitted the patch 'Bluetooth: BCM: Add support for MINIX Z83-4 based devices' as they require the trigger type IRQF_TRIGGER_FALLING. With Hans's new patch series I've had to modify the patch which I've resubmitted as version 2. However when I apply the second patch from Fred's series 'ACPI / scan: Fix enumeration for special UART devices' I have found the bluetooth device (BCM2EA4) is no longer enumerated. Specifically I've found that the removal of the check 'if (ares->data.common_serial_bus.type != ACPI_RESOURCE_SERIAL_TYPE_UART)' causes this failure and if I re-add the 'if' statement then the device is loaded. However a 'btattach' is still required for functioning bluetooth.

It seems normal to me that BCM2EA4 is no more enumerated at ACPI level 
as this is moved to serdev.
When removing 'if (ares->data.common_serial_bus.type != 
ACPI_RESOURCE_SERIAL_TYPE_UART)' you stop the serdev module finding the 
Serial UART information. In this case it will not register the device 
and it will fall back to previous behavior needing to use btattach to 
setup Bluetooth.

Can you share:
- btattach you are currently using,
- dmesg with with dynamic debug enabled for serdev and hci_uart modules 
during boot (with Hans's patches, your MINIX Z83-4 patches and mine 
patches).

Regards,

Fred

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
@ 2017-10-06  8:16         ` Frédéric Danis
  0 siblings, 0 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-06  8:16 UTC (permalink / raw)
  To: Ian W MORRISON, Marcel Holtmann
  Cc: Rob Herring, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

Hi Ian,

Le 06/10/2017 à 09:33, Ian W MORRISON a écrit :
> On 10/6/17 2:21 AM, Marcel Holtmann wrote:
>> Hi Fred,
>>
>>> Add ACPI support for serial attached devices.
>>>
>>> Currently, serial devices are not set as enumerated during ACPI scan for SPI
>>> or i2c buses (but not for UART). This should also be done for UART serial
>>> devices.
>>> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
>>>
>>> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
>>> support to the serdev drv" patches to work.
>>>
>>> Tested on T100TA with Broadcom BCM2E39.
>>>
>>> Since RFC:
>>>   - Add or reword commit messages
>>>   - Rename *serial_slave* to *serial_bus_slave*
>>>   - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>>>     Lukas Wunner
>>>   - Update comment in acpi_default_enumeration()
>>>   - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
>>>     in favor of patches from Hans de Goede
>> I already applied Hans’ patch series to bluetooth-next tree. And I have no objections or comments for these changes. They should be reviewed and acked by the appropriate maintainers as well, but from my side this looks good.
>>
>> Acked-by: Marcel Holtmann <marcel@holtmann.org>
>>
>> What we should discuss on how we get them upstream since besides the Bluetooth subsystem, they cover ACPI and TTY subsystems.
>>
>> Regards
>>
>> Marcel
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> Hi Marcel,
>
> I've tested these two patches along with the nine patches (plus revert patch) from Hans's series but cannot get bluetooth to work on some of my devices using these two patches as is, specifically on MINIX Z83-4 based PCs.
>
> In order for bluetooth to function on these devices I submitted the patch 'Bluetooth: BCM: Add support for MINIX Z83-4 based devices' as they require the trigger type IRQF_TRIGGER_FALLING. With Hans's new patch series I've had to modify the patch which I've resubmitted as version 2. However when I apply the second patch from Fred's series 'ACPI / scan: Fix enumeration for special UART devices' I have found the bluetooth device (BCM2EA4) is no longer enumerated. Specifically I've found that the removal of the check 'if (ares->data.common_serial_bus.type != ACPI_RESOURCE_SERIAL_TYPE_UART)' causes this failure and if I re-add the 'if' statement then the device is loaded. However a 'btattach' is still required for functioning bluetooth.

It seems normal to me that BCM2EA4 is no more enumerated at ACPI level 
as this is moved to serdev.
When removing 'if (ares->data.common_serial_bus.type != 
ACPI_RESOURCE_SERIAL_TYPE_UART)' you stop the serdev module finding the 
Serial UART information. In this case it will not register the device 
and it will fall back to previous behavior needing to use btattach to 
setup Bluetooth.

Can you share:
- btattach you are currently using,
- dmesg with with dynamic debug enabled for serdev and hci_uart modules 
during boot (with Hans's patches, your MINIX Z83-4 patches and mine 
patches).

Regards,

Fred

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-04  8:51     ` Frédéric Danis
@ 2017-10-06 12:33       ` Rob Herring
  -1 siblings, 0 replies; 49+ messages in thread
From: Rob Herring @ 2017-10-06 12:33 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Marcel Holtmann, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede, open list:BLUETOOTH DRIVERS,
	linux-serial, linux-acpi

On Wed, Oct 4, 2017 at 3:51 AM, Frédéric Danis
<frederic.danis.oss@gmail.com> wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
>
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
>
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> ---
>  drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 94 insertions(+), 5 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-06 12:33       ` Rob Herring
  0 siblings, 0 replies; 49+ messages in thread
From: Rob Herring @ 2017-10-06 12:33 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Marcel Holtmann, Sebastian Reichel, Loic Poulain, Johan Hovold,
	Lukas Wunner, Hans de Goede, open list:BLUETOOTH DRIVERS,
	linux-serial, linux-acpi

On Wed, Oct 4, 2017 at 3:51 AM, Fr=C3=A9d=C3=A9ric Danis
<frederic.danis.oss@gmail.com> wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
>
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
>
> Signed-off-by: Fr=C3=A9d=C3=A9ric Danis <frederic.danis.oss@gmail.com>
> ---
>  drivers/tty/serdev/core.c | 99 +++++++++++++++++++++++++++++++++++++++++=
+++---
>  1 file changed, 94 insertions(+), 5 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-06  8:16         ` Frédéric Danis
  (?)
@ 2017-10-06 14:47         ` Ian W MORRISON
  2017-10-06 17:36           ` Frédéric Danis
  -1 siblings, 1 reply; 49+ messages in thread
From: Ian W MORRISON @ 2017-10-06 14:47 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Marcel Holtmann, Rob Herring, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

On 6 October 2017 at 19:16, Frédéric Danis <frederic.danis.oss@gmail.com> wrote:
> Hi Ian,
>
> Le 06/10/2017 à 09:33, Ian W MORRISON a écrit :
>
<snip>
>
> It seems normal to me that BCM2EA4 is no more enumerated at ACPI level as
> this is moved to serdev.
> When removing 'if (ares->data.common_serial_bus.type !=
> ACPI_RESOURCE_SERIAL_TYPE_UART)' you stop the serdev module finding the
> Serial UART information. In this case it will not register the device and it
> will fall back to previous behavior needing to use btattach to setup
> Bluetooth.
>
> Can you share:
> - btattach you are currently using,
> - dmesg with with dynamic debug enabled for serdev and hci_uart modules
> during boot (with Hans's patches, your MINIX Z83-4 patches and mine
> patches).
>
> Regards,
>
> Fred

Hi Fred,

I've attached four (text) files:

1. btattach.txt - Details of the 'bluez' package that contains the
'btattach' I'm using.
2. dmesg.txt - 'dmesg' with with dynamic debug enabled for serdev and
hci_uart modules. This doesn't seem to show much so have I provided
what you wanted?
3. gitlog.txt - First few commits from the git log showing the kernel
patches used to build the kernel (sent just for clarity).
4. working.txt - An extract from 'dmesg' when BCM2EA4 is enumerated
from a kernel patched with the 'if' statement refered to above.

Regards,
Ian

[-- Attachment #2: btattach.txt --]
[-- Type: text/plain, Size: 1642 bytes --]

linuxium@Z83-4:~/dev$ dpkg -S btattach
bluez: /usr/share/man/man1/btattach.1.gz
bluez: /usr/bin/btattach
linuxium@Z83-4:~/dev$ dpkg -s bluez
Package: bluez
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 4227
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 5.43-0ubuntu1
Replaces: bluez-alsa, bluez-audio (<= 3.36-3), bluez-input, bluez-network, bluez-serial, bluez-utils (<= 3.36-3), udev (<< 170-1)
Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.31.8), libreadline7 (>= 6.0), libudev1 (>= 196), init-system-helpers (>= 1.18~), kmod, udev (>= 170-1), lsb-base, dbus
Breaks: udev (<< 170-1)
Conflicts: bluez-alsa, bluez-audio (<= 3.36-3), bluez-utils (<= 3.36-3)
Conffiles:
 /etc/bluetooth/input.conf 9f85017f861ac34d983fa76fa715f9c3
 /etc/bluetooth/main.conf 445fdaa9def1ffaa873df2447ba22004
 /etc/bluetooth/network.conf 0c7497c405b963382ff71789d0730abd
 /etc/bluetooth/proximity.conf b75823a140e00905d41465c380bf89fe
 /etc/dbus-1/system.d/bluetooth.conf 2fd2de572a1221533e707d058e64e33a
 /etc/init.d/bluetooth 33ed7811d65a775cf10f04c2e6ee3cbf
 /etc/init/bluetooth.conf c7e11afe4581c8829a79a5ac8aa558b5
Description: Bluetooth tools and daemons
 This package contains tools and system daemons for using Bluetooth devices.
 .
 BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source
 project distributed under GNU General Public License (GPL).
Homepage: http://www.bluez.org
Original-Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>
linuxium@Z83-4:~/dev$

[-- Attachment #3: dmesg.txt --]
[-- Type: text/plain, Size: 120717 bytes --]

[    0.000000] Linux version 4.14.0-rc3-patched (root@LINUXIUMONE) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)) #1 SMP Fri Oct 6 21:05:26 AEDT 2017
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-rc3-patched root=UUID=c7c12b6b-a3b2-477c-af2f-717dd2779386 ro ignore_loglevel "dyndbg=module hci_uart +p; module serdev +p" hci_uart.dyndbg=+p serdev.dyndbg=+p
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000007365bfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007365c000-0x000000007368bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007368c000-0x00000000736b8fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000736b9000-0x000000007377dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007377e000-0x0000000073a3bfff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000073a3c000-0x0000000073a8bfff] type 20
[    0.000000] BIOS-e820: [mem 0x0000000073a8c000-0x0000000073ffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e3ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fea00000-0x00000000feafffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed03000-0x00000000fed03fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed06000-0x00000000fed06fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed09fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1cfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fedbffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by American Megatrends
[    0.000000] efi:  ESRT=0x7368a000  ACPI=0x73695000  ACPI 2.0=0x73695000  SMBIOS=0x7393d000  SMBIOS 3.0=0x7393c000 
[    0.000000] random: fast init done
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: MINIX NEO Z83-4/NEO Z83-4, BIOS CHT0A120 09/27/2016
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x180000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask F80000000 write-back
[    0.000000]   1 base 078000000 mask FF8000000 uncachable
[    0.000000]   2 base 077000000 mask FFF000000 uncachable
[    0.000000]   3 base 076800000 mask FFF800000 uncachable
[    0.000000]   4 base 100000000 mask F80000000 write-back
[    0.000000]   5 base 076400000 mask FFFC00000 uncachable
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] total RAM covered: 3940M
[    0.000000] Found optimal setting for mtrr clean up
[    0.000000]  gran_size: 64K 	chunk_size: 256M 	num_reg: 6  	lose cover RAM: 0G
[    0.000000] e820: update [mem 0x76400000-0xffffffff] usable ==> reserved
[    0.000000] e820: last_pfn = 0x74000 max_arch_pfn = 0x400000000
[    0.000000] esrt: ESRT header is not in the memory map.
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [ffff9e68c0098000] 98000 size 24576
[    0.000000] BRK [0x142f25000, 0x142f25fff] PGTABLE
[    0.000000] BRK [0x142f26000, 0x142f26fff] PGTABLE
[    0.000000] BRK [0x142f27000, 0x142f27fff] PGTABLE
[    0.000000] BRK [0x142f28000, 0x142f28fff] PGTABLE
[    0.000000] BRK [0x142f29000, 0x142f29fff] PGTABLE
[    0.000000] BRK [0x142f2a000, 0x142f2afff] PGTABLE
[    0.000000] BRK [0x142f2b000, 0x142f2bfff] PGTABLE
[    0.000000] BRK [0x142f2c000, 0x142f2cfff] PGTABLE
[    0.000000] Secure boot could not be determined
[    0.000000] RAMDISK: [mem 0x32a9b000-0x35544fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000073695000 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x00000000736950A8 0000CC (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x00000000736B2B28 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 0x0000000073695200 01D923 (v02 ALASKA A M I    01072009 INTL 20120913)
[    0.000000] ACPI: FACS 0x000000007377DF80 000040
[    0.000000] ACPI: APIC 0x00000000736B2C38 000084 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x00000000736B2CC0 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FIDT 0x00000000736B2D08 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: MSDM 0x00000000736B2DA8 000055 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: MCFG 0x00000000736B2E00 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.000000] ACPI: SSDT 0x00000000736B2E40 004174 (v01 DptfTb DptfTab  00001000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B6FB8 000654 (v01 CpuDpf CpuDptf  00001000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B7610 000058 (v01 LowPM  LowPwrM  00001000 INTL 20120913)
[    0.000000] ACPI: UEFI 0x00000000736B7668 000042 (v01 ALASKA A M I    00000000      00000000)
[    0.000000] ACPI: SSDT 0x00000000736B76B0 000269 (v01 UsbCTb UsbCTab  00001000 INTL 20120913)
[    0.000000] ACPI: HPET 0x00000000736B7920 000038 (v01 ALASKA A M I    01072009 AMI. 00000005)
[    0.000000] ACPI: SSDT 0x00000000736B7958 000763 (v01 PmRef  CpuPm    00003000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B80C0 000290 (v01 PmRef  Cpu0Tst  00003000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B8350 00017A (v01 PmRef  ApTst    00003000 INTL 20120913)
[    0.000000] ACPI: LPIT 0x00000000736B84D0 000104 (v01 ALASKA A M I    00000005 MSFT 0100000D)
[    0.000000] ACPI: BCFG 0x00000000736B85D8 000139 (v01 INTEL  BATTCONF 00000001 ACPI 00000000)
[    0.000000] ACPI: PRAM 0x00000000736B8718 000030 (v01                 00000001      00000000)
[    0.000000] ACPI: BGRT 0x00000000736B8748 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: CSRT 0x00000000736B8780 00014C (v00 INTEL  LANFORDC 00000005 MSFT 0100000D)
[    0.000000] ACPI: WDAT 0x00000000736B88D0 000104 (v01                 00000000      00000000)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000017fffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x17ffd4000-0x17fffefff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000008efff]
[    0.000000]   node   0: [mem 0x0000000000090000-0x000000000009dfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020200000-0x000000007365bfff]
[    0.000000]   node   0: [mem 0x0000000073a8c000-0x0000000073ffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000017fffffff]
[    0.000000] On node 0 totalpages: 997740
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 22 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 7336 pages used for memmap
[    0.000000]   DMA32 zone: 469456 pages, LIFO batch:31
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics memory at 0x0000000076f00000-0x000000007eefffff
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-114
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7365c000-0x7368bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7368c000-0x736b8fff]
[    0.000000] PM: Registered nosave memory: [mem 0x736b9000-0x7377dfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7377e000-0x73a3bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x73a3c000-0x73a8bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x74000000-0x76efffff]
[    0.000000] PM: Registered nosave memory: [mem 0x76f00000-0x7eefffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7ef00000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xe3ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe4000000-0xfe9fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfea00000-0xfeafffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfeb00000-0xfebfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed01fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed02000-0xfed02fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed03000-0xfed03fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed04000-0xfed05fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed06000-0xfed06fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed07000-0xfed07fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed09fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed0a000-0xfed1bfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1cfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1d000-0xfed7ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfedbffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedc0000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffbfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xffc00000-0xffffffff]
[    0.000000] e820: [mem 0x7ef00000-0xdfffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 39 pages/cpu @ffff9e6a3fc00000 s119832 r8192 d31720 u524288
[    0.000000] pcpu-alloc: s119832 r8192 d31720 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 982126
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-rc3-patched root=UUID=c7c12b6b-a3b2-477c-af2f-717dd2779386 ro ignore_loglevel "dyndbg=module hci_uart +p; module serdev +p" hci_uart.dyndbg=+p serdev.dyndbg=+p
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 3745060K/3990960K available (9499K kernel code, 2477K rwdata, 4020K rodata, 2328K init, 2388K bss, 245900K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38067 entries in 149 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 524544, nr_irqs: 1024, preallocated irqs: 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Detected 1440.000 MHz processor
[    0.000019] Calibrating delay loop (skipped), value calculated using timer frequency.. 2880.00 BogoMIPS (lpj=5760000)
[    0.000035] pid_max: default: 32768 minimum: 301
[    0.000075] ACPI: Core revision 20170728
[    0.044736] ACPI: 8 ACPI AML tables successfully acquired and loaded
[    0.045596] Security Framework initialized
[    0.045608] Yama: becoming mindful.
[    0.045655] AppArmor: AppArmor initialized
[    0.047675] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.048726] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.048827] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.048870] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.049417] CPU: Physical Processor ID: 0
[    0.049429] CPU: Processor Core ID: 0
[    0.049442] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.049449] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.049471] mce: CPU supports 6 MCE banks
[    0.049490] CPU0: Thermal monitoring enabled (TM1)
[    0.049504] process: using mwait in idle threads
[    0.049517] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.049525] Last level dTLB entries: 4KB 256, 2MB 16, 4MB 16, 1GB 0
[    0.049842] Freeing SMP alternatives memory: 36K
[    0.057246] smpboot: Max logical packages: 1
[    0.058949] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.098668] TSC deadline timer enabled
[    0.098681] smpboot: CPU0: Intel(R) Atom(TM) x5-Z8300  CPU @ 1.44GHz (family: 0x6, model: 0x4c, stepping: 0x3)
[    0.098932] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver.
[    0.098973] ... version:                3
[    0.098979] ... bit width:              40
[    0.098985] ... generic registers:      2
[    0.098990] ... value mask:             000000ffffffffff
[    0.098996] ... max period:             0000007fffffffff
[    0.099001] ... fixed-purpose events:   3
[    0.099006] ... event mask:             0000000700000003
[    0.099119] Hierarchical SRCU implementation.
[    0.100000] smp: Bringing up secondary CPUs ...
[    0.100000] x86: Booting SMP configuration:
[    0.100000] .... node  #0, CPUs:      #1
[    0.176182] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.176564]  #2 #3
[    0.336072] smp: Brought up 1 node, 4 CPUs
[    0.336072] smpboot: Total of 4 processors activated (11530.22 BogoMIPS)
[    0.337733] devtmpfs: initialized
[    0.337733] x86/mm: Memory block size: 128MB
[    0.337733] evm: security.selinux
[    0.337733] evm: security.SMACK64
[    0.337733] evm: security.SMACK64EXEC
[    0.337733] evm: security.SMACK64TRANSMUTE
[    0.337733] evm: security.SMACK64MMAP
[    0.337733] evm: security.ima
[    0.337733] evm: security.capability
[    0.337733] PM: Registering ACPI NVS region [mem 0x0008f000-0x0008ffff] (4096 bytes)
[    0.337733] PM: Registering ACPI NVS region [mem 0x736b9000-0x7377dfff] (806912 bytes)
[    0.337733] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.340043] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.340232] pinctrl core: initialized pinctrl subsystem
[    0.340520] RTC time: 13:46:08, date: 10/06/17
[    0.340780] NET: Registered protocol family 16
[    0.341374] cpuidle: using governor ladder
[    0.341374] cpuidle: using governor menu
[    0.341374] ACPI: bus type PCI registered
[    0.341374] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.341374] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.341374] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.341374] PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) (size reduced!)
[    0.341374] PCI: Using configuration type 1 for base access
[    0.345409] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.345409] ACPI: Added _OSI(Module Device)
[    0.345409] ACPI: Added _OSI(Processor Device)
[    0.345409] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.345409] ACPI: Added _OSI(Processor Aggregator Device)
[    0.383124] ACPI: Dynamic OEM Table Load:
[    0.383154] ACPI: SSDT 0xFFFF9E6A3A8E7800 00057B (v01 PmRef  Cpu0Ist  00003000 INTL 20120913)
[    0.383858] ACPI: Dynamic OEM Table Load:
[    0.383878] ACPI: SSDT 0xFFFF9E6A3AB36400 0003A5 (v01 PmRef  Cpu0Cst  00003001 INTL 20120913)
[    0.385101] ACPI: Dynamic OEM Table Load:
[    0.385120] ACPI: SSDT 0xFFFF9E6A3AB30400 00015F (v01 PmRef  ApIst    00003000 INTL 20120913)
[    0.385728] ACPI: Dynamic OEM Table Load:
[    0.385746] ACPI: SSDT 0xFFFF9E6A3AB9D6C0 00008D (v01 PmRef  ApCst    00003000 INTL 20120913)
[    0.390453] ACPI: Interpreter enabled
[    0.390513] ACPI: (supports S0 S4 S5)
[    0.390522] ACPI: Using IOAPIC for interrupt routing
[    0.390620] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.393814] ACPI: Power Resource [P06X] (off)
[    0.396116] ACPI: Power Resource [ID3C] (off)
[    0.399218] ACPI: Power Resource [USBC] (on)
[    0.400514] ACPI: Power Resource [WWPR] (off)
[    0.401812] ACPI: Power Resource [WWPR] (off)
[    0.402636] ACPI: Power Resource [WWPR] (off)
[    0.403484] ACPI: Power Resource [WWPR] (off)
[    0.404408] ACPI: Power Resource [WWPR] (off)
[    0.419349] ACPI: Power Resource [CLK2] (on)
[    0.419480] ACPI: Power Resource [CLK4] (on)
[    0.419598] ACPI: Power Resource [P28P] (off)
[    0.419718] ACPI: Power Resource [P18P] (off)
[    0.419841] ACPI: Power Resource [P12P] (off)
[    0.419956] ACPI: Power Resource [P16P] (off)
[    0.424461] ACPI: Power Resource [CLK3] (on)
[    0.424590] ACPI: Power Resource [CLK4] (on)
[    0.440973] ACPI: Power Resource [CLK2] (on)
[    0.441096] ACPI: Power Resource [CLK1] (on)
[    0.443996] ACPI: Power Resource [CLK0] (on)
[    0.444129] ACPI: Power Resource [CLK1] (on)
[    0.446049] ACPI: Power Resource [CLK5] (off)
[    0.446962] ACPI: Power Resource [P33P] (off)
[    0.447084] ACPI: Power Resource [P65P] (off)
[    0.464938] ACPI: Power Resource [P28X] (off)
[    0.465065] ACPI: Power Resource [P18X] (off)
[    0.465187] ACPI: Power Resource [P12X] (off)
[    0.465307] ACPI: Power Resource [P28P] (off)
[    0.465427] ACPI: Power Resource [P18P] (off)
[    0.465549] ACPI: Power Resource [P12P] (off)
[    0.465666] ACPI: Power Resource [P19X] (off)
[    0.465799] ACPI: Power Resource [P12A] (off)
[    0.465925] ACPI: Power Resource [P28T] (off)
[    0.466044] ACPI: Power Resource [P18D] (off)
[    0.466165] ACPI: Power Resource [P18T] (off)
[    0.466286] ACPI: Power Resource [P3P3] (off)
[    0.466405] ACPI: Power Resource [P12T] (off)
[    0.466528] ACPI: Power Resource [P28W] (off)
[    0.466651] ACPI: Power Resource [P18W] (off)
[    0.466778] ACPI: Power Resource [P12W] (off)
[    0.466900] ACPI: Power Resource [P33W] (off)
[    0.467019] ACPI: Power Resource [P33X] (off)
[    0.467139] ACPI: Power Resource [P4BW] (off)
[    0.476109] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.476133] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.476731] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[    0.476774] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.478224] PCI host bridge to bus 0000:00
[    0.478237] pci_bus 0000:00: root bus resource [io  0x0070-0x0077]
[    0.478247] pci_bus 0000:00: root bus resource [io  0x0000-0x006f window]
[    0.478255] pci_bus 0000:00: root bus resource [io  0x0078-0x0cf7 window]
[    0.478264] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.478273] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.478282] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.478292] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000fffff window]
[    0.478301] pci_bus 0000:00: root bus resource [mem 0x20000000-0x201fffff window]
[    0.478311] pci_bus 0000:00: root bus resource [mem 0x76f00001-0x7ef00000 window]
[    0.478320] pci_bus 0000:00: root bus resource [mem 0x80000000-0xdfffffff window]
[    0.478331] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.478356] pci 0000:00:00.0: [8086:2280] type 00 class 0x060000
[    0.479010] pci 0000:00:02.0: [8086:22b0] type 00 class 0x030000
[    0.479051] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x90ffffff 64bit]
[    0.479074] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref]
[    0.479091] pci 0000:00:02.0: reg 0x20: [io  0xf000-0xf03f]
[    0.479129] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.479516] pci 0000:00:14.0: [8086:22b5] type 00 class 0x0c0330
[    0.479564] pci 0000:00:14.0: reg 0x10: [mem 0x91500000-0x9150ffff 64bit]
[    0.479680] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.480072] pci 0000:00:1a.0: [8086:2298] type 00 class 0x108000
[    0.480109] pci 0000:00:1a.0: reg 0x10: [mem 0x91300000-0x913fffff]
[    0.480128] pci 0000:00:1a.0: reg 0x14: [mem 0x91200000-0x912fffff]
[    0.480238] pci 0000:00:1a.0: PME# supported from D0 D3hot
[    0.480637] pci 0000:00:1c.0: [8086:22c8] type 01 class 0x060400
[    0.480781] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.481147] pci 0000:00:1f.0: [8086:229c] type 00 class 0x060100
[    0.481740] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    0.481788] pci 0000:01:00.0: reg 0x10: [io  0xe000-0xe0ff]
[    0.481834] pci 0000:01:00.0: reg 0x18: [mem 0x91404000-0x91404fff 64bit]
[    0.481865] pci 0000:01:00.0: reg 0x20: [mem 0x91400000-0x91403fff 64bit pref]
[    0.482012] pci 0000:01:00.0: supports D1 D2
[    0.482020] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.492049] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.492062] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.492074] pci 0000:00:1c.0:   bridge window [mem 0x91400000-0x914fffff]
[    0.493507] ACPI: \: failed to evaluate _DSM (0x1001)
[    0.496074] acpi 80862288:00: Device [PWM1] is in always present list
[    0.504792] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.504991] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505181] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505380] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505570] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505764] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505959] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.506150] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.506554] acpi INT0002:00: Device [GPED] is in always present list
[    0.514173] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.514173] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.514173] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.514173] vgaarb: loaded
[    0.514173] SCSI subsystem initialized
[    0.514173] libata version 3.00 loaded.
[    0.514173] ACPI: bus type USB registered
[    0.514173] usbcore: registered new interface driver usbfs
[    0.514173] usbcore: registered new interface driver hub
[    0.514173] usbcore: registered new device driver usb
[    0.651640] EDAC MC: Ver: 3.0.0
[    0.652043] Registered efivars operations
[    0.654220] PCI: Using ACPI for IRQ routing
[    0.657054] PCI: pci_cache_line_size set to 64 bytes
[    0.657108] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    0.657119] e820: reserve RAM buffer [mem 0x0008f000-0x0008ffff]
[    0.657128] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.657136] e820: reserve RAM buffer [mem 0x7365c000-0x73ffffff]
[    0.657378] NetLabel: Initializing
[    0.657386] NetLabel:  domain hash size = 128
[    0.657391] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.657431] NetLabel:  unlabeled traffic allowed by default
[    0.657494] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.657494] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[    0.660026] clocksource: Switched to clocksource hpet
[    0.689893] VFS: Disk quotas dquot_6.6.0
[    0.689957] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.690227] AppArmor: AppArmor Filesystem Enabled
[    0.690333] pnp: PnP ACPI init
[    0.690675] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.690689] system 00:00: [io  0x0400-0x047f] could not be reserved
[    0.690698] system 00:00: [io  0x0500-0x05fe] has been reserved
[    0.690720] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.690939] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.697572] system 00:02: [mem 0x91533000-0x91533fff] has been reserved
[    0.697585] system 00:02: [mem 0x91531000-0x91531fff] has been reserved
[    0.697595] system 00:02: [mem 0x9152f000-0x9152ffff] has been reserved
[    0.697604] system 00:02: [mem 0x9151e000-0x9151efff] has been reserved
[    0.697613] system 00:02: [mem 0x9151c000-0x9151cfff] has been reserved
[    0.697622] system 00:02: [mem 0x9151a000-0x9151afff] has been reserved
[    0.697631] system 00:02: [mem 0x91518000-0x91518fff] has been reserved
[    0.697640] system 00:02: [mem 0x9152d000-0x9152dfff] has been reserved
[    0.697649] system 00:02: [mem 0x9152b000-0x9152bfff] has been reserved
[    0.697658] system 00:02: [mem 0x91529000-0x91529fff] has been reserved
[    0.697667] system 00:02: [mem 0x91527000-0x91527fff] has been reserved
[    0.697676] system 00:02: [mem 0x91525000-0x91525fff] has been reserved
[    0.697685] system 00:02: [mem 0x91523000-0x91523fff] has been reserved
[    0.697694] system 00:02: [mem 0x91521000-0x91521fff] has been reserved
[    0.697703] system 00:02: [mem 0x9151f000-0x9151ffff] has been reserved
[    0.697723] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.697989] system 00:03: [mem 0xe0000000-0xefffffff] could not be reserved
[    0.698000] system 00:03: [mem 0xfea00000-0xfeafffff] has been reserved
[    0.698010] system 00:03: [mem 0xfed01000-0xfed01fff] has been reserved
[    0.698019] system 00:03: [mem 0xfed03000-0xfed03fff] has been reserved
[    0.698028] system 00:03: [mem 0xfed06000-0xfed06fff] has been reserved
[    0.698037] system 00:03: [mem 0xfed08000-0xfed09fff] has been reserved
[    0.698046] system 00:03: [mem 0xfed80000-0xfedbffff] could not be reserved
[    0.698056] system 00:03: [mem 0xfed1c000-0xfed1cfff] has been reserved
[    0.698065] system 00:03: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.698083] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.698525] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.700166] pnp: PnP ACPI: found 5 devices
[    0.711027] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.711077] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.711092] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.711107] pci 0000:00:1c.0:   bridge window [mem 0x91400000-0x914fffff]
[    0.711127] pci_bus 0000:00: resource 4 [io  0x0070-0x0077]
[    0.711137] pci_bus 0000:00: resource 5 [io  0x0000-0x006f window]
[    0.711146] pci_bus 0000:00: resource 6 [io  0x0078-0x0cf7 window]
[    0.711154] pci_bus 0000:00: resource 7 [io  0x0d00-0xffff window]
[    0.711164] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[    0.711172] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[    0.711181] pci_bus 0000:00: resource 10 [mem 0x000e0000-0x000fffff window]
[    0.711190] pci_bus 0000:00: resource 11 [mem 0x20000000-0x201fffff window]
[    0.711198] pci_bus 0000:00: resource 12 [mem 0x76f00001-0x7ef00000 window]
[    0.711207] pci_bus 0000:00: resource 13 [mem 0x80000000-0xdfffffff window]
[    0.711216] pci_bus 0000:01: resource 0 [io  0xe000-0xefff]
[    0.711224] pci_bus 0000:01: resource 1 [mem 0x91400000-0x914fffff]
[    0.711740] NET: Registered protocol family 2
[    0.712230] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.712432] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.712652] TCP: Hash tables configured (established 32768 bind 32768)
[    0.712784] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.712847] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.713023] NET: Registered protocol family 1
[    0.713073] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.713617] PCI: CLS 64 bytes, default 64
[    0.713750] Unpacking initramfs...
[    2.342629] Freeing initrd memory: 43688K
[    2.342705] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    2.342718] software IO TLB [mem 0x6c724000-0x70724000] (64MB) mapped at [ffff9e692c724000-ffff9e6930723fff]
[    2.342869] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x14c1baf3789, max_idle_ns: 440795266465 ns
[    2.342926] clocksource: Switched to clocksource tsc
[    2.343153] Scanning for low memory corruption every 60 seconds
[    2.343994] audit: initializing netlink subsys (disabled)
[    2.344138] audit: type=2000 audit(1507297570.342:1): state=initialized audit_enabled=0 res=1
[    2.344861] Initialise system trusted keyrings
[    2.344891] Key type blacklist registered
[    2.344978] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    2.348529] zbud: loaded
[    2.349665] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.350086] fuse init (API version 7.26)
[    2.353713] Key type asymmetric registered
[    2.353724] Asymmetric key parser 'x509' registered
[    2.353823] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.353935] io scheduler noop registered
[    2.353943] io scheduler deadline registered
[    2.354089] io scheduler cfq registered (default)
[    2.354968] pcieport 0000:00:1c.0: Signaling PME with IRQ 116
[    2.355177] efifb: probing for efifb
[    2.355225] efifb: framebuffer at 0x80000000, using 8128k, total 8128k
[    2.355234] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    2.355240] efifb: scrolling: redraw
[    2.355247] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    2.373013] Console: switching to colour frame buffer device 240x67
[    2.390543] fb0: EFI VGA frame buffer device
[    2.390631] intel_idle: MWAIT substates: 0x33000020
[    2.390703] intel_idle: v0.4.1 model 0x4C
[    2.391151] intel_idle: lapic_timer_reliable_states 0xffffffff
[    2.391318] ACPI: AC: found native INT33F4 PMIC, not loading
[    2.391547] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    2.391686] ACPI: Power Button [PWRB]
[    2.391862] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    2.392029] ACPI: Power Button [PWRF]
[    2.397013] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.397339] thermal LNXTHERM:00: registered as thermal_zone0
[    2.397422] ACPI: Thermal Zone [TZ00] (0 C)
[    2.397827] ACPI: Battery: found native INT33F4 PMIC, not loading
[    2.397962] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    2.418577] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.425163] Linux agpgart interface v0.103
[    2.430560] loop: module loaded
[    2.431164] libphy: Fixed MDIO Bus: probed
[    2.431229] tun: Universal TUN/TAP device driver, 1.6
[    2.431392] PPP generic driver version 2.4.2
[    2.431640] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.431739] ehci-pci: EHCI PCI platform driver
[    2.431832] ehci-platform: EHCI generic platform driver
[    2.431957] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.432066] ohci-pci: OHCI PCI platform driver
[    2.432159] ohci-platform: OHCI generic platform driver
[    2.432255] uhci_hcd: USB Universal Host Controller Interface driver
[    2.432737] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.432829] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    2.434112] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x01509810
[    2.434240] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.434558] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.434659] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.434759] usb usb1: Product: xHCI Host Controller
[    2.434830] usb usb1: Manufacturer: Linux 4.14.0-rc3-patched xhci-hcd
[    2.434919] usb usb1: SerialNumber: 0000:00:14.0
[    2.435402] hub 1-0:1.0: USB hub found
[    2.435493] hub 1-0:1.0: 7 ports detected
[    2.436743] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.436835] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    2.437042] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.437140] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.441333] usb usb2: Product: xHCI Host Controller
[    2.445497] usb usb2: Manufacturer: Linux 4.14.0-rc3-patched xhci-hcd
[    2.449673] usb usb2: SerialNumber: 0000:00:14.0
[    2.454397] hub 2-0:1.0: USB hub found
[    2.458518] hub 2-0:1.0: 6 ports detected
[    2.464034] i8042: PNP: No PS/2 controller found.
[    2.468779] mousedev: PS/2 mouse device common for all mice
[    2.474825] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[    2.478973] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    2.483105] i2c /dev entries driver
[    2.488281] device-mapper: uevent: version 1.0.3
[    2.492807] device-mapper: ioctl: 4.36.0-ioctl (2017-06-09) initialised: dm-devel@redhat.com
[    2.496983] intel_pstate: Intel P-state driver initializing
[    2.502546] ledtrig-cpu: registered to indicate activity on CPUs
[    2.505813] EFI Variables Facility v0.08 2004-May-17
[    2.513333] NET: Registered protocol family 10
[    2.528253] Segment Routing with IPv6
[    2.531555] NET: Registered protocol family 17
[    2.535230] Key type dns_resolver registered
[    2.539924] RAS: Correctable Errors collector initialized.
[    2.543262] microcode: sig=0x406c3, pf=0x1, revision=0x364
[    2.547113] microcode: Microcode Update Driver: v2.2.
[    2.547135] sched_clock: Marking stable (2547101110, 0)->(2550462926, -3361816)
[    2.555524] registered taskstats version 1
[    2.559189] Loading compiled-in X.509 certificates
[    2.569950] Loaded X.509 cert 'Build time autogenerated kernel key: aeb94ce5c5df350f82fa033ec49163d36462a966'
[    2.573385] zswap: loaded using pool lzo/zbud
[    2.587566] Key type big_key registered
[    2.591389] Key type trusted registered
[    2.600916] Key type encrypted registered
[    2.604214] AppArmor: AppArmor sha1 policy hashing enabled
[    2.607651] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.610975] evm: HMAC attrs: 0x1
[    2.631120] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[    2.644361]   Magic number: 5:90:786
[    2.648032] rtc_cmos 00:04: setting system clock to 2017-10-06 13:46:10 UTC (1507297570)
[    2.651771] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    2.655316] EDD information not available.
[    2.673366] Freeing unused kernel memory: 2328K
[    2.676529] Write protecting the kernel read-only data: 14336k
[    2.681396] Freeing unused kernel memory: 732K
[    2.685922] Freeing unused kernel memory: 76K
[    2.710041] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.776187] usb 1-2: new low-speed USB device number 2 using xhci_hcd
[    2.871892] sdhci: Secure Digital Host Controller Interface driver
[    2.875630] sdhci: Copyright(c) Pierre Ossman
[    2.904738] mmc0: SDHCI controller on ACPI [80860F14:00] using ADMA
[    2.928756] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.932859] mmc1: SDHCI controller on ACPI [80860F14:01] using ADMA
[    2.937706] usb 1-2: New USB device found, idVendor=046d, idProduct=c31c
[    2.941391] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.945132] usb 1-2: Product: USB Keyboard
[    2.945267] r8169 0000:01:00.0 eth0: RTL8168g/8111g at 0xffffbc7ac0791000, a0:1e:0b:04:76:bf, XID 0c000800 IRQ 118
[    2.945271] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    2.956449] usb 1-2: Manufacturer: Logitech
[    2.961943] mmc2: SDHCI controller on ACPI [80860F14:02] using ADMA
[    3.006734] mmc0: new HS200 MMC card at address 0001
[    3.014604] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.015270] r8169 0000:01:00.0 enp1s0: renamed from eth0
[    3.023805] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.023807] mmcblk0: mmc0:0001 BGND3R 29.1 GiB 
[    3.024072] mmcblk0boot0: mmc0:0001 BGND3R partition 1 4.00 MiB
[    3.024254] mmcblk0boot1: mmc0:0001 BGND3R partition 2 4.00 MiB
[    3.024432] mmcblk0rpmb: mmc0:0001 BGND3R partition 3 4.00 MiB
[    3.026501]  mmcblk0: p1 p2 p3 p4 p5
[    3.048126] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.054799] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.055076] [drm] Memory usable by graphics device = 2048M
[    3.055081] checking generic (80000000 7f0000) vs hw (80000000 10000000)
[    3.055083] fb: switching to inteldrmfb from EFI VGA
[    3.070190] Console: switching to colour dummy device 80x25
[    3.070453] [drm] Replacing VGA console driver
[    3.070885] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.070894] [drm] Driver supports precise vblank timestamp query.
[    3.077041] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.087201] [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
[    3.087992] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.091136] acpi device:01: registered as cooling_device4
[    3.092063] usb 1-3: new high-speed USB device number 3 using xhci_hcd
[    3.092072] acpi device:02: registered as cooling_device5
[    3.092955] acpi device:03: registered as cooling_device6
[    3.093801] acpi device:04: registered as cooling_device7
[    3.094623] acpi device:05: registered as cooling_device8
[    3.095544] acpi device:06: registered as cooling_device9
[    3.096457] acpi device:07: registered as cooling_device10
[    3.097292] acpi device:08: registered as cooling_device11
[    3.097470] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2
[    3.097823] [drm] HDaudio controller not detected, using LPE audio instead

[    3.162995] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[    3.241735] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[    3.241753] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.241762] usb 1-3: Product: USB 2.0 Hub
[    3.243842] hub 1-3:1.0: USB hub found
[    3.244126] hub 1-3:1.0: 4 ports detected
[    3.372676] usb 1-4: new full-speed USB device number 4 using xhci_hcd
[    3.523176] usb 1-4: New USB device found, idVendor=1532, idProduct=0016
[    3.523191] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.523199] usb 1-4: Product: Razer DeathAdder
[    3.523206] usb 1-4: Manufacturer: Razer
[    3.534342] hidraw: raw HID events driver (C) Jiri Kosina
[    3.549906] usbcore: registered new interface driver usbhid
[    3.549919] usbhid: USB HID core driver
[    3.554636] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C31C.0001/input/input3
[    3.613225] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:14.0-2/input0
[    3.613650] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C31C.0002/input/input4
[    3.620126] usb 1-3.1: new full-speed USB device number 5 using xhci_hcd
[    3.673522] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:14.0-2/input1
[    3.673891] input: Razer Razer DeathAdder as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1532:0016.0003/input/input5
[    3.674977] hid-generic 0003:1532:0016.0003: input,hidraw2: USB HID v1.11 Mouse [Razer Razer DeathAdder] on usb-0000:00:14.0-4/input0
[    3.747817] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[    3.747836] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.747847] usb 1-3.1: Product: USB Receiver
[    3.747854] usb 1-3.1: Manufacturer: Logitech
[    3.823331] fbcon: inteldrmfb (fb0) is primary device
[    3.840043] usb 1-3.2: new low-speed USB device number 6 using xhci_hcd
[    3.972657] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[    3.972669] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.972678] usb 1-3.2: Product: 4 Port KVMSwicther
[    3.972686] usb 1-3.2: Manufacturer: No brand
[    3.972697] usb 1-3.2: SerialNumber: 1ô²
[    3.983373] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0007/input/input6
[    4.041692] hid-generic 0003:10D5:55A4.0007: input,hidraw3: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[    4.042902] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[    4.051080] logitech-djreceiver 0003:046D:C52B.0006: hiddev0,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[    4.182710] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0006/0003:046D:101A.0008/input/input7
[    4.184875] logitech-hidpp-device 0003:046D:101A.0008: input,hidraw5: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[    4.191592] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0006/0003:046D:2010.0009/input/input8
[    4.192334] logitech-hidpp-device 0003:046D:2010.0009: input,hidraw6: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[    4.235824] Console: switching to colour frame buffer device 240x67
[    4.268082] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    4.389949] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    4.683111] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.701667] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    4.702286] systemd[1]: Detected architecture x86-64.
[    4.703399] systemd[1]: Set hostname to <Z83-4>.
[    4.858506] systemd[1]: Listening on udev Kernel Socket.
[    4.859118] systemd[1]: Reached target User and Group Name Lookups.
[    4.859649] systemd[1]: Listening on Journal Audit Socket.
[    4.860117] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.870780] systemd[1]: Reached target Remote File Systems.
[    4.881523] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.892702] systemd[1]: Created slice System Slice.
[    4.985348] lp: driver loaded but no devices found
[    4.992115] ppdev: user-space parallel port driver
[    5.305809] EXT4-fs (mmcblk0p5): re-mounted. Opts: errors=remount-ro
[    5.361673] systemd-journald[250]: Received request to flush runtime journal from PID 1
[    5.478565] Adding 490328k swap on /swapfile.  Priority:-2 extents:2 across:498520k SSFS
[    5.724468] 8086228A:00: ttyS4 at MMIO 0x9151b000 (irq = 39, base_baud = 2764800) is a 16550A
[    5.742510] 8086228A:01: ttyS5 at MMIO 0x91519000 (irq = 40, base_baud = 2764800) is a 16550A
[    5.871934] Bluetooth: Core ver 2.22
[    5.885727] NET: Registered protocol family 31
[    5.889354] Bluetooth: HCI device and connection manager initialized
[    5.894168] axp20x-i2c i2c-INT33F4:00: AXP20x variant AXP288 found
[    5.902075] nfc: nfc_init: NFC Core ver 0.1
[    5.910814] NET: Registered protocol family 39
[    5.912476] Bluetooth: HCI socket layer initialized
[    5.912482] Bluetooth: L2CAP socket layer initialized
[    5.912501] Bluetooth: SCO socket layer initialized
[    5.924117] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[    5.934497] RTL8723BS: module init start
[    5.938095] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[    5.941694] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[    5.948326] RTL8723BS: module init ret =0
[    5.982845] Bluetooth: HCI UART driver ver 2.3
[    5.984493] dw_dmac INTL9C60:00: DesignWare DMA Controller, 8 channels
[    5.990191] Bluetooth: HCI UART protocol H4 registered
[    5.993826] Bluetooth: HCI UART protocol BCSP registered
[    5.997560] Bluetooth: HCI UART protocol LL registered
[    5.998077] axp20x-i2c i2c-INT33F4:00: AXP20X driver loaded
[    6.004659] Bluetooth: HCI UART protocol ATH3K registered
[    6.008176] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.011891] Bluetooth: HCI UART protocol Intel registered
[    6.015539] Bluetooth: HCI UART protocol Broadcom registered
[    6.018941] Bluetooth: HCI UART protocol QCA registered
[    6.022328] Bluetooth: HCI UART protocol AG6XX registered
[    6.024464] dw_dmac INTL9C60:01: DesignWare DMA Controller, 8 channels
[    6.025858] input: Intel HID events as /devices/pci0000:00/INT33D5:00/input/input9
[    6.032555] Bluetooth: HCI UART protocol Marvell registered
[    6.108221] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    6.215292] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input10
[    6.224050] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input11
[    6.224435] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input12
[    6.357060] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    6.395399] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
[    6.397247] intel_sst_acpi 808622A8:00: LPE base: 0x91000000 size:0x200000
[    6.397250] intel_sst_acpi 808622A8:00: IRAM base: 0x910c0000
[    6.397312] intel_sst_acpi 808622A8:00: DRAM base: 0x91100000
[    6.397324] intel_sst_acpi 808622A8:00: SHIM base: 0x91140000
[    6.397334] intel_sst_acpi 808622A8:00: Mailbox base: 0x91144000
[    6.397341] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
[    6.397465] intel_sst_acpi 808622A8:00: Got drv data max stream 25
[    6.424435] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
[    6.438829] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    6.443929] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.449073] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.455310] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    6.571046] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    6.577280] usbcore: registered new interface driver brcmfmac
[    6.613149] SSE version of gcm_enc/dec engaged.
[    6.678235] random: crng init done
[    7.185638] intel_rapl: Found RAPL domain package
[    7.185641] intel_rapl: Found RAPL domain core
[    7.190436] input: gpio-keys as /devices/platform/gpio-keys.0.auto/input/input13
[    7.203436] input: gpio-keys as /devices/platform/gpio-keys.1.auto/input/input14
[    7.367498] audit: type=1400 audit(1507297575.215:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="content-hub-peer-picker" pid=680 comm="apparmor_parser"
[    7.376066] audit: type=1400 audit(1507297575.223:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="content-hub-clipboard" pid=686 comm="apparmor_parser"
[    7.422044] audit: type=1400 audit(1507297575.271:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="url-dispatcher-bad-url-helper" pid=688 comm="apparmor_parser"
[    7.547128] intel-spi intel-spi: w25q64dw (8192 Kbytes)
[    7.576154] Creating 1 MTD partitions on "intel-spi":
[    7.576162] 0x000000000000-0x000000800000 : "BIOS"
[    7.598239] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 16 -> VIRQ 140
[    7.622471] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 17 -> VIRQ 141
[    7.646445] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 18 -> VIRQ 142
[    7.670419] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 19 -> VIRQ 143
[    7.694437] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 24 -> VIRQ 148
[    7.718495] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 25 -> VIRQ 149
[    7.720216] axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19
[    7.722418] axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19
[    7.780195] axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19
[    7.810800] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[    7.811062] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[    7.811148] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[    7.811543] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
[    7.880458] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input15
[    8.584945] audit: type=1400 audit(1507297576.435:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/mediascanner-service-2.0" pid=707 comm="apparmor_parser"
[    8.598455] audit: type=1400 audit(1507297576.447:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu-printing-app" pid=765 comm="apparmor_parser"
[    8.612804] audit: type=1400 audit(1507297576.463:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="unity8-dash" pid=767 comm="apparmor_parser"
[    8.669979] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[    8.882059] audit: type=1400 audit(1507297576.731:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=679 comm="apparmor_parser"
[    8.886305] audit: type=1400 audit(1507297576.731:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=679 comm="apparmor_parser"
[    8.965461] audit: type=1400 audit(1507297576.815:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=682 comm="apparmor_parser"
[    8.971331] audit: type=1400 audit(1507297576.819:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=682 comm="apparmor_parser"
[   17.028151] kauditd_printk_skb: 19 callbacks suppressed
[   17.031991] audit: type=1400 audit(1507297584.875:31): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=691 comm="apparmor_parser"
[   17.035953] audit: type=1400 audit(1507297584.879:32): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince//sanitized_helper" pid=691 comm="apparmor_parser"
[   17.040181] audit: type=1400 audit(1507297584.883:33): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer" pid=691 comm="apparmor_parser"
[   17.044282] audit: type=1400 audit(1507297584.883:34): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer//sanitized_helper" pid=691 comm="apparmor_parser"
[   17.048591] audit: type=1400 audit(1507297584.887:35): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer" pid=691 comm="apparmor_parser"
[   17.048598] audit: type=1400 audit(1507297584.887:36): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer//sanitized_helper" pid=691 comm="apparmor_parser"
[   17.313174] audit: type=1400 audit(1507297585.163:37): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=858 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   17.318017] audit: type=1400 audit(1507297585.163:38): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=858 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   17.318028] audit: type=1400 audit(1507297585.163:39): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=858 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   17.318035] audit: type=1400 audit(1507297585.163:40): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=858 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   17.350855] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.350856] Bluetooth: BNEP filters: protocol multicast
[   17.350864] Bluetooth: BNEP socket layer initialized
[   17.787465] systemd[1]: apt-daily.timer: Adding 1h 8min 21.421325s random time.
[   17.791779] systemd[1]: snapd.refresh.timer: Adding 34min 21.223207s random time.
[   17.795387] systemd[1]: snapd.refresh.timer: Adding 2h 55min 37.427343s random time.
[   17.799127] systemd[1]: motd-news.timer: Adding 59min 12.928998s random time.
[   18.142446] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   18.190706] r8169 0000:01:00.0 enp1s0: link down
[   18.193930] r8169 0000:01:00.0 enp1s0: link down
[   18.196132] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   18.210803] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   18.260514] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   18.269407] systemd[1]: apt-daily.timer: Adding 4h 14min 7.803897s random time.
[   18.273953] systemd[1]: snapd.refresh.timer: Adding 3h 57min 13.439652s random time.
[   18.277276] systemd[1]: snapd.refresh.timer: Adding 1h 6.001579s random time.
[   18.280845] systemd[1]: motd-news.timer: Adding 24min 28.940983s random time.
[   18.783257] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   18.960122] brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
[   18.960135] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-16
[   18.970519] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.173863] r8169 0000:01:00.0 enp1s0: link up
[   21.173888] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
[   22.105088] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
[   22.976617] kauditd_printk_skb: 93 callbacks suppressed
[   22.976626] audit: type=1400 audit(1507297590.827:134): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   23.977257] audit: type=1400 audit(1507297591.827:135): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   24.977623] audit: type=1400 audit(1507297592.827:136): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   25.977808] audit: type=1400 audit(1507297593.827:137): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   26.978024] audit: type=1400 audit(1507297594.827:138): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   27.978561] audit: type=1400 audit(1507297595.827:139): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   28.979899] audit: type=1400 audit(1507297596.827:140): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   29.980664] audit: type=1400 audit(1507297597.831:141): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   30.980312] audit: type=1400 audit(1507297598.831:142): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   31.980495] audit: type=1400 audit(1507297599.831:143): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   32.980626] audit: type=1400 audit(1507297600.831:144): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   33.981116] audit: type=1400 audit(1507297601.831:145): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   34.981042] audit: type=1400 audit(1507297602.831:146): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   35.981349] audit: type=1400 audit(1507297603.831:147): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   36.981687] audit: type=1400 audit(1507297604.831:148): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   37.982253] audit: type=1400 audit(1507297605.831:149): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   38.982796] audit: type=1400 audit(1507297606.831:150): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   39.835342] logitech-djreceiver 0003:046D:C52B.000C: hiddev0,hidraw5: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   39.970539] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.000C/0003:046D:101A.000D/input/input16
[   39.971183] logitech-hidpp-device 0003:046D:101A.000D: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   39.983757] audit: type=1400 audit(1507297607.831:151): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   39.992423] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.000C/0003:046D:2010.000E/input/input17
[   39.993066] logitech-hidpp-device 0003:046D:2010.000E: input,hidraw6: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   40.984142] audit: type=1400 audit(1507297608.831:152): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   41.984109] audit: type=1400 audit(1507297609.831:153): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   42.984790] audit: type=1400 audit(1507297610.835:154): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   43.985094] audit: type=1400 audit(1507297611.835:155): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   44.985915] audit: type=1400 audit(1507297612.835:156): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   45.986672] audit: type=1400 audit(1507297613.835:157): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   46.987460] audit: type=1400 audit(1507297614.835:158): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   47.988410] audit: type=1400 audit(1507297615.839:159): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   48.989132] audit: type=1400 audit(1507297616.839:160): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   49.989904] audit: type=1400 audit(1507297617.839:161): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   50.990966] audit: type=1400 audit(1507297618.839:162): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   51.991925] audit: type=1400 audit(1507297619.839:163): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   52.992683] audit: type=1400 audit(1507297620.843:164): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   53.993490] audit: type=1400 audit(1507297621.843:165): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   54.994254] audit: type=1400 audit(1507297622.843:166): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   55.995071] audit: type=1400 audit(1507297623.843:167): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   56.995895] audit: type=1400 audit(1507297624.843:168): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   57.996617] audit: type=1400 audit(1507297625.847:169): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   58.997525] audit: type=1400 audit(1507297626.847:170): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   59.891553] usb 1-3: USB disconnect, device number 3
[   59.891585] usb 1-3.1: USB disconnect, device number 5
[   59.997845] audit: type=1400 audit(1507297627.847:171): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   60.084755] usb 1-3.2: USB disconnect, device number 6
[   60.448724] usb 1-3: new high-speed USB device number 7 using xhci_hcd
[   60.597139] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   60.597166] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   60.597182] usb 1-3: Product: USB 2.0 Hub
[   60.598637] hub 1-3:1.0: USB hub found
[   60.598730] hub 1-3:1.0: 4 ports detected
[   60.904683] usb 1-3.1: new full-speed USB device number 8 using xhci_hcd
[   60.998696] audit: type=1400 audit(1507297628.847:172): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   61.037798] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   61.037829] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   61.037847] usb 1-3.1: Product: USB Receiver
[   61.037862] usb 1-3.1: Manufacturer: Logitech
[   61.050405] logitech-djreceiver 0003:046D:C52B.0011: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   61.180615] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0011/0003:046D:101A.0012/input/input18
[   61.181471] logitech-hidpp-device 0003:046D:101A.0012: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   61.189788] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0011/0003:046D:2010.0013/input/input19
[   61.191007] logitech-hidpp-device 0003:046D:2010.0013: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   61.268433] usb 1-3.2: new low-speed USB device number 9 using xhci_hcd
[   61.404579] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   61.404611] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   61.404629] usb 1-3.2: Product: 4 Port KVMSwicther
[   61.404644] usb 1-3.2: Manufacturer: No brand
[   61.404657] usb 1-3.2: SerialNumber: 1ô²
[   61.413722] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0014/input/input20
[   61.475783] hid-generic 0003:10D5:55A4.0014: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   61.477635] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   61.667498] logitech-djreceiver 0003:046D:C52B.0017: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   61.800409] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0017/0003:046D:101A.0018/input/input21
[   61.800790] logitech-hidpp-device 0003:046D:101A.0018: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   61.808518] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0017/0003:046D:2010.0019/input/input22
[   61.809434] logitech-hidpp-device 0003:046D:2010.0019: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   61.999186] audit: type=1400 audit(1507297629.847:173): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   62.999456] audit: type=1400 audit(1507297630.847:174): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   63.999761] audit: type=1400 audit(1507297631.847:175): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   65.000538] audit: type=1400 audit(1507297632.851:176): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   66.001105] audit: type=1400 audit(1507297633.851:177): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   67.001563] audit: type=1400 audit(1507297634.851:178): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   68.002017] audit: type=1400 audit(1507297635.851:179): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   69.003504] audit: type=1400 audit(1507297636.851:180): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   69.041303] usb 1-3: USB disconnect, device number 7
[   69.041314] usb 1-3.1: USB disconnect, device number 8
[   69.255869] usb 1-3.2: USB disconnect, device number 9
[   69.632351] usb 1-3: new high-speed USB device number 10 using xhci_hcd
[   69.784366] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   69.784375] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   69.784379] usb 1-3: Product: USB 2.0 Hub
[   69.785093] hub 1-3:1.0: USB hub found
[   69.785163] hub 1-3:1.0: 4 ports detected
[   70.003392] audit: type=1400 audit(1507297637.851:181): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   70.092614] usb 1-3.1: new full-speed USB device number 11 using xhci_hcd
[   70.215922] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   70.215934] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   70.215939] usb 1-3.1: Product: USB Receiver
[   70.215942] usb 1-3.1: Manufacturer: Logitech
[   70.223201] logitech-djreceiver 0003:046D:C52B.001C: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   70.352413] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.001C/0003:046D:101A.001D/input/input23
[   70.353075] logitech-hidpp-device 0003:046D:101A.001D: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   70.360749] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.001C/0003:046D:2010.001E/input/input24
[   70.361917] logitech-hidpp-device 0003:046D:2010.001E: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   70.444049] usb 1-3.2: new low-speed USB device number 12 using xhci_hcd
[   70.558131] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   70.558145] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   70.558152] usb 1-3.2: Product: 4 Port KVMSwicther
[   70.558157] usb 1-3.2: Manufacturer: No brand
[   70.558162] usb 1-3.2: SerialNumber: 1ô²
[   70.563989] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.001F/input/input25
[   70.624750] hid-generic 0003:10D5:55A4.001F: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   70.625574] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   70.891586] logitech-djreceiver 0003:046D:C52B.0022: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   71.003552] audit: type=1400 audit(1507297638.851:182): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   71.020340] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0022/0003:046D:101A.0023/input/input26
[   71.021063] logitech-hidpp-device 0003:046D:101A.0023: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   71.028429] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0022/0003:046D:2010.0024/input/input27
[   71.029091] logitech-hidpp-device 0003:046D:2010.0024: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   72.003842] audit: type=1400 audit(1507297639.851:183): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   73.004320] audit: type=1400 audit(1507297640.855:184): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   74.004964] audit: type=1400 audit(1507297641.855:185): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   75.005495] audit: type=1400 audit(1507297642.855:186): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   76.006294] audit: type=1400 audit(1507297643.855:187): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   77.007060] audit: type=1400 audit(1507297644.855:188): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   78.007917] audit: type=1400 audit(1507297645.855:189): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   79.008623] audit: type=1400 audit(1507297646.859:190): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   80.009183] audit: type=1400 audit(1507297647.859:191): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   81.009976] audit: type=1400 audit(1507297648.859:192): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   82.010714] audit: type=1400 audit(1507297649.859:193): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   83.011549] audit: type=1400 audit(1507297650.859:194): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   84.012404] audit: type=1400 audit(1507297651.863:195): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   85.013185] audit: type=1400 audit(1507297652.863:196): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   86.013529] audit: type=1400 audit(1507297653.863:197): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   87.014362] audit: type=1400 audit(1507297654.863:198): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   88.015133] audit: type=1400 audit(1507297655.863:199): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   89.016003] audit: type=1400 audit(1507297656.863:200): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   90.016820] audit: type=1400 audit(1507297657.867:201): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   91.016895] audit: type=1400 audit(1507297658.867:202): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   92.017701] audit: type=1400 audit(1507297659.867:203): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   92.738713] usb 1-3: USB disconnect, device number 10
[   92.738747] usb 1-3.1: USB disconnect, device number 11
[   92.912777] usb 1-3.2: USB disconnect, device number 12
[   93.017840] audit: type=1400 audit(1507297660.867:204): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   93.312447] usb 1-3: new high-speed USB device number 13 using xhci_hcd
[   93.460344] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   93.460355] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   93.460360] usb 1-3: Product: USB 2.0 Hub
[   93.461769] hub 1-3:1.0: USB hub found
[   93.462071] hub 1-3:1.0: 4 ports detected
[   93.773041] usb 1-3.1: new full-speed USB device number 14 using xhci_hcd
[   93.896523] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   93.896535] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   93.896539] usb 1-3.1: Product: USB Receiver
[   93.896543] usb 1-3.1: Manufacturer: Logitech
[   93.908739] logitech-djreceiver 0003:046D:C52B.0027: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   94.018365] audit: type=1400 audit(1507297661.867:205): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   94.044678] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0027/0003:046D:101A.0028/input/input28
[   94.046596] logitech-hidpp-device 0003:046D:101A.0028: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   94.055081] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0027/0003:046D:2010.0029/input/input29
[   94.057423] logitech-hidpp-device 0003:046D:2010.0029: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   94.132548] usb 1-3.2: new low-speed USB device number 15 using xhci_hcd
[   94.260840] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   94.260867] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   94.260883] usb 1-3.2: Product: 4 Port KVMSwicther
[   94.260897] usb 1-3.2: Manufacturer: No brand
[   94.260910] usb 1-3.2: SerialNumber: 1ô²
[   94.274752] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.002A/input/input30
[   94.334512] hid-generic 0003:10D5:55A4.002A: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   94.335848] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   94.567577] logitech-djreceiver 0003:046D:C52B.002D: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   94.696392] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.002D/0003:046D:101A.002E/input/input31
[   94.699660] logitech-hidpp-device 0003:046D:101A.002E: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   94.706409] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.002D/0003:046D:2010.002F/input/input32
[   94.707068] logitech-hidpp-device 0003:046D:2010.002F: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   95.018723] audit: type=1400 audit(1507297662.867:206): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   96.018989] audit: type=1400 audit(1507297663.867:207): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   97.019468] audit: type=1400 audit(1507297664.867:208): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   98.019928] audit: type=1400 audit(1507297665.867:209): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   99.020390] audit: type=1400 audit(1507297666.871:210): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  100.020664] audit: type=1400 audit(1507297667.871:211): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  101.021456] audit: type=1400 audit(1507297668.871:212): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  101.386283] usb 1-3: USB disconnect, device number 13
[  101.386315] usb 1-3.1: USB disconnect, device number 14
[  101.557928] usb 1-3.2: USB disconnect, device number 15
[  101.904715] usb 1-3: new high-speed USB device number 16 using xhci_hcd
[  102.021933] audit: type=1400 audit(1507297669.871:213): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  102.052501] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[  102.052511] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  102.052517] usb 1-3: Product: USB 2.0 Hub
[  102.053259] hub 1-3:1.0: USB hub found
[  102.053311] hub 1-3:1.0: 4 ports detected
[  102.360521] usb 1-3.1: new full-speed USB device number 17 using xhci_hcd
[  102.486923] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[  102.486933] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  102.486937] usb 1-3.1: Product: USB Receiver
[  102.486940] usb 1-3.1: Manufacturer: Logitech
[  102.498242] logitech-djreceiver 0003:046D:C52B.0032: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[  102.628386] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0032/0003:046D:101A.0033/input/input33
[  102.629124] logitech-hidpp-device 0003:046D:101A.0033: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[  102.636500] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0032/0003:046D:2010.0034/input/input34
[  102.637368] logitech-hidpp-device 0003:046D:2010.0034: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[  102.696186] usb 1-3.2: new low-speed USB device number 18 using xhci_hcd
[  102.821808] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[  102.821817] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  102.821822] usb 1-3.2: Product: 4 Port KVMSwicther
[  102.821825] usb 1-3.2: Manufacturer: No brand
[  102.821829] usb 1-3.2: SerialNumber: 1ô²
[  102.828047] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0035/input/input35
[  102.889633] hid-generic 0003:10D5:55A4.0035: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[  102.890606] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[  102.955685] usb 1-3: USB disconnect, device number 16
[  102.955696] usb 1-3.1: USB disconnect, device number 17
[  103.022350] audit: type=1400 audit(1507297670.871:214): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  103.130779] usb 1-3.2: USB disconnect, device number 18
[  103.480124] usb 1-3: new high-speed USB device number 19 using xhci_hcd
[  103.632482] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[  103.632500] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  103.632510] usb 1-3: Product: USB 2.0 Hub
[  103.635664] hub 1-3:1.0: USB hub found
[  103.636008] hub 1-3:1.0: 4 ports detected
[  103.944923] usb 1-3.1: new full-speed USB device number 20 using xhci_hcd
[  104.023236] audit: type=1400 audit(1507297671.871:215): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  104.069142] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[  104.069168] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  104.069183] usb 1-3.1: Product: USB Receiver
[  104.069197] usb 1-3.1: Manufacturer: Logitech
[  104.079307] logitech-djreceiver 0003:046D:C52B.0038: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[  104.208823] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0038/0003:046D:101A.0039/input/input36
[  104.209757] logitech-hidpp-device 0003:046D:101A.0039: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[  104.217489] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0038/0003:046D:2010.003A/input/input37
[  104.218944] logitech-hidpp-device 0003:046D:2010.003A: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[  104.300136] usb 1-3.2: new low-speed USB device number 21 using xhci_hcd
[  104.411028] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[  104.411043] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  104.411051] usb 1-3.2: Product: 4 Port KVMSwicther
[  104.411058] usb 1-3.2: Manufacturer: No brand
[  104.411065] usb 1-3.2: SerialNumber: 1ô²
[  104.418780] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.003B/input/input38
[  104.479100] hid-generic 0003:10D5:55A4.003B: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[  104.481081] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[  104.741864] logitech-djreceiver 0003:046D:C52B.003E: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[  104.872650] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.003E/0003:046D:101A.003F/input/input39
[  104.873268] logitech-hidpp-device 0003:046D:101A.003F: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[  104.882412] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.003E/0003:046D:2010.0040/input/input40
[  104.883253] logitech-hidpp-device 0003:046D:2010.0040: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[  105.023265] audit: type=1400 audit(1507297672.871:216): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  106.023488] audit: type=1400 audit(1507297673.871:217): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  107.023691] audit: type=1400 audit(1507297674.871:218): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  108.024180] audit: type=1400 audit(1507297675.871:219): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  109.025068] audit: type=1400 audit(1507297676.875:220): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  110.025835] audit: type=1400 audit(1507297677.875:221): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  111.026105] audit: type=1400 audit(1507297678.875:222): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  112.026477] audit: type=1400 audit(1507297679.875:223): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  113.027230] audit: type=1400 audit(1507297680.875:224): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  114.028098] audit: type=1400 audit(1507297681.875:225): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  115.028336] audit: type=1400 audit(1507297682.879:226): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  116.029155] audit: type=1400 audit(1507297683.879:227): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  117.029987] audit: type=1400 audit(1507297684.879:228): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  118.030946] audit: type=1400 audit(1507297685.879:229): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  119.031706] audit: type=1400 audit(1507297686.879:230): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  120.032575] audit: type=1400 audit(1507297687.883:231): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  121.033448] audit: type=1400 audit(1507297688.883:232): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  122.034174] audit: type=1400 audit(1507297689.883:233): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  123.034985] audit: type=1400 audit(1507297690.883:234): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  124.035734] audit: type=1400 audit(1507297691.883:235): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  125.036617] audit: type=1400 audit(1507297692.887:236): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  126.036898] audit: type=1400 audit(1507297693.887:237): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  127.037652] audit: type=1400 audit(1507297694.887:238): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  128.038402] audit: type=1400 audit(1507297695.887:239): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  129.039203] audit: type=1400 audit(1507297696.887:240): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  130.039353] audit: type=1400 audit(1507297697.887:241): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  131.040211] audit: type=1400 audit(1507297698.887:242): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  132.041117] audit: type=1400 audit(1507297699.891:243): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  133.041854] audit: type=1400 audit(1507297700.891:244): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  134.042661] audit: type=1400 audit(1507297701.891:245): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  135.043415] audit: type=1400 audit(1507297702.891:246): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  136.044337] audit: type=1400 audit(1507297703.895:247): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  137.045088] audit: type=1400 audit(1507297704.895:248): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  138.045863] audit: type=1400 audit(1507297705.895:249): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  139.046694] audit: type=1400 audit(1507297706.895:250): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  140.047552] audit: type=1400 audit(1507297707.895:251): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  141.048368] audit: type=1400 audit(1507297708.899:252): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  142.048912] audit: type=1400 audit(1507297709.899:253): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  143.049486] audit: type=1400 audit(1507297710.899:254): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  144.050268] audit: type=1400 audit(1507297711.899:255): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  145.051046] audit: type=1400 audit(1507297712.899:256): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  146.051870] audit: type=1400 audit(1507297713.899:257): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  147.052618] audit: type=1400 audit(1507297714.903:258): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  148.053440] audit: type=1400 audit(1507297715.903:259): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  149.054204] audit: type=1400 audit(1507297716.903:260): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  150.055050] audit: type=1400 audit(1507297717.903:261): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  151.055174] audit: type=1400 audit(1507297718.903:262): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  152.056131] audit: type=1400 audit(1507297719.907:263): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  153.056990] audit: type=1400 audit(1507297720.907:264): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  154.057420] audit: type=1400 audit(1507297721.907:265): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  155.057473] audit: type=1400 audit(1507297722.907:266): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  156.058382] audit: type=1400 audit(1507297723.907:267): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  157.059062] audit: type=1400 audit(1507297724.907:268): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  158.059714] audit: type=1400 audit(1507297725.907:269): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  159.060629] audit: type=1400 audit(1507297726.911:270): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  160.061416] audit: type=1400 audit(1507297727.911:271): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  161.062180] audit: type=1400 audit(1507297728.911:272): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  162.062997] audit: type=1400 audit(1507297729.911:273): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  163.063837] audit: type=1400 audit(1507297730.911:274): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  164.064750] audit: type=1400 audit(1507297731.915:275): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  165.065560] audit: type=1400 audit(1507297732.915:276): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  166.066315] audit: type=1400 audit(1507297733.915:277): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  167.067156] audit: type=1400 audit(1507297734.915:278): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  168.067870] audit: type=1400 audit(1507297735.915:279): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  169.068641] audit: type=1400 audit(1507297736.919:280): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  170.069446] audit: type=1400 audit(1507297737.919:281): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  171.070346] audit: type=1400 audit(1507297738.919:282): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  172.071641] audit: type=1400 audit(1507297739.919:283): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  173.072374] audit: type=1400 audit(1507297740.923:284): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  174.073210] audit: type=1400 audit(1507297741.923:285): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  175.073918] audit: type=1400 audit(1507297742.923:286): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  176.074674] audit: type=1400 audit(1507297743.923:287): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  177.075470] audit: type=1400 audit(1507297744.923:288): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  178.076407] audit: type=1400 audit(1507297745.927:289): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  179.077163] audit: type=1400 audit(1507297746.927:290): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  180.077237] audit: type=1400 audit(1507297747.927:291): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  181.078057] audit: type=1400 audit(1507297748.927:292): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  182.078919] audit: type=1400 audit(1507297749.927:293): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  183.079632] audit: type=1400 audit(1507297750.927:294): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  184.080447] audit: type=1400 audit(1507297751.931:295): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  185.081335] audit: type=1400 audit(1507297752.931:296): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  186.082055] audit: type=1400 audit(1507297753.931:297): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  187.082871] audit: type=1400 audit(1507297754.931:298): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  188.083650] audit: type=1400 audit(1507297755.931:299): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  189.083981] audit: type=1400 audit(1507297756.931:300): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  190.084877] audit: type=1400 audit(1507297757.935:301): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  191.085535] audit: type=1400 audit(1507297758.935:302): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  192.087061] audit: type=1400 audit(1507297759.935:303): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  193.087632] audit: type=1400 audit(1507297760.935:304): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  194.088348] audit: type=1400 audit(1507297761.939:305): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  195.089105] audit: type=1400 audit(1507297762.939:306): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  196.089897] audit: type=1400 audit(1507297763.939:307): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  197.090673] audit: type=1400 audit(1507297764.939:308): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  198.091537] audit: type=1400 audit(1507297765.939:309): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  199.092362] audit: type=1400 audit(1507297766.943:310): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  200.093708] audit: type=1400 audit(1507297767.943:311): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  201.093344] audit: type=1400 audit(1507297768.943:312): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  202.094062] audit: type=1400 audit(1507297769.943:313): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  203.094303] audit: type=1400 audit(1507297770.943:314): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  204.095141] audit: type=1400 audit(1507297771.943:315): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  205.095951] audit: type=1400 audit(1507297772.943:316): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  206.096231] audit: type=1400 audit(1507297773.943:317): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  207.097142] audit: type=1400 audit(1507297774.947:318): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  208.097895] audit: type=1400 audit(1507297775.947:319): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  209.098716] audit: type=1400 audit(1507297776.947:320): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  210.099354] audit: type=1400 audit(1507297777.947:321): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  211.100349] audit: type=1400 audit(1507297778.951:322): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  212.101175] audit: type=1400 audit(1507297779.951:323): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  213.101979] audit: type=1400 audit(1507297780.951:324): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  214.102739] audit: type=1400 audit(1507297781.951:325): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[  215.103622] audit: type=1400 audit(1507297782.951:326): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1019 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"

[-- Attachment #4: gitlog.txt --]
[-- Type: text/plain, Size: 1531 bytes --]

6f854fe7699d Bluetooth: hci_bcm: Correct context of IRQ polarity message
400a058ba2fe ACPI / scan: Fix enumeration for special UART devices
7247f0494984 serdev: Add ACPI support
240ef2b4428b Bluetooth: btbcm: Add support for MINIX Z83-4 based devices
2214bf8b3d3b Bluetooth: hci_bcm: Add support for MINIX Z83-4 based devices
a86d1412a5c5 Revert Bluetooth: btusb: Add workaround for Broadcom devices without product id
cbbd258748c0 Bluetooth: hci_bcm: Add (runtime)pm support to the serdev driver
f5203945c1e6 Bluetooth: hci_bcm: Make suspend/resume functions platform_dev independent
d7f5b380e6f5 Bluetooth: hci_bcm: Make acpi_probe get irq from ACPI resources
6ff6ba15e809 Bluetooth: hci_bcm: Rename bcm_platform_probe to bcm_get_resources
f1509c4740ee Bluetooth: hci_bcm: Store device pointer instead of platform_device pointer
c3d4c7e226b0 Bluetooth: hci_bcm: Move platform_get_irq call to bcm_probe
9db8cae62243 Bluetooth: hci_bcm: Move bcm_platform_probe call out of bcm_acpi_probe
2657275c643c Bluetooth: hci_bcm: Fix setting of irq trigger type
ebd0b6884ea0 Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
321782f9e3fe Initial linux-v4.14-rc3.patched
9e66317d3c92 Linux 4.14-rc3
368f89984bb9 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
c42ed9f91fa1 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
825135451344 Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

[-- Attachment #5: working.txt --]
[-- Type: text/plain, Size: 1375 bytes --]

[   16.257865] Bluetooth: Core ver 2.22
[   16.268351] Bluetooth: HCI device and connection manager initialized
[   16.271773] Bluetooth: HCI socket layer initialized
[   16.275166] Bluetooth: L2CAP socket layer initialized
[   16.278529] Bluetooth: SCO socket layer initialized
[   16.344985] Bluetooth: HCI UART driver ver 2.3
[   16.348458] Bluetooth: HCI UART protocol H4 registered
[   16.351883] Bluetooth: HCI UART protocol BCSP registered
[   16.356299] Bluetooth: HCI UART protocol LL registered
[   16.359759] Bluetooth: HCI UART protocol ATH3K registered
[   16.363207] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   16.383816] Bluetooth: HCI UART protocol Intel registered
[   16.401132] Bluetooth: MINIX Z83-4: Overwriting IRQ polarity to active low
[   16.405842] hci_bcm BCM2EA4:00: BCM irq: 166
[   16.409386] hci_bcm BCM2EA4:00: BCM2EA4:00 device registered.
[   16.413356] Bluetooth: HCI UART protocol Broadcom registered
[   16.416899] Bluetooth: HCI UART protocol QCA registered
[   16.420397] Bluetooth: HCI UART protocol AG6XX registered
[   16.423803] Bluetooth: HCI UART protocol Marvell registered
[   16.813705] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[   18.891882] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.891884] Bluetooth: BNEP filters: protocol multicast
[   18.891892] Bluetooth: BNEP socket layer initialized

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-06 14:47         ` Ian W MORRISON
@ 2017-10-06 17:36           ` Frédéric Danis
  2017-10-07  6:16             ` Ian W MORRISON
  2017-10-07 15:14             ` Johan Hovold
  0 siblings, 2 replies; 49+ messages in thread
From: Frédéric Danis @ 2017-10-06 17:36 UTC (permalink / raw)
  To: Ian W MORRISON
  Cc: Marcel Holtmann, Rob Herring, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

Hi Ian,

Le 06/10/2017 à 16:47, Ian W MORRISON a écrit :
> <snip>
>> It seems normal to me that BCM2EA4 is no more enumerated at ACPI level as
>> this is moved to serdev.
>> When removing 'if (ares->data.common_serial_bus.type !=
>> ACPI_RESOURCE_SERIAL_TYPE_UART)' you stop the serdev module finding the
>> Serial UART information. In this case it will not register the device and it
>> will fall back to previous behavior needing to use btattach to setup
>> Bluetooth.
>>
>> Can you share:
>> - btattach you are currently using,
>> - dmesg with with dynamic debug enabled for serdev and hci_uart modules
>> during boot (with Hans's patches, your MINIX Z83-4 patches and mine
>> patches).
>>
>> Regards,
>>
>> Fred
> Hi Fred,
>
> I've attached four (text) files:
>
> 1. btattach.txt - Details of the 'bluez' package that contains the
> 'btattach' I'm using.
> 2. dmesg.txt - 'dmesg' with with dynamic debug enabled for serdev and
> hci_uart modules. This doesn't seem to show much so have I provided
> what you wanted?
> 3. gitlog.txt - First few commits from the git log showing the kernel
> patches used to build the kernel (sent just for clarity).
> 4. working.txt - An extract from 'dmesg' when BCM2EA4 is enumerated
> from a kernel patched with the 'if' statement refered to above.
>
> Regards,
> Ian

Which tty is used for btattach?
Is this tty existing in /dev?

I took a look at dmesg.txt and I did not find any trace related to serdev.
On the T100, where ttyS4 is used for Bluetooth, I can see the following 
traces:
   [   11.732347] serial serial0: allocated controller 
0xffff880036229000 id 0
   [   11.732470] serial serial0-0: device serial0-0 registered
   [   11.732475] serial serial0: serdev0 registered: dev:ffff880036229000
   [   11.732478] serial serial0: tty port ttyS4 registered

If serdev registration failed you should at least get something like:
     serdev0 no devices registered: of:<> acpi:<>

So, just to be sure, is SERIAL_DEV_BUS and SERIAL_DEV_CTRL_TTYPORT 
enabled in your kernel?

Regards,

Fred


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-06 12:33       ` Rob Herring
@ 2017-10-06 18:32           ` Marcel Holtmann
  -1 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-06 18:32 UTC (permalink / raw)
  To: Rob Herring
  Cc: Frédéric Danis, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede, Greg Kroah-Hartman,
	open list:BLUETOOTH DRIVERS, linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

Hi Rob,

>> This patch allows SerDev module to manage serial devices declared as
>> attached to an UART in ACPI table.
>> 
>> acpi_serdev_add_device() callback will only take into account entries
>> without enumerated flag set. This flags is set for all entries during
>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>> 2nd patch in the series.
>> 
>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> ---
>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>> 1 file changed, 94 insertions(+), 5 deletions(-)
> 
> Reviewed-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.

Greg, any thoughts?

Regards

Marcel

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-06 18:32           ` Marcel Holtmann
  0 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-06 18:32 UTC (permalink / raw)
  To: Rob Herring
  Cc: Frédéric Danis, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede, Greg Kroah-Hartman,
	open list:BLUETOOTH DRIVERS, linux-serial, linux-acpi

Hi Rob,

>> This patch allows SerDev module to manage serial devices declared as
>> attached to an UART in ACPI table.
>> 
>> acpi_serdev_add_device() callback will only take into account entries
>> without enumerated flag set. This flags is set for all entries during
>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>> 2nd patch in the series.
>> 
>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>> ---
>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>> 1 file changed, 94 insertions(+), 5 deletions(-)
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.

Greg, any thoughts?

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-06 18:32           ` Marcel Holtmann
@ 2017-10-07  0:03             ` Rafael J. Wysocki
  -1 siblings, 0 replies; 49+ messages in thread
From: Rafael J. Wysocki @ 2017-10-07  0:03 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Rob Herring, Frédéric Danis, Sebastian Reichel,
	Loic Poulain, Johan Hovold, Lukas Wunner, Hans de Goede,
	Greg Kroah-Hartman, open list:BLUETOOTH DRIVERS, linux-serial,
	linux-acpi

On Fri, Oct 6, 2017 at 8:32 PM, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Rob,
>
>>> This patch allows SerDev module to manage serial devices declared as
>>> attached to an UART in ACPI table.
>>>
>>> acpi_serdev_add_device() callback will only take into account entries
>>> without enumerated flag set. This flags is set for all entries during
>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>>> 2nd patch in the series.
>>>
>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>>> ---
>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>>> 1 file changed, 94 insertions(+), 5 deletions(-)
>>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>
> so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.

That would be fine by me.  I can take the serdev patch too, though.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-07  0:03             ` Rafael J. Wysocki
  0 siblings, 0 replies; 49+ messages in thread
From: Rafael J. Wysocki @ 2017-10-07  0:03 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Rob Herring, Frédéric Danis, Sebastian Reichel,
	Loic Poulain, Johan Hovold, Lukas Wunner, Hans de Goede,
	Greg Kroah-Hartman, open list:BLUETOOTH DRIVERS, linux-serial,
	linux-acpi

On Fri, Oct 6, 2017 at 8:32 PM, Marcel Holtmann <marcel@holtmann.org> wrote=
:
> Hi Rob,
>
>>> This patch allows SerDev module to manage serial devices declared as
>>> attached to an UART in ACPI table.
>>>
>>> acpi_serdev_add_device() callback will only take into account entries
>>> without enumerated flag set. This flags is set for all entries during
>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>>> 2nd patch in the series.
>>>
>>> Signed-off-by: Fr=C3=A9d=C3=A9ric Danis <frederic.danis.oss@gmail.com>
>>> ---
>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++=
++++---
>>> 1 file changed, 94 insertions(+), 5 deletions(-)
>>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>
> so how do we get these changes upstream? If the serdev changes alone do n=
ot cause any harm, I am almost proposing taking them through bluetooth-next=
 tree and only leave only the ACPI change to the ACPI maintainers.

That would be fine by me.  I can take the serdev patch too, though.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-07  0:03             ` Rafael J. Wysocki
@ 2017-10-07  0:31                 ` Marcel Holtmann
  -1 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-07  0:31 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rob Herring, Frédéric Danis, Sebastian Reichel,
	Loic Poulain, Johan Hovold, Lukas Wunner, Hans de Goede,
	Greg Kroah-Hartman, open list:BLUETOOTH DRIVERS,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

Hi Rafael,

>>>> This patch allows SerDev module to manage serial devices declared as
>>>> attached to an UART in ACPI table.
>>>> 
>>>> acpi_serdev_add_device() callback will only take into account entries
>>>> without enumerated flag set. This flags is set for all entries during
>>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>>>> 2nd patch in the series.
>>>> 
>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>>> ---
>>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>>>> 1 file changed, 94 insertions(+), 5 deletions(-)
>>> 
>>> Reviewed-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
>> 
>> so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.
> 
> That would be fine by me.  I can take the serdev patch too, though.

having both patches go via ACPI tree might be simplest. Greg, any objections from you?

Regards

Marcel

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-07  0:31                 ` Marcel Holtmann
  0 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-07  0:31 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Rob Herring, Frédéric Danis, Sebastian Reichel,
	Loic Poulain, Johan Hovold, Lukas Wunner, Hans de Goede,
	Greg Kroah-Hartman, open list:BLUETOOTH DRIVERS, linux-serial,
	linux-acpi

Hi Rafael,

>>>> This patch allows SerDev module to manage serial devices declared as
>>>> attached to an UART in ACPI table.
>>>> 
>>>> acpi_serdev_add_device() callback will only take into account entries
>>>> without enumerated flag set. This flags is set for all entries during
>>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>>>> 2nd patch in the series.
>>>> 
>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>>>> ---
>>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>>>> 1 file changed, 94 insertions(+), 5 deletions(-)
>>> 
>>> Reviewed-by: Rob Herring <robh@kernel.org>
>> 
>> so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.
> 
> That would be fine by me.  I can take the serdev patch too, though.

having both patches go via ACPI tree might be simplest. Greg, any objections from you?

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-06 17:36           ` Frédéric Danis
@ 2017-10-07  6:16             ` Ian W MORRISON
  2017-10-07 15:14             ` Johan Hovold
  1 sibling, 0 replies; 49+ messages in thread
From: Ian W MORRISON @ 2017-10-07  6:16 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Marcel Holtmann, Rob Herring, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman, Rafael J. Wysocki,
	Ian W Morrison

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

On 10/7/17 4:36 AM, Frédéric Danis wrote:
> Hi Ian,
> 
<snip>
> 
> Which tty is used for btattach?
> Is this tty existing in /dev?
Yes - /dev/ttyS4
> 
> I took a look at dmesg.txt and I did not find any trace related to serdev.
> On the T100, where ttyS4 is used for Bluetooth, I can see the following traces:
>   [   11.732347] serial serial0: allocated controller 0xffff880036229000 id 0
>   [   11.732470] serial serial0-0: device serial0-0 registered
>   [   11.732475] serial serial0: serdev0 registered: dev:ffff880036229000
>   [   11.732478] serial serial0: tty port ttyS4 registered
> 
> If serdev registration failed you should at least get something like:
>     serdev0 no devices registered: of:<> acpi:<>
> 
> So, just to be sure, is SERIAL_DEV_BUS and SERIAL_DEV_CTRL_TTYPORT enabled in your kernel?
> 
> Regards,
> 
> Fred
> 

Hi Fred,

My config actually had SERIAL_DEV_BUS set as 'm' so SERIAL_DEV_CTRL_TTYPORT was (forced) unset. If I set them both everything now works (see attached dmesg).

I've submitted a new patch to update drivers/tty/serdev/Kconfig for ACPI support as the current Kconfig for serdev is not really compatible when adding ACPI support. If SERIAL_DEV_BUS is set as 'm' then the ACPI support does not work when built as a module as it requires config SERIAL_DEV_CTRL_TTYPORT to be set as you stated. If you force SERIAL_DEV_CTRL_TTYPORT to be set then a compilation error results. So I suggest that if SERIAL_DEV_BUS is selected then serdev is compiled into the kernel so that config SERIAL_DEV_CTRL_TTYPORT can be selected and set if requiring ACPI support.

Regards,
Ian

[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 90655 bytes --]

[    0.000000] Linux version 4.14.0-rc3-patched (root@LINUXIUMONE) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)) #1 SMP Sat Oct 7 13:47:15 AEDT 2017
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-rc3-patched root=UUID=c7c12b6b-a3b2-477c-af2f-717dd2779386 ro ignore_loglevel "dyndbg=module hci_uart +p; module serdev +p" hci_uart.dyndbg=+p serdev.dyndbg=+p
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000007365bfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007365c000-0x000000007368bfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007368c000-0x00000000736b8fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000736b9000-0x000000007377dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007377e000-0x0000000073a3bfff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000073a3c000-0x0000000073a8bfff] type 20
[    0.000000] BIOS-e820: [mem 0x0000000073a8c000-0x0000000073ffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e3ffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fea00000-0x00000000feafffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed03000-0x00000000fed03fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed06000-0x00000000fed06fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed09fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1cfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fedbffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffc00000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by American Megatrends
[    0.000000] efi:  ESRT=0x7368a000  ACPI=0x73695000  ACPI 2.0=0x73695000  SMBIOS=0x7393d000  SMBIOS 3.0=0x7393c000 
[    0.000000] random: fast init done
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: MINIX NEO Z83-4/NEO Z83-4, BIOS CHT0A120 09/27/2016
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x180000 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask F80000000 write-back
[    0.000000]   1 base 078000000 mask FF8000000 uncachable
[    0.000000]   2 base 077000000 mask FFF000000 uncachable
[    0.000000]   3 base 076800000 mask FFF800000 uncachable
[    0.000000]   4 base 100000000 mask F80000000 write-back
[    0.000000]   5 base 076400000 mask FFFC00000 uncachable
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] total RAM covered: 3940M
[    0.000000] Found optimal setting for mtrr clean up
[    0.000000]  gran_size: 64K 	chunk_size: 256M 	num_reg: 6  	lose cover RAM: 0G
[    0.000000] e820: update [mem 0x76400000-0xffffffff] usable ==> reserved
[    0.000000] e820: last_pfn = 0x74000 max_arch_pfn = 0x400000000
[    0.000000] esrt: ESRT header is not in the memory map.
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Base memory trampoline at [ffff8e7080098000] 98000 size 24576
[    0.000000] BRK [0x116525000, 0x116525fff] PGTABLE
[    0.000000] BRK [0x116526000, 0x116526fff] PGTABLE
[    0.000000] BRK [0x116527000, 0x116527fff] PGTABLE
[    0.000000] BRK [0x116528000, 0x116528fff] PGTABLE
[    0.000000] BRK [0x116529000, 0x116529fff] PGTABLE
[    0.000000] BRK [0x11652a000, 0x11652afff] PGTABLE
[    0.000000] BRK [0x11652b000, 0x11652bfff] PGTABLE
[    0.000000] BRK [0x11652c000, 0x11652cfff] PGTABLE
[    0.000000] Secure boot could not be determined
[    0.000000] RAMDISK: [mem 0x32a9b000-0x35544fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000073695000 000024 (v02 ALASKA)
[    0.000000] ACPI: XSDT 0x00000000736950A8 0000CC (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FACP 0x00000000736B2B28 00010C (v05 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: DSDT 0x0000000073695200 01D923 (v02 ALASKA A M I    01072009 INTL 20120913)
[    0.000000] ACPI: FACS 0x000000007377DF80 000040
[    0.000000] ACPI: APIC 0x00000000736B2C38 000084 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FPDT 0x00000000736B2CC0 000044 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: FIDT 0x00000000736B2D08 00009C (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: MSDM 0x00000000736B2DA8 000055 (v03 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: MCFG 0x00000000736B2E00 00003C (v01 ALASKA A M I    01072009 MSFT 00000097)
[    0.000000] ACPI: SSDT 0x00000000736B2E40 004174 (v01 DptfTb DptfTab  00001000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B6FB8 000654 (v01 CpuDpf CpuDptf  00001000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B7610 000058 (v01 LowPM  LowPwrM  00001000 INTL 20120913)
[    0.000000] ACPI: UEFI 0x00000000736B7668 000042 (v01 ALASKA A M I    00000000      00000000)
[    0.000000] ACPI: SSDT 0x00000000736B76B0 000269 (v01 UsbCTb UsbCTab  00001000 INTL 20120913)
[    0.000000] ACPI: HPET 0x00000000736B7920 000038 (v01 ALASKA A M I    01072009 AMI. 00000005)
[    0.000000] ACPI: SSDT 0x00000000736B7958 000763 (v01 PmRef  CpuPm    00003000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B80C0 000290 (v01 PmRef  Cpu0Tst  00003000 INTL 20120913)
[    0.000000] ACPI: SSDT 0x00000000736B8350 00017A (v01 PmRef  ApTst    00003000 INTL 20120913)
[    0.000000] ACPI: LPIT 0x00000000736B84D0 000104 (v01 ALASKA A M I    00000005 MSFT 0100000D)
[    0.000000] ACPI: BCFG 0x00000000736B85D8 000139 (v01 INTEL  BATTCONF 00000001 ACPI 00000000)
[    0.000000] ACPI: PRAM 0x00000000736B8718 000030 (v01                 00000001      00000000)
[    0.000000] ACPI: BGRT 0x00000000736B8748 000038 (v01 ALASKA A M I    01072009 AMI  00010013)
[    0.000000] ACPI: CSRT 0x00000000736B8780 00014C (v00 INTEL  LANFORDC 00000005 MSFT 0100000D)
[    0.000000] ACPI: WDAT 0x00000000736B88D0 000104 (v01                 00000000      00000000)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000017fffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x17ffd4000-0x17fffefff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000008efff]
[    0.000000]   node   0: [mem 0x0000000000090000-0x000000000009dfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020200000-0x000000007365bfff]
[    0.000000]   node   0: [mem 0x0000000073a8c000-0x0000000073ffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000017fffffff]
[    0.000000] On node 0 totalpages: 997740
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 22 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 7336 pages used for memmap
[    0.000000]   DMA32 zone: 469456 pages, LIFO batch:31
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:31
[    0.000000] Reserving Intel graphics memory at 0x0000000076f00000-0x000000007eefffff
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-114
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7365c000-0x7368bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7368c000-0x736b8fff]
[    0.000000] PM: Registered nosave memory: [mem 0x736b9000-0x7377dfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7377e000-0x73a3bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x73a3c000-0x73a8bfff]
[    0.000000] PM: Registered nosave memory: [mem 0x74000000-0x76efffff]
[    0.000000] PM: Registered nosave memory: [mem 0x76f00000-0x7eefffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7ef00000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xe3ffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe4000000-0xfe9fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfea00000-0xfeafffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfeb00000-0xfebfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed01000-0xfed01fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed02000-0xfed02fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed03000-0xfed03fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed04000-0xfed05fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed06000-0xfed06fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed07000-0xfed07fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed09fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed0a000-0xfed1bfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1cfff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed1d000-0xfed7ffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfed80000-0xfedbffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfedc0000-0xfedfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffbfffff]
[    0.000000] PM: Registered nosave memory: [mem 0xffc00000-0xffffffff]
[    0.000000] e820: [mem 0x7ef00000-0xdfffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 39 pages/cpu @ffff8e71ffc00000 s119832 r8192 d31720 u524288
[    0.000000] pcpu-alloc: s119832 r8192 d31720 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 982126
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.0-rc3-patched root=UUID=c7c12b6b-a3b2-477c-af2f-717dd2779386 ro ignore_loglevel "dyndbg=module hci_uart +p; module serdev +p" hci_uart.dyndbg=+p serdev.dyndbg=+p
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 3745060K/3990960K available (9503K kernel code, 2478K rwdata, 4020K rodata, 2328K init, 2388K bss, 245900K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38110 entries in 149 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 524544, nr_irqs: 1024, preallocated irqs: 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Detected 1440.000 MHz processor
[    0.000021] Calibrating delay loop (skipped), value calculated using timer frequency.. 2880.00 BogoMIPS (lpj=5760000)
[    0.000038] pid_max: default: 32768 minimum: 301
[    0.000081] ACPI: Core revision 20170728
[    0.044735] ACPI: 8 ACPI AML tables successfully acquired and loaded
[    0.045581] Security Framework initialized
[    0.045593] Yama: becoming mindful.
[    0.045642] AppArmor: AppArmor initialized
[    0.047663] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.048712] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.048812] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.048857] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.049397] CPU: Physical Processor ID: 0
[    0.049408] CPU: Processor Core ID: 0
[    0.049421] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.049428] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.049449] mce: CPU supports 6 MCE banks
[    0.049464] CPU0: Thermal monitoring enabled (TM1)
[    0.049475] process: using mwait in idle threads
[    0.049487] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.049494] Last level dTLB entries: 4KB 256, 2MB 16, 4MB 16, 1GB 0
[    0.049805] Freeing SMP alternatives memory: 36K
[    0.057169] smpboot: Max logical packages: 1
[    0.058889] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.098601] TSC deadline timer enabled
[    0.098614] smpboot: CPU0: Intel(R) Atom(TM) x5-Z8300  CPU @ 1.44GHz (family: 0x6, model: 0x4c, stepping: 0x3)
[    0.098870] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver.
[    0.098908] ... version:                3
[    0.098914] ... bit width:              40
[    0.098919] ... generic registers:      2
[    0.098925] ... value mask:             000000ffffffffff
[    0.098930] ... max period:             0000007fffffffff
[    0.098936] ... fixed-purpose events:   3
[    0.098941] ... event mask:             0000000700000003
[    0.099056] Hierarchical SRCU implementation.
[    0.100000] smp: Bringing up secondary CPUs ...
[    0.100000] x86: Booting SMP configuration:
[    0.100000] .... node  #0, CPUs:      #1
[    0.176180] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.176567]  #2 #3
[    0.336072] smp: Brought up 1 node, 4 CPUs
[    0.336072] smpboot: Total of 4 processors activated (11529.76 BogoMIPS)
[    0.337739] devtmpfs: initialized
[    0.337739] x86/mm: Memory block size: 128MB
[    0.337739] evm: security.selinux
[    0.337739] evm: security.SMACK64
[    0.337739] evm: security.SMACK64EXEC
[    0.337739] evm: security.SMACK64TRANSMUTE
[    0.337739] evm: security.SMACK64MMAP
[    0.337739] evm: security.ima
[    0.337739] evm: security.capability
[    0.337739] PM: Registering ACPI NVS region [mem 0x0008f000-0x0008ffff] (4096 bytes)
[    0.337739] PM: Registering ACPI NVS region [mem 0x736b9000-0x7377dfff] (806912 bytes)
[    0.340064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.340100] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.340287] pinctrl core: initialized pinctrl subsystem
[    0.340566] RTC time:  3:24:15, date: 10/07/17
[    0.340827] NET: Registered protocol family 16
[    0.341445] cpuidle: using governor ladder
[    0.341445] cpuidle: using governor menu
[    0.341445] ACPI: bus type PCI registered
[    0.341445] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.341445] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    0.341445] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    0.341445] PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) (size reduced!)
[    0.341445] PCI: Using configuration type 1 for base access
[    0.345498] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.345498] ACPI: Added _OSI(Module Device)
[    0.345498] ACPI: Added _OSI(Processor Device)
[    0.345498] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.345498] ACPI: Added _OSI(Processor Aggregator Device)
[    0.383277] ACPI: Dynamic OEM Table Load:
[    0.383307] ACPI: SSDT 0xFFFF8E71FA8E5800 00057B (v01 PmRef  Cpu0Ist  00003000 INTL 20120913)
[    0.384030] ACPI: Dynamic OEM Table Load:
[    0.384051] ACPI: SSDT 0xFFFF8E71FAB37000 0003A5 (v01 PmRef  Cpu0Cst  00003001 INTL 20120913)
[    0.385256] ACPI: Dynamic OEM Table Load:
[    0.385276] ACPI: SSDT 0xFFFF8E71FAB31C00 00015F (v01 PmRef  ApIst    00003000 INTL 20120913)
[    0.385887] ACPI: Dynamic OEM Table Load:
[    0.385906] ACPI: SSDT 0xFFFF8E71FAB9D6C0 00008D (v01 PmRef  ApCst    00003000 INTL 20120913)
[    0.390659] ACPI: Interpreter enabled
[    0.390723] ACPI: (supports S0 S4 S5)
[    0.390733] ACPI: Using IOAPIC for interrupt routing
[    0.390826] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.394011] ACPI: Power Resource [P06X] (off)
[    0.396314] ACPI: Power Resource [ID3C] (off)
[    0.399374] ACPI: Power Resource [USBC] (on)
[    0.400661] ACPI: Power Resource [WWPR] (off)
[    0.401975] ACPI: Power Resource [WWPR] (off)
[    0.402807] ACPI: Power Resource [WWPR] (off)
[    0.403659] ACPI: Power Resource [WWPR] (off)
[    0.404577] ACPI: Power Resource [WWPR] (off)
[    0.419557] ACPI: Power Resource [CLK2] (on)
[    0.419687] ACPI: Power Resource [CLK4] (on)
[    0.419802] ACPI: Power Resource [P28P] (off)
[    0.419925] ACPI: Power Resource [P18P] (off)
[    0.420051] ACPI: Power Resource [P12P] (off)
[    0.420167] ACPI: Power Resource [P16P] (off)
[    0.424654] ACPI: Power Resource [CLK3] (on)
[    0.424780] ACPI: Power Resource [CLK4] (on)
[    0.440976] ACPI: Power Resource [CLK2] (on)
[    0.441096] ACPI: Power Resource [CLK1] (on)
[    0.443985] ACPI: Power Resource [CLK0] (on)
[    0.444122] ACPI: Power Resource [CLK1] (on)
[    0.446027] ACPI: Power Resource [CLK5] (off)
[    0.446929] ACPI: Power Resource [P33P] (off)
[    0.447053] ACPI: Power Resource [P65P] (off)
[    0.464883] ACPI: Power Resource [P28X] (off)
[    0.465010] ACPI: Power Resource [P18X] (off)
[    0.465134] ACPI: Power Resource [P12X] (off)
[    0.465248] ACPI: Power Resource [P28P] (off)
[    0.465370] ACPI: Power Resource [P18P] (off)
[    0.465493] ACPI: Power Resource [P12P] (off)
[    0.465608] ACPI: Power Resource [P19X] (off)
[    0.465737] ACPI: Power Resource [P12A] (off)
[    0.465859] ACPI: Power Resource [P28T] (off)
[    0.465977] ACPI: Power Resource [P18D] (off)
[    0.466101] ACPI: Power Resource [P18T] (off)
[    0.466224] ACPI: Power Resource [P3P3] (off)
[    0.466338] ACPI: Power Resource [P12T] (off)
[    0.466462] ACPI: Power Resource [P28W] (off)
[    0.466581] ACPI: Power Resource [P18W] (off)
[    0.466710] ACPI: Power Resource [P12W] (off)
[    0.466830] ACPI: Power Resource [P33W] (off)
[    0.466947] ACPI: Power Resource [P33X] (off)
[    0.467073] ACPI: Power Resource [P4BW] (off)
[    0.476032] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.476054] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.476652] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability]
[    0.476696] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    0.478127] PCI host bridge to bus 0000:00
[    0.478139] pci_bus 0000:00: root bus resource [io  0x0070-0x0077]
[    0.478148] pci_bus 0000:00: root bus resource [io  0x0000-0x006f window]
[    0.478157] pci_bus 0000:00: root bus resource [io  0x0078-0x0cf7 window]
[    0.478166] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.478174] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.478184] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.478194] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000fffff window]
[    0.478203] pci_bus 0000:00: root bus resource [mem 0x20000000-0x201fffff window]
[    0.478213] pci_bus 0000:00: root bus resource [mem 0x76f00001-0x7ef00000 window]
[    0.478222] pci_bus 0000:00: root bus resource [mem 0x80000000-0xdfffffff window]
[    0.478233] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.478256] pci 0000:00:00.0: [8086:2280] type 00 class 0x060000
[    0.478909] pci 0000:00:02.0: [8086:22b0] type 00 class 0x030000
[    0.478949] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x90ffffff 64bit]
[    0.478970] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref]
[    0.478987] pci 0000:00:02.0: reg 0x20: [io  0xf000-0xf03f]
[    0.479027] pci 0000:00:02.0: BAR 2: assigned to efifb
[    0.479415] pci 0000:00:14.0: [8086:22b5] type 00 class 0x0c0330
[    0.479462] pci 0000:00:14.0: reg 0x10: [mem 0x91500000-0x9150ffff 64bit]
[    0.479578] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.479956] pci 0000:00:1a.0: [8086:2298] type 00 class 0x108000
[    0.479993] pci 0000:00:1a.0: reg 0x10: [mem 0x91300000-0x913fffff]
[    0.480015] pci 0000:00:1a.0: reg 0x14: [mem 0x91200000-0x912fffff]
[    0.480127] pci 0000:00:1a.0: PME# supported from D0 D3hot
[    0.480515] pci 0000:00:1c.0: [8086:22c8] type 01 class 0x060400
[    0.480658] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.481019] pci 0000:00:1f.0: [8086:229c] type 00 class 0x060100
[    0.481617] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    0.481669] pci 0000:01:00.0: reg 0x10: [io  0xe000-0xe0ff]
[    0.481716] pci 0000:01:00.0: reg 0x18: [mem 0x91404000-0x91404fff 64bit]
[    0.481747] pci 0000:01:00.0: reg 0x20: [mem 0x91400000-0x91403fff 64bit pref]
[    0.481894] pci 0000:01:00.0: supports D1 D2
[    0.481903] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.492050] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.492067] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.492078] pci 0000:00:1c.0:   bridge window [mem 0x91400000-0x914fffff]
[    0.493533] ACPI: \: failed to evaluate _DSM (0x1001)
[    0.496105] acpi 80862288:00: Device [PWM1] is in always present list
[    0.504797] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505000] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505193] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505395] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505591] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505786] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.505981] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.506177] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.506579] acpi INT0002:00: Device [GPED] is in always present list
[    0.514193] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.514193] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.514193] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.514193] vgaarb: loaded
[    0.514193] SCSI subsystem initialized
[    0.514193] libata version 3.00 loaded.
[    0.514193] ACPI: bus type USB registered
[    0.514193] usbcore: registered new interface driver usbfs
[    0.514193] usbcore: registered new interface driver hub
[    0.514193] usbcore: registered new device driver usb
[    0.651585] EDAC MC: Ver: 3.0.0
[    0.652099] Registered efivars operations
[    0.654103] PCI: Using ACPI for IRQ routing
[    0.656936] PCI: pci_cache_line_size set to 64 bytes
[    0.656989] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    0.657002] e820: reserve RAM buffer [mem 0x0008f000-0x0008ffff]
[    0.657010] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.657018] e820: reserve RAM buffer [mem 0x7365c000-0x73ffffff]
[    0.657257] NetLabel: Initializing
[    0.657265] NetLabel:  domain hash size = 128
[    0.657271] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.657316] NetLabel:  unlabeled traffic allowed by default
[    0.657376] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.657376] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[    0.658233] clocksource: Switched to clocksource hpet
[    0.685918] VFS: Disk quotas dquot_6.6.0
[    0.685983] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.686253] AppArmor: AppArmor Filesystem Enabled
[    0.686356] pnp: PnP ACPI init
[    0.686694] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.686707] system 00:00: [io  0x0400-0x047f] could not be reserved
[    0.686716] system 00:00: [io  0x0500-0x05fe] has been reserved
[    0.686737] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.686960] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.693587] system 00:02: [mem 0x91533000-0x91533fff] has been reserved
[    0.693601] system 00:02: [mem 0x91531000-0x91531fff] has been reserved
[    0.693611] system 00:02: [mem 0x9152f000-0x9152ffff] has been reserved
[    0.693620] system 00:02: [mem 0x9151e000-0x9151efff] has been reserved
[    0.693629] system 00:02: [mem 0x9151c000-0x9151cfff] has been reserved
[    0.693638] system 00:02: [mem 0x9151a000-0x9151afff] has been reserved
[    0.693647] system 00:02: [mem 0x91518000-0x91518fff] has been reserved
[    0.693656] system 00:02: [mem 0x9152d000-0x9152dfff] has been reserved
[    0.693666] system 00:02: [mem 0x9152b000-0x9152bfff] has been reserved
[    0.693675] system 00:02: [mem 0x91529000-0x91529fff] has been reserved
[    0.693684] system 00:02: [mem 0x91527000-0x91527fff] has been reserved
[    0.693693] system 00:02: [mem 0x91525000-0x91525fff] has been reserved
[    0.693702] system 00:02: [mem 0x91523000-0x91523fff] has been reserved
[    0.693712] system 00:02: [mem 0x91521000-0x91521fff] has been reserved
[    0.693721] system 00:02: [mem 0x9151f000-0x9151ffff] has been reserved
[    0.693743] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.693997] system 00:03: [mem 0xe0000000-0xefffffff] could not be reserved
[    0.694010] system 00:03: [mem 0xfea00000-0xfeafffff] has been reserved
[    0.694020] system 00:03: [mem 0xfed01000-0xfed01fff] has been reserved
[    0.694029] system 00:03: [mem 0xfed03000-0xfed03fff] has been reserved
[    0.694038] system 00:03: [mem 0xfed06000-0xfed06fff] has been reserved
[    0.694048] system 00:03: [mem 0xfed08000-0xfed09fff] has been reserved
[    0.694059] system 00:03: [mem 0xfed80000-0xfedbffff] could not be reserved
[    0.694068] system 00:03: [mem 0xfed1c000-0xfed1cfff] has been reserved
[    0.694077] system 00:03: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.694095] system 00:03: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.694522] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.696170] pnp: PnP ACPI: found 5 devices
[    0.707055] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.707099] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.707113] pci 0000:00:1c.0:   bridge window [io  0xe000-0xefff]
[    0.707127] pci 0000:00:1c.0:   bridge window [mem 0x91400000-0x914fffff]
[    0.707147] pci_bus 0000:00: resource 4 [io  0x0070-0x0077]
[    0.707155] pci_bus 0000:00: resource 5 [io  0x0000-0x006f window]
[    0.707164] pci_bus 0000:00: resource 6 [io  0x0078-0x0cf7 window]
[    0.707172] pci_bus 0000:00: resource 7 [io  0x0d00-0xffff window]
[    0.707181] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[    0.707189] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[    0.707200] pci_bus 0000:00: resource 10 [mem 0x000e0000-0x000fffff window]
[    0.707208] pci_bus 0000:00: resource 11 [mem 0x20000000-0x201fffff window]
[    0.707217] pci_bus 0000:00: resource 12 [mem 0x76f00001-0x7ef00000 window]
[    0.707227] pci_bus 0000:00: resource 13 [mem 0x80000000-0xdfffffff window]
[    0.707238] pci_bus 0000:01: resource 0 [io  0xe000-0xefff]
[    0.707246] pci_bus 0000:01: resource 1 [mem 0x91400000-0x914fffff]
[    0.707760] NET: Registered protocol family 2
[    0.708251] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.708454] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    0.708675] TCP: Hash tables configured (established 32768 bind 32768)
[    0.708811] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    0.708872] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    0.709044] NET: Registered protocol family 1
[    0.709091] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.709627] PCI: CLS 64 bytes, default 64
[    0.709763] Unpacking initramfs...
[    2.338912] Freeing initrd memory: 43688K
[    2.338990] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    2.339002] software IO TLB [mem 0x6c724000-0x70724000] (64MB) mapped at [ffff8e70ec724000-ffff8e70f0723fff]
[    2.339151] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x14c1baf3789, max_idle_ns: 440795266465 ns
[    2.339207] clocksource: Switched to clocksource tsc
[    2.339442] Scanning for low memory corruption every 60 seconds
[    2.340313] audit: initializing netlink subsys (disabled)
[    2.340420] audit: type=2000 audit(1507346657.339:1): state=initialized audit_enabled=0 res=1
[    2.341129] Initialise system trusted keyrings
[    2.341162] Key type blacklist registered
[    2.341248] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    2.344715] zbud: loaded
[    2.345829] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.346245] fuse init (API version 7.26)
[    2.349930] Key type asymmetric registered
[    2.349941] Asymmetric key parser 'x509' registered
[    2.350037] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.350137] io scheduler noop registered
[    2.350145] io scheduler deadline registered
[    2.350284] io scheduler cfq registered (default)
[    2.351166] pcieport 0000:00:1c.0: Signaling PME with IRQ 116
[    2.351397] efifb: probing for efifb
[    2.351446] efifb: framebuffer at 0x80000000, using 8128k, total 8128k
[    2.351455] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    2.351461] efifb: scrolling: redraw
[    2.351467] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    2.369265] Console: switching to colour frame buffer device 240x67
[    2.386801] fb0: EFI VGA frame buffer device
[    2.386889] intel_idle: MWAIT substates: 0x33000020
[    2.386961] intel_idle: v0.4.1 model 0x4C
[    2.387412] intel_idle: lapic_timer_reliable_states 0xffffffff
[    2.387581] ACPI: AC: found native INT33F4 PMIC, not loading
[    2.387811] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    2.387950] ACPI: Power Button [PWRB]
[    2.388152] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    2.388336] ACPI: Power Button [PWRF]
[    2.395200] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.395558] thermal LNXTHERM:00: registered as thermal_zone0
[    2.395642] ACPI: Thermal Zone [TZ00] (0 C)
[    2.395832] ACPI: Battery: found native INT33F4 PMIC, not loading
[    2.396368] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    2.416973] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.417092] serial serial0: allocated controller 0xffff8e71f202cc00 id 0
[    2.417225] serial serial0: serdev0 registered: dev:ffff8e71f202cc00
[    2.417317] serial serial0: tty port ttyS0 registered
[    2.417547] serial serial1: allocated controller 0xffff8e71f2113400 id 1
[    2.417679] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.418085] serial serial1: allocated controller 0xffff8e71f2112c00 id 1
[    2.418214] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.418702] serial serial1: allocated controller 0xffff8e71f2111c00 id 1
[    2.418830] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.419191] serial serial1: allocated controller 0xffff8e71f2113800 id 1
[    2.419326] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.419622] serial serial1: allocated controller 0xffff8e71f2110c00 id 1
[    2.419752] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.420612] serial serial1: allocated controller 0xffff8e71f2110400 id 1
[    2.420762] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.421164] serial serial1: allocated controller 0xffff8e71f2113000 id 1
[    2.421302] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.421662] serial serial1: allocated controller 0xffff8e71f2111800 id 1
[    2.421796] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.422088] serial serial1: allocated controller 0xffff8e71f2111400 id 1
[    2.422216] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.422518] serial serial1: allocated controller 0xffff8e71f2113c00 id 1
[    2.422641] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.422978] serial serial1: allocated controller 0xffff8e71f2110000 id 1
[    2.423107] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.423384] serial serial1: allocated controller 0xffff8e71f2112400 id 1
[    2.423510] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.427906] serial serial1: allocated controller 0xffff8e71f2111000 id 1
[    2.432140] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.436733] serial serial1: allocated controller 0xffff8e71f2110800 id 1
[    2.440942] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.445355] serial serial1: allocated controller 0xffff8e71f2112000 id 1
[    2.449542] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.453977] serial serial1: allocated controller 0xffff8e71f2112800 id 1
[    2.458165] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.462633] serial serial1: allocated controller 0xffff8e71f213a400 id 1
[    2.466809] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.471301] serial serial1: allocated controller 0xffff8e71f2139000 id 1
[    2.475489] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.479983] serial serial1: allocated controller 0xffff8e71f2138800 id 1
[    2.484165] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.488528] serial serial1: allocated controller 0xffff8e71f213a000 id 1
[    2.492695] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.497075] serial serial1: allocated controller 0xffff8e71f213a800 id 1
[    2.501302] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.505693] serial serial1: allocated controller 0xffff8e71f213b400 id 1
[    2.509917] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.514312] serial serial1: allocated controller 0xffff8e71f213ac00 id 1
[    2.518539] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.522932] serial serial1: allocated controller 0xffff8e71f2139c00 id 1
[    2.527174] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.531573] serial serial1: allocated controller 0xffff8e71f213b800 id 1
[    2.535793] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.540196] serial serial1: allocated controller 0xffff8e71f2138c00 id 1
[    2.544430] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.548850] serial serial1: allocated controller 0xffff8e71f2138400 id 1
[    2.553121] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.557496] serial serial1: allocated controller 0xffff8e71f213b000 id 1
[    2.561684] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.566044] serial serial1: allocated controller 0xffff8e71f2139800 id 1
[    2.570190] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.574417] serial serial1: allocated controller 0xffff8e71f2139400 id 1
[    2.578399] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.582539] serial serial1: allocated controller 0xffff8e71f213bc00 id 1
[    2.586528] serial serial1: serdev1 no devices registered: of:-19 acpi:-19
[    2.591715] Linux agpgart interface v0.103
[    2.601609] loop: module loaded
[    2.606033] libphy: Fixed MDIO Bus: probed
[    2.609892] tun: Universal TUN/TAP device driver, 1.6
[    2.613969] PPP generic driver version 2.4.2
[    2.618115] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.622024] ehci-pci: EHCI PCI platform driver
[    2.625927] ehci-platform: EHCI generic platform driver
[    2.629861] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.633769] ohci-pci: OHCI PCI platform driver
[    2.637672] ohci-platform: OHCI generic platform driver
[    2.641575] uhci_hcd: USB Universal Host Controller Interface driver
[    2.645873] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.649798] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    2.654894] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x01509810
[    2.658854] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.663021] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.666983] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.670936] usb usb1: Product: xHCI Host Controller
[    2.674863] usb usb1: Manufacturer: Linux 4.14.0-rc3-patched xhci-hcd
[    2.678828] usb usb1: SerialNumber: 0000:00:14.0
[    2.683113] hub 1-0:1.0: USB hub found
[    2.687058] hub 1-0:1.0: 7 ports detected
[    2.692110] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.695995] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    2.700076] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.704017] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.707947] usb usb2: Product: xHCI Host Controller
[    2.711848] usb usb2: Manufacturer: Linux 4.14.0-rc3-patched xhci-hcd
[    2.715775] usb usb2: SerialNumber: 0000:00:14.0
[    2.720031] hub 2-0:1.0: USB hub found
[    2.723938] hub 2-0:1.0: 6 ports detected
[    2.729193] i8042: PNP: No PS/2 controller found.
[    2.733387] mousedev: PS/2 mouse device common for all mice
[    2.738461] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[    2.742405] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[    2.746339] i2c /dev entries driver
[    2.751352] device-mapper: uevent: version 1.0.3
[    2.755461] device-mapper: ioctl: 4.36.0-ioctl (2017-06-09) initialised: dm-devel@redhat.com
[    2.759437] intel_pstate: Intel P-state driver initializing
[    2.765128] ledtrig-cpu: registered to indicate activity on CPUs
[    2.768235] EFI Variables Facility v0.08 2004-May-17
[    2.775514] NET: Registered protocol family 10
[    2.789927] Segment Routing with IPv6
[    2.793064] NET: Registered protocol family 17
[    2.796691] Key type dns_resolver registered
[    2.801296] RAS: Correctable Errors collector initialized.
[    2.804458] microcode: sig=0x406c3, pf=0x1, revision=0x364
[    2.808105] microcode: Microcode Update Driver: v2.2.
[    2.808125] sched_clock: Marking stable (2808093981, 0)->(2815262837, -7168856)
[    2.815315] registered taskstats version 1
[    2.818788] Loading compiled-in X.509 certificates
[    2.829273] Loaded X.509 cert 'Build time autogenerated kernel key: aeb94ce5c5df350f82fa033ec49163d36462a966'
[    2.832517] zswap: loaded using pool lzo/zbud
[    2.846910] Key type big_key registered
[    2.850066] Key type trusted registered
[    2.862281] Key type encrypted registered
[    2.865545] AppArmor: AppArmor sha1 policy hashing enabled
[    2.868645] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.871792] evm: HMAC attrs: 0x1
[    2.892699] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[    2.906054]   Magic number: 5:240:411
[    2.909285] acpi MSSL1680:00: hash matches
[    2.912829] rtc_cmos 00:04: setting system clock to 2017-10-07 03:24:18 UTC (1507346658)
[    2.917142] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    2.920535] EDD information not available.
[    2.938568] Freeing unused kernel memory: 2328K
[    2.941732] Write protecting the kernel read-only data: 14336k
[    2.946525] Freeing unused kernel memory: 728K
[    2.950778] Freeing unused kernel memory: 76K
[    2.974906] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    3.026848] usb 1-2: new low-speed USB device number 2 using xhci_hcd
[    3.126012] synth uevent: /devices/pnp0/00:01/serial0: failed to send uevent
[    3.126020] serial serial0: uevent: failed to send synthetic uevent
[    3.137722] sdhci: Secure Digital Host Controller Interface driver
[    3.141481] sdhci: Copyright(c) Pierre Ossman
[    3.168755] mmc0: SDHCI controller on ACPI [80860F14:00] using ADMA
[    3.183380] usb 1-2: New USB device found, idVendor=046d, idProduct=c31c
[    3.187177] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.190934] usb 1-2: Product: USB Keyboard
[    3.194640] usb 1-2: Manufacturer: Logitech
[    3.204347] mmc1: SDHCI controller on ACPI [80860F14:01] using ADMA
[    3.214175] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    3.234632] r8169 0000:01:00.0 eth0: RTL8168g/8111g at 0xffffb2ecc0791000, a0:1e:0b:04:76:bf, XID 0c000800 IRQ 118
[    3.238434] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    3.239574] mmc2: SDHCI controller on ACPI [80860F14:02] using ADMA
[    3.273116] mmc0: new HS200 MMC card at address 0001
[    3.285674] r8169 0000:01:00.0 enp1s0: renamed from eth0
[    3.290043] mmcblk0: mmc0:0001 BGND3R 29.1 GiB 
[    3.294357] mmcblk0boot0: mmc0:0001 BGND3R partition 1 4.00 MiB
[    3.298260] mmcblk0boot1: mmc0:0001 BGND3R partition 2 4.00 MiB
[    3.302383] mmcblk0rpmb: mmc0:0001 BGND3R partition 3 4.00 MiB
[    3.309938] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.311145] [drm] Memory usable by graphics device = 2048M
[    3.311150] checking generic (80000000 7f0000) vs hw (80000000 10000000)
[    3.311151] fb: switching to inteldrmfb from EFI VGA
[    3.317976]  mmcblk0: p1 p2 p3 p4 p5
[    3.327964] Console: switching to colour dummy device 80x25
[    3.328561] [drm] Replacing VGA console driver
[    3.328772] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.328780] [drm] Driver supports precise vblank timestamp query.
[    3.329858] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.331589] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.333649] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.334493] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.336050] usb 1-3: new high-speed USB device number 3 using xhci_hcd
[    3.342421] [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
[    3.346112] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.349244] acpi device:01: registered as cooling_device4
[    3.350035] acpi device:02: registered as cooling_device5
[    3.350833] acpi device:03: registered as cooling_device6
[    3.351581] acpi device:04: registered as cooling_device7
[    3.352591] acpi device:05: registered as cooling_device8
[    3.353436] acpi device:06: registered as cooling_device9
[    3.354265] acpi device:07: registered as cooling_device10
[    3.355145] acpi device:08: registered as cooling_device11
[    3.355319] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2
[    3.355641] [drm] HDaudio controller not detected, using LPE audio instead

[    3.431403] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[    3.489982] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[    3.490001] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.490010] usb 1-3: Product: USB 2.0 Hub
[    3.491161] hub 1-3:1.0: USB hub found
[    3.491525] hub 1-3:1.0: 4 ports detected
[    3.620891] usb 1-4: new full-speed USB device number 4 using xhci_hcd
[    3.771666] usb 1-4: New USB device found, idVendor=1532, idProduct=0016
[    3.771681] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.771689] usb 1-4: Product: Razer DeathAdder
[    3.771695] usb 1-4: Manufacturer: Razer
[    3.783617] hidraw: raw HID events driver (C) Jiri Kosina
[    3.800345] usbcore: registered new interface driver usbhid
[    3.800360] usbhid: USB HID core driver
[    3.804974] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C31C.0001/input/input3
[    3.865567] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:14.0-2/input0
[    3.866024] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C31C.0002/input/input4
[    3.868847] usb 1-3.1: new full-speed USB device number 5 using xhci_hcd
[    3.924818] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:14.0-2/input1
[    3.925154] input: Razer Razer DeathAdder as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1532:0016.0003/input/input5
[    3.926045] hid-generic 0003:1532:0016.0003: input,hidraw2: USB HID v1.11 Mouse [Razer Razer DeathAdder] on usb-0000:00:14.0-4/input0
[    3.996859] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[    3.996904] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.996935] usb 1-3.1: Product: USB Receiver
[    3.996957] usb 1-3.1: Manufacturer: Logitech
[    4.047481] fbcon: inteldrmfb (fb0) is primary device
[    4.104032] usb 1-3.2: new low-speed USB device number 6 using xhci_hcd
[    4.237442] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[    4.237456] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.237466] usb 1-3.2: Product: 4 Port KVMSwicther
[    4.237483] usb 1-3.2: Manufacturer: No brand
[    4.237485] usb 1-3.2: SerialNumber: 1ô²
[    4.247974] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0007/input/input6
[    4.304348] hid-generic 0003:10D5:55A4.0007: input,hidraw3: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[    4.305174] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[    4.312960] logitech-djreceiver 0003:046D:C52B.0006: hiddev0,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[    4.446693] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0006/0003:046D:101A.0008/input/input7
[    4.447531] logitech-hidpp-device 0003:046D:101A.0008: input,hidraw5: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[    4.455372] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0006/0003:046D:2010.0009/input/input8
[    4.455904] logitech-hidpp-device 0003:046D:2010.0009: input,hidraw6: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[    4.459037] Console: switching to colour frame buffer device 240x67
[    4.492239] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    4.629391] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[    4.897447] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.913816] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    4.914396] systemd[1]: Detected architecture x86-64.
[    4.915500] systemd[1]: Set hostname to <Z83-4>.
[    5.085046] systemd[1]: Listening on Journal Audit Socket.
[    5.085719] systemd[1]: Listening on Journal Socket.
[    5.086383] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.086912] systemd[1]: Listening on udev Control Socket.
[    5.098114] systemd[1]: Created slice System Slice.
[    5.110365] systemd[1]: Mounting Debug File System...
[    5.122841] systemd[1]: Starting Set the console keyboard layout...
[    5.322919] lp: driver loaded but no devices found
[    5.346788] ppdev: user-space parallel port driver
[    5.521111] EXT4-fs (mmcblk0p5): re-mounted. Opts: errors=remount-ro
[    5.595362] systemd-journald[246]: Received request to flush runtime journal from PID 1
[    5.665704] Adding 490328k swap on /swapfile.  Priority:-2 extents:2 across:498520k SSFS
[    5.792922] synth uevent: /devices/pnp0/00:01/serial0: failed to send uevent
[    5.792929] serial serial0: uevent: failed to send synthetic uevent
[    5.928492] 8086228A:00: ttyS4 at MMIO 0x9151b000 (irq = 39, base_baud = 2764800) is a 16550A
[    5.951849] serial serial1: allocated controller 0xffff8e71f535b400 id 1
[    5.961101] serial serial1-0: device serial1-0 registered
[    5.978487] serial serial1: serdev1 registered: dev:ffff8e71f535b400
[    5.982195] serial serial1: tty port ttyS4 registered
[    6.004426] 8086228A:01: ttyS5 at MMIO 0x91519000 (irq = 40, base_baud = 2764800) is a 16550A
[    6.011611] serial serial2: allocated controller 0xffff8e71f3ea7000 id 2
[    6.015693] serial serial2: serdev2 registered: dev:ffff8e71f3ea7000
[    6.019369] serial serial2: tty port ttyS5 registered
[    6.059557] nfc: nfc_init: NFC Core ver 0.1
[    6.063333] NET: Registered protocol family 39
[    6.070373] axp20x-i2c i2c-INT33F4:00: AXP20x variant AXP288 found
[    6.168497] Bluetooth: Core ver 2.22
[    6.172368] NET: Registered protocol family 31
[    6.176086] Bluetooth: HCI device and connection manager initialized
[    6.177026] axp20x-i2c i2c-INT33F4:00: AXP20X driver loaded
[    6.186368] Bluetooth: HCI socket layer initialized
[    6.194441] Bluetooth: L2CAP socket layer initialized
[    6.198172] Bluetooth: SCO socket layer initialized
[    6.202290] dw_dmac INTL9C60:00: DesignWare DMA Controller, 8 channels
[    6.243844] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[    6.262583] dw_dmac INTL9C60:01: DesignWare DMA Controller, 8 channels
[    6.268252] input: Intel HID events as /devices/pci0000:00/INT33D5:00/input/input9
[    6.281816] Bluetooth: HCI UART driver ver 2.3
[    6.285732] Bluetooth: HCI UART protocol H4 registered
[    6.289588] Bluetooth: HCI UART protocol BCSP registered
[    6.293521] Bluetooth: HCI UART protocol LL registered
[    6.297349] Bluetooth: HCI UART protocol ATH3K registered
[    6.301136] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.305114] Bluetooth: HCI UART protocol Intel registered
[    6.309116] Bluetooth: HCI UART protocol Broadcom registered
[    6.309223] hci_uart_bcm serial1-0: MINIX Z83-4: Overwriting IRQ polarity to active low
[    6.309538] hci_uart_bcm serial1-0: BCM irq: 166

[    6.309560] (null): hu ffff8e71f1117818
[    6.327807] Bluetooth: HCI UART protocol QCA registered
[    6.331536] Bluetooth: HCI UART protocol AG6XX registered
[    6.335236] Bluetooth: HCI UART protocol Marvell registered
[    6.350005] hci0 ffff8e71fa9c6000
[    6.353729] hci0: Set Controller clock (1)
[    6.358945] hci0: type 1 len 4
[    6.362647] hci0: hu ffff8e71f1117818 skb ffff8e71f62e2500



[    6.382359] RTL8723BS: module init start
[    6.386019] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[    6.389718] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[    6.393528] Bluetooth: hci0: BCM: failed to write clock (-56)
[    6.397177] Bluetooth: hci0: failed to set baudrate
[    6.400791] hci0: hu ffff8e71f1117818
[    6.404454] hci0: type 1 len 3
[    6.405431] RTL8723BS: module init ret =0
[    6.411761] hci0: hu ffff8e71f1117818 skb ffff8e71f6bc9100



[    6.478431] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=0 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input10
[    6.494894] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input11
[    6.515866] input: Intel HDMI/DP LPE Audio HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0/input12
[    6.524106] hci0: type 1 len 3
[    6.524110] hci0: hu ffff8e71f1117818 skb ffff8e71f5cffb00



[    6.525555] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    6.527833] hci0: type 1 len 3
[    6.527837] hci0: hu ffff8e71f1117818 skb ffff8e71f5376800



[    6.529963] Bluetooth: hci0: BCM: chip id 107
[    6.530006] hci0: type 1 len 3
[    6.530010] hci0: hu ffff8e71f1117818 skb ffff8e71f16b8f00



[    6.532446] Bluetooth: hci0: BCM: features 0x2f
[    6.532479] hci0: type 1 len 3
[    6.532483] hci0: hu ffff8e71f1117818 skb ffff8e71f16b8e00



[    6.558170] Bluetooth: hci0: BCM4345C0
[    6.558178] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    6.585528] bluetooth hci0: Direct firmware load for brcm/BCM4345C0.hcd failed with error -2
[    6.585535] Bluetooth: hci0: BCM: Patch brcm/BCM4345C0.hcd not found
[    6.588762] hci0: type 1 len 3
[    6.588766] hci0: hu ffff8e71f1117818 skb ffff8e71f1c09e00



[    6.592153] hci0: type 1 len 3
[    6.592156] hci0: hu ffff8e71f1117818 skb ffff8e71f1c09900


[    6.595473] hci0: type 1 len 3
[    6.595476] hci0: hu ffff8e71f1117818 skb ffff8e71f1c09400



[    6.605323] hci0: type 1 len 3
[    6.605326] hci0: hu ffff8e71f1117818 skb ffff8e71f9eb9000



[    6.608594] hci0: type 1 len 3
[    6.608597] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55300


[    6.614705] hci0: type 1 len 3
[    6.614709] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55400



[    6.639376] hci0: type 1 len 3
[    6.639380] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55d00



[    6.642538] hci0: type 1 len 3
[    6.642542] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55000


[    6.645605] hci0: type 1 len 3
[    6.645608] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55b00



[    6.648747] hci0: type 1 len 4
[    6.648751] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55800



[    6.651553] hci0: type 1 len 5
[    6.651558] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55200


[    6.654592] hci0: type 1 len 3
[    6.654595] hci0: hu ffff8e71f1117818 skb ffff8e71f1c55900



[    6.657573] hci0: type 1 len 3
[    6.657576] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6e00



[    6.660607] hci0: type 1 len 3
[    6.660611] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6b00



[    6.663017] hci0: type 1 len 3
[    6.663021] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6000



[    6.672325] hci0: type 1 len 244
[    6.672330] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6500



[    6.697475] hci0: type 1 len 4
[    6.697478] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6700



[    6.699286] hci0: type 1 len 3
[    6.699289] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6d00



[    6.706324] hci0: type 1 len 4
[    6.706328] hci0: hu ffff8e71f1117818 skb ffff8e71f23c6400



[    6.712006] hci0: type 1 len 11
[    6.712031] hci0: hu ffff8e71f1117818 skb ffff8e71f5354a00



[    6.715007] hci0: type 1 len 10
[    6.715009] hci0: hu ffff8e71f1117818 skb ffff8e71f5354c00



[    6.716300] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply avdd not found, using dummy regulator
[    6.716331] rt5645 i2c-10EC5645:00: i2c-10EC5645:00 supply cpvdd not found, using dummy regulator
[    6.719091] hci0: type 1 len 5
[    6.719095] hci0: hu ffff8e71f1117818 skb ffff8e71f5354300


[    6.721194] intel_sst_acpi 808622A8:00: LPE base: 0x91000000 size:0x200000
[    6.721197] intel_sst_acpi 808622A8:00: IRAM base: 0x910c0000
[    6.721263] intel_sst_acpi 808622A8:00: DRAM base: 0x91100000
[    6.721271] intel_sst_acpi 808622A8:00: SHIM base: 0x91140000
[    6.721281] intel_sst_acpi 808622A8:00: Mailbox base: 0x91144000
[    6.721288] intel_sst_acpi 808622A8:00: DDR base: 0x20000000
[    6.721924] hci0: type 1 len 3
[    6.721928] hci0: hu ffff8e71f1117818 skb ffff8e71f5354b00



[    6.724082] intel_sst_acpi 808622A8:00: Got drv data max stream 25
[    6.724825] hci0: type 1 len 3
[    6.724828] hci0: hu ffff8e71f1117818 skb ffff8e71f5354d00



[    6.728277] hci0: type 1 len 11
[    6.728280] hci0: hu ffff8e71f1117818 skb ffff8e71f5354700



[    6.731687] hci0: type 1 len 3
[    6.731690] hci0: hu ffff8e71f1117818 skb ffff8e71f5354600



[    6.734636] hci0: type 1 len 3
[    6.734639] hci0: hu ffff8e71f1117818 skb ffff8e71f5354000



[    6.738439] hci0: type 1 len 3
[    6.738443] hci0: hu ffff8e71f1117818 skb ffff8e71f5354800



[    6.741779] hci0: type 1 len 4
[    6.741783] hci0: hu ffff8e71f1117818 skb ffff8e71f5354400



[    6.744902] hci0: type 1 len 10
[    6.744907] hci0: hu ffff8e71f1117818 skb ffff8e71f16fca00



[    6.749970] hci0: type 1 len 11
[    6.749973] hci0: hu ffff8e71f1117818 skb ffff8e71f16fc900



[    6.750436] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    6.753262] hci0: type 1 len 3
[    6.753275] hci0: hu ffff8e71f1117818 skb ffff8e71f16fcb00



[    6.758073] hci0: type 1 len 3
[    6.758085] hci0: hu ffff8e71f1117818 skb ffff8e71f16fc300


[    6.762757] hci0: type 1 len 3
[    6.762761] hci0: hu ffff8e71f1117818 skb ffff8e71f16fcc00



[    6.871147] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    6.881247] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.891892] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    6.911574] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    7.117085] SSE version of gcm_enc/dec engaged.
[    7.132215] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[    7.133039] usbcore: registered new interface driver brcmfmac
[    7.219015] random: crng init done
[    7.421926] input: gpio-keys as /devices/platform/gpio-keys.0.auto/input/input13
[    7.422707] input: gpio-keys as /devices/platform/gpio-keys.1.auto/input/input14
[    7.498508] intel_rapl: Found RAPL domain package
[    7.498523] intel_rapl: Found RAPL domain core
[    7.659232] intel-spi intel-spi: w25q64dw (8192 Kbytes)
[    7.730071] Creating 1 MTD partitions on "intel-spi":
[    7.730077] 0x000000000000-0x000000800000 : "BIOS"
[    7.834823] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[    7.841816] cht-bsw-rt5645 cht-bsw-rt5645: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[    7.841854] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[    7.843527] cht-bsw-rt5645 cht-bsw-rt5645: rt5645-aif1 <-> ssp2-port mapping ok
[    7.908981] input: chtrt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card1/input15
[    8.004096] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 16 -> VIRQ 140
[    8.035985] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 17 -> VIRQ 141
[    8.068258] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 18 -> VIRQ 142
[    8.087289] audit: type=1400 audit(1507346663.667:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="content-hub-clipboard" pid=758 comm="apparmor_parser"
[    8.108108] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 19 -> VIRQ 143
[    8.113272] audit: type=1400 audit(1507346663.695:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="content-hub-peer-picker" pid=756 comm="apparmor_parser"
[    8.136271] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 24 -> VIRQ 148
[    8.147945] audit: type=1400 audit(1507346663.727:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="url-dispatcher-bad-url-helper" pid=766 comm="apparmor_parser"
[    8.162427] axp288_fuel_gauge axp288_fuel_gauge: HW IRQ 25 -> VIRQ 149
[    8.796078] hdev ffff8e71fa9c6000 serdev ffff8e71f535b000
[    8.800602] hci0: hu ffff8e71f1117818
[    8.805168] hdev ffff8e71fa9c6000
[    8.809723] hdev ffff8e71fa9c6000 serdev ffff8e71f535b000
[    8.814318] hci0: hu ffff8e71f1117818
[    9.062862] audit: type=1400 audit(1507346664.643:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=759 comm="apparmor_parser"
[    9.067806] audit: type=1400 audit(1507346664.643:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=759 comm="apparmor_parser"
[    9.073057] audit: type=1400 audit(1507346664.643:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=759 comm="apparmor_parser"
[    9.081778] audit: type=1400 audit(1507346664.643:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=759 comm="apparmor_parser"
[    9.092604] audit: type=1400 audit(1507346664.675:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ubuntu-printing-app" pid=774 comm="apparmor_parser"
[    9.108052] audit: type=1400 audit(1507346664.687:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="unity8-dash" pid=776 comm="apparmor_parser"
[    9.225072] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  1 2015 07:29:38 version 7.45.18 (r538002) FWID 01-6a2c8ad4
[    9.332531] audit: type=1400 audit(1507346664.915:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=757 comm="apparmor_parser"
[   15.022054] usb 1-3: USB disconnect, device number 3
[   15.026582] usb 1-3.1: USB disconnect, device number 5
[   15.249027] usb 1-3.2: USB disconnect, device number 6
[   15.616111] usb 1-3: new high-speed USB device number 7 using xhci_hcd
[   15.768509] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   15.772978] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   15.777425] usb 1-3: Product: USB 2.0 Hub
[   15.782870] hub 1-3:1.0: USB hub found
[   15.787851] hub 1-3:1.0: 4 ports detected
[   16.100087] usb 1-3.1: new full-speed USB device number 8 using xhci_hcd
[   16.227450] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   16.231922] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   16.236432] usb 1-3.1: Product: USB Receiver
[   16.241032] usb 1-3.1: Manufacturer: Logitech
[   16.252529] logitech-djreceiver 0003:046D:C52B.000C: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   16.388320] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.000C/0003:046D:101A.000D/input/input16
[   16.394135] logitech-hidpp-device 0003:046D:101A.000D: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   16.406442] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.000C/0003:046D:2010.000E/input/input17
[   16.412042] logitech-hidpp-device 0003:046D:2010.000E: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   16.456100] usb 1-3.2: new low-speed USB device number 9 using xhci_hcd
[   16.585922] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   16.590888] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.596187] usb 1-3.2: Product: 4 Port KVMSwicther
[   16.601352] usb 1-3.2: Manufacturer: No brand
[   16.606488] usb 1-3.2: SerialNumber: 1ô²
[   16.617962] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.000F/input/input18
[   16.681317] hid-generic 0003:10D5:55A4.000F: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   16.687357] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   17.604103] kauditd_printk_skb: 19 callbacks suppressed
[   17.609312] audit: type=1400 audit(1507346673.183:31): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=767 comm="apparmor_parser"
[   17.614474] audit: type=1400 audit(1507346673.187:32): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince//sanitized_helper" pid=767 comm="apparmor_parser"
[   17.619759] audit: type=1400 audit(1507346673.191:33): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer" pid=767 comm="apparmor_parser"
[   17.625519] audit: type=1400 audit(1507346673.191:34): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-previewer//sanitized_helper" pid=767 comm="apparmor_parser"
[   17.625526] audit: type=1400 audit(1507346673.195:35): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer" pid=767 comm="apparmor_parser"
[   17.625531] audit: type=1400 audit(1507346673.195:36): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince-thumbnailer//sanitized_helper" pid=767 comm="apparmor_parser"
[   17.979325] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.979327] Bluetooth: BNEP filters: protocol multicast
[   17.979337] Bluetooth: BNEP socket layer initialized
[   17.995687] hci0 ffff8e71fa9c6000
[   18.000197] hci0: type 1 len 3
[   18.000204] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b100



[   18.002444] hci0: type 1 len 3
[   18.002448] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b600



[   18.004698] hci0: type 1 len 3
[   18.004702] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4ba00



[   18.006788] hci0: type 1 len 3
[   18.006791] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b400



[   18.008978] hci0: type 1 len 3
[   18.008981] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4bb00



[   18.013328] hci0: type 1 len 3
[   18.013332] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4ba00


[   18.041937] hci0: type 1 len 3
[   18.041940] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4be00



[   18.043659] hci0: type 1 len 3
[   18.043663] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4bc00



[   18.045986] hci0: type 1 len 3
[   18.045989] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b600



[   18.048250] hci0: type 1 len 4
[   18.048254] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b100



[   18.049913] hci0: type 1 len 5
[   18.049916] hci0: hu ffff8e71f1117818 skb ffff8e71f1c4b200



[   18.051743] hci0: type 1 len 3
[   18.051748] hci0: hu ffff8e71f1117818 skb ffff8e71f234d300



[   18.053567] hci0: type 1 len 3
[   18.053571] hci0: hu ffff8e71f1117818 skb ffff8e71f234d800



[   18.055876] hci0: type 1 len 3
[   18.055880] hci0: hu ffff8e71f1117818 skb ffff8e71f234d600



[   18.058128] hci0: type 1 len 3
[   18.058131] hci0: hu ffff8e71f1117818 skb ffff8e71f23a2c00



[   18.065344] hci0: type 1 len 4
[   18.065347] hci0: hu ffff8e71f1117818 skb ffff8e71f23a2300



[   18.117352] hci0: type 1 len 4
[   18.117356] hci0: hu ffff8e71f1117818 skb ffff8e71f23a2000



[   18.121603] hci0: type 1 len 3
[   18.121607] hci0: hu ffff8e71f1117818 skb ffff8e71f23a2a00



[   18.125726] hci0: type 1 len 4
[   18.125730] hci0: hu ffff8e71f1117818 skb ffff8e71f23a2d00



[   18.128612] hci0: type 1 len 11
[   18.128616] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7700



[   18.131454] hci0: type 1 len 10
[   18.131458] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7100



[   18.134216] hci0: type 1 len 5
[   18.134220] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7900



[   18.136272] hci0: type 1 len 3
[   18.136274] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7200



[   18.138275] hci0: type 1 len 3
[   18.138277] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7400



[   18.140127] hci0: type 1 len 11
[   18.140129] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7b00



[   18.142833] hci0: type 1 len 3
[   18.142837] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7500



[   18.146189] hci0: type 1 len 3
[   18.146193] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7300



[   18.149939] hci0: type 1 len 3
[   18.149943] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7f00



[   18.151897] hci0: type 1 len 5
[   18.151901] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7c00



[   18.155486] hci0: type 1 len 4
[   18.155491] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7e00



[   18.159539] hci0: type 1 len 10
[   18.159543] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7e00



[   18.162475] hci0: type 1 len 11
[   18.162479] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7c00



[   18.165410] hci0: type 1 len 3
[   18.165414] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7f00



[   18.168148] hci0: type 1 len 3
[   18.168153] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7300



[   18.171227] hci0: type 1 len 3
[   18.171231] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7500



[   18.173877] hci0: type 1 len 4
[   18.173881] hci0: hu ffff8e71f1117818 skb ffff8e71f9ed7b00



[   18.218872] hci0: type 1 len 35
[   18.218876] hci0: hu ffff8e71f1117818 skb ffff8e71f233a100



[   18.223915] hci0: type 1 len 35
[   18.223920] hci0: hu ffff8e71f1117818 skb ffff8e71f233ab00



[   18.229036] hci0: type 1 len 251
[   18.229040] hci0: hu ffff8e71f1117818 skb ffff8e71f233ad00



[   18.255339] hci0: type 1 len 244
[   18.255343] hci0: hu ffff8e71f1117818 skb ffff8e71f233ae00



[   18.282303] hci0: type 1 len 6
[   18.282307] hci0: hu ffff8e71f1117818 skb ffff8e71f233aa00


[   18.288457] hci0: type 1 len 244
[   18.288461] hci0: hu ffff8e71f1117818 skb ffff8e71f5eab200



[   18.314376] hci0: type 1 len 244
[   18.314379] hci0: hu ffff8e71f1117818 skb ffff8e71f5eab200



[   18.340221] hci0: type 1 len 4
[   18.340226] hci0: hu ffff8e71f1117818 skb ffff8e71f233a100



[   18.342321] hci0: type 1 len 244
[   18.342325] hci0: hu ffff8e71f1117818 skb ffff8e71f5eab900



[   18.368199] hci0: type 1 len 251
[   18.368203] hci0: hu ffff8e71f1117818 skb ffff8e71f5eab700



[   18.395103] hci0: type 1 len 244
[   18.395107] hci0: hu ffff8e71f1117818 skb ffff8e71f5eab300



[   18.537325] audit: type=1400 audit(1507346674.119:37): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=987 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   18.539939] audit: type=1400 audit(1507346674.119:38): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=987 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   18.541159] audit: type=1400 audit(1507346674.123:39): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=987 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   18.541194] audit: type=1400 audit(1507346674.123:40): apparmor="DENIED" operation="create" profile="/usr/sbin/cupsd" pid=987 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   18.824529] systemd[1]: motd-news.timer: Adding 26min 8.066041s random time.
[   18.828148] systemd[1]: apt-daily.timer: Adding 5h 24min 50.248163s random time.
[   18.831305] systemd[1]: snapd.refresh.timer: Adding 37min 50.599500s random time.
[   18.833712] systemd[1]: snapd.refresh.timer: Adding 4h 27min 40.128894s random time.
[   19.061855] hci0: type 1 len 251
[   19.064819] hci0: hu ffff8e71f1117818 skb ffff8e71f46ae300



[   19.098316] hci0: type 1 len 244
[   19.101360] hci0: hu ffff8e71f1117818 skb ffff8e71f46ae900



[   19.195839] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   19.247127] r8169 0000:01:00.0 enp1s0: link down
[   19.249803] r8169 0000:01:00.0 enp1s0: link down
[   19.252561] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   19.261565] systemd[1]: motd-news.timer: Adding 15min 122.507ms random time.
[   19.265782] systemd[1]: apt-daily.timer: Adding 8h 5min 46.333236s random time.
[   19.269800] systemd[1]: snapd.refresh.timer: Adding 3h 10min 25.311478s random time.
[   19.269881] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.275802] systemd[1]: snapd.refresh.timer: Adding 1h 16min 19.470904s random time.
[   19.315477] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.842023] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.988477] brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
[   19.988500] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-16
[   19.996656] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   22.262056] r8169 0000:01:00.0 enp1s0: link up
[   22.262087] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
[   22.617070] kauditd_printk_skb: 74 callbacks suppressed
[   22.617079] audit: type=1400 audit(1507346678.199:115): apparmor="DENIED" operation="create" profile="/usr/lib/NetworkManager/nm-dhcp-helper" pid=1309 comm="nm-dhcp-helper" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.658238] audit: type=1400 audit(1507346678.239:116): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1317 comm="dhclient" family="unix" sock_type="dgram" protocol=0 requested_mask="create" denied_mask="create"
[   22.659385] audit: type=1400 audit(1507346678.239:117): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1317 comm="dhclient" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.659402] audit: type=1400 audit(1507346678.239:118): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1317 comm="dhclient" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.672477] audit: type=1400 audit(1507346678.255:119): apparmor="DENIED" operation="create" profile="/usr/lib/NetworkManager/nm-dhcp-helper" pid=1320 comm="nm-dhcp-helper" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.705754] audit: type=1400 audit(1507346678.287:120): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1329 comm="dhclient" family="unix" sock_type="dgram" protocol=0 requested_mask="create" denied_mask="create"
[   22.706842] audit: type=1400 audit(1507346678.287:121): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1329 comm="dhclient" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.706882] audit: type=1400 audit(1507346678.287:122): apparmor="DENIED" operation="create" profile="/sbin/dhclient" pid=1329 comm="dhclient" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.718911] audit: type=1400 audit(1507346678.299:123): apparmor="DENIED" operation="create" profile="/usr/lib/NetworkManager/nm-dhcp-helper" pid=1332 comm="nm-dhcp-helper" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   22.963062] audit: type=1400 audit(1507346678.543:124): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   23.212523] intel_sst_acpi 808622A8:00: FW Version 01.0b.02.02
[   23.660761] hci0: type 1 len 6
[   23.660773] hci0: hu ffff8e71f1117818 skb ffff8e71f51b2000



[   23.664082] hci0: type 1 len 244
[   23.664097] hci0: hu ffff8e71f1117818 skb ffff8e71f51b2200



[   23.697839] Bluetooth: RFCOMM TTY layer initialized
[   23.697858] Bluetooth: RFCOMM socket layer initialized
[   23.697878] Bluetooth: RFCOMM ver 1.11
[   23.698794] hci0: type 1 len 6
[   23.698803] hci0: hu ffff8e71f1117818 skb ffff8e71f259e600



[   23.701343] hci0: type 1 len 244
[   23.701354] hci0: hu ffff8e71f1117818 skb ffff8e71f259e700



[   23.726833] hci0: type 1 len 244
[   23.726845] hci0: hu ffff8e71f1117818 skb ffff8e71f4b0df00



[   26.493444] usb 1-3: USB disconnect, device number 7
[   26.493457] usb 1-3.1: USB disconnect, device number 8
[   26.583677] hci0: type 1 len 6
[   26.583687] hci0: hu ffff8e71f1117818 skb ffff8e71f5eb1e00



[   26.588182] hci0: type 1 len 244
[   26.588193] hci0: hu ffff8e71f1117818 skb ffff8e71f5eb1100



[   26.613385] hci0: type 1 len 6
[   26.613400] hci0: hu ffff8e71f1117818 skb ffff8e71f5f98400



[   26.615493] hci0: type 1 len 244
[   26.615503] hci0: hu ffff8e71f1117818 skb ffff8e71f5f98100



[   26.641140] hci0: type 1 len 244
[   26.641154] hci0: hu ffff8e71f1117818 skb ffff8e71f45f0900



[   26.692835] usb 1-3.2: USB disconnect, device number 9
[   27.096511] usb 1-3: new high-speed USB device number 10 using xhci_hcd
[   27.244423] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   27.244432] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   27.244436] usb 1-3: Product: USB 2.0 Hub
[   27.245378] hub 1-3:1.0: USB hub found
[   27.245416] hub 1-3:1.0: 4 ports detected
[   27.553021] usb 1-3.1: new full-speed USB device number 11 using xhci_hcd
[   27.660481] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   27.660500] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   27.660510] usb 1-3.1: Product: USB Receiver
[   27.660519] usb 1-3.1: Manufacturer: Logitech
[   27.674425] logitech-djreceiver 0003:046D:C52B.0012: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   27.812401] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0012/0003:046D:101A.0013/input/input19
[   27.812715] logitech-hidpp-device 0003:046D:101A.0013: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   27.821607] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0012/0003:046D:2010.0014/input/input20
[   27.822199] logitech-hidpp-device 0003:046D:2010.0014: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   27.900089] usb 1-3.2: new low-speed USB device number 12 using xhci_hcd
[   27.964697] kauditd_printk_skb: 4 callbacks suppressed
[   27.964707] audit: type=1400 audit(1507346683.547:129): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   28.010553] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   28.010573] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   28.010589] usb 1-3.2: Product: 4 Port KVMSwicther
[   28.010595] usb 1-3.2: Manufacturer: No brand
[   28.010600] usb 1-3.2: SerialNumber: 1ô²
[   28.019489] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0015/input/input21
[   28.077298] hid-generic 0003:10D5:55A4.0015: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   28.078184] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   28.965527] audit: type=1400 audit(1507346684.547:130): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   29.965522] audit: type=1400 audit(1507346685.547:131): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   30.626465] hci0: type 1 len 6
[   30.626476] hci0: hu ffff8e71f1117818 skb ffff8e71f3c32f00



[   30.629063] hci0: type 1 len 244
[   30.629073] hci0: hu ffff8e71f1117818 skb ffff8e71f3c32c00



[   30.654302] hci0: type 1 len 6
[   30.654319] hci0: hu ffff8e71f1117818 skb ffff8e71f4ac3400



[   30.657896] hci0: type 1 len 244
[   30.657907] hci0: hu ffff8e71f1117818 skb ffff8e71f4ac3d00



[   30.683108] hci0: type 1 len 244
[   30.683119] hci0: hu ffff8e71f1117818 skb ffff8e71f4ac3000



[   30.965698] audit: type=1400 audit(1507346686.547:132): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   31.965876] audit: type=1400 audit(1507346687.547:133): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   32.966059] audit: type=1400 audit(1507346688.547:134): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   33.966217] audit: type=1400 audit(1507346689.547:135): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   34.966406] audit: type=1400 audit(1507346690.547:136): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   35.966577] audit: type=1400 audit(1507346691.547:137): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   36.966952] audit: type=1400 audit(1507346692.547:138): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   37.967148] audit: type=1400 audit(1507346693.547:139): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   38.967405] audit: type=1400 audit(1507346694.547:140): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   39.967952] audit: type=1400 audit(1507346695.547:141): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   40.968324] audit: type=1400 audit(1507346696.547:142): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   41.083428] logitech-djreceiver 0003:046D:C52B.0018: hiddev0,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   41.212363] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0018/0003:046D:101A.0019/input/input22
[   41.212867] logitech-hidpp-device 0003:046D:101A.0019: input,hidraw3: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   41.222433] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0018/0003:046D:2010.001A/input/input23
[   41.223184] logitech-hidpp-device 0003:046D:2010.001A: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   41.968161] audit: type=1400 audit(1507346697.551:143): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   42.969009] audit: type=1400 audit(1507346698.555:144): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   43.969878] audit: type=1400 audit(1507346699.555:145): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   44.970302] audit: type=1400 audit(1507346700.555:146): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   45.749526] usb 1-3: USB disconnect, device number 10
[   45.749559] usb 1-3.1: USB disconnect, device number 11
[   45.945207] usb 1-3.2: USB disconnect, device number 12
[   45.970378] audit: type=1400 audit(1507346701.551:147): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   46.324357] usb 1-3: new high-speed USB device number 13 using xhci_hcd
[   46.473162] usb 1-3: New USB device found, idVendor=1a40, idProduct=0101
[   46.473189] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   46.473205] usb 1-3: Product: USB 2.0 Hub
[   46.474580] hub 1-3:1.0: USB hub found
[   46.474839] hub 1-3:1.0: 4 ports detected
[   46.764705] usb 1-3.1: new full-speed USB device number 14 using xhci_hcd
[   46.874278] usb 1-3.1: New USB device found, idVendor=046d, idProduct=c52b
[   46.874307] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   46.874324] usb 1-3.1: Product: USB Receiver
[   46.874339] usb 1-3.1: Manufacturer: Logitech
[   46.887597] logitech-djreceiver 0003:046D:C52B.001D: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   46.970708] audit: type=1400 audit(1507346702.555:148): apparmor="DENIED" operation="create" profile="/usr/sbin/cups-browsed" pid=1079 comm="cups-browsed" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create"
[   47.017196] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.001D/0003:046D:101A.001E/input/input24
[   47.017857] logitech-hidpp-device 0003:046D:101A.001E: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   47.024850] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.001D/0003:046D:2010.001F/input/input25
[   47.026113] logitech-hidpp-device 0003:046D:2010.001F: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2
[   47.088545] usb 1-3.2: new low-speed USB device number 15 using xhci_hcd
[   47.218305] usb 1-3.2: New USB device found, idVendor=10d5, idProduct=55a4
[   47.218336] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   47.218353] usb 1-3.2: Product: 4 Port KVMSwicther
[   47.218369] usb 1-3.2: Manufacturer: No brand
[   47.218382] usb 1-3.2: SerialNumber: 1ô²
[   47.233773] input: No brand 4 Port KVMSwicther as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:10D5:55A4.0020/input/input26
[   47.295634] hid-generic 0003:10D5:55A4.0020: input,hidraw6: USB HID v1.10 Keyboard [No brand 4 Port KVMSwicther] on usb-0000:00:14.0-3.2/input0
[   47.297063] usbhid 1-3.2:1.1: couldn't find an input interrupt endpoint
[   47.540182] logitech-djreceiver 0003:046D:C52B.0023: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-3.1/input2
[   47.673470] input: Logitech Performance MX as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0023/0003:046D:101A.0024/input/input27
[   47.677642] logitech-hidpp-device 0003:046D:101A.0024: input,hidraw4: USB HID v1.11 Mouse [Logitech Performance MX] on usb-0000:00:14.0-3.1:1
[   47.684418] input: Logitech K800 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.1/1-3.1:1.2/0003:046D:C52B.0023/0003:046D:2010.0025/input/input28
[   47.685150] logitech-hidpp-device 0003:046D:2010.0025: input,hidraw5: USB HID v1.11 Keyboard [Logitech K800] on usb-0000:00:14.0-3.1:2

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-07  0:31                 ` Marcel Holtmann
@ 2017-10-07  6:42                     ` Greg Kroah-Hartman
  -1 siblings, 0 replies; 49+ messages in thread
From: Greg Kroah-Hartman @ 2017-10-07  6:42 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Rafael J. Wysocki, Rob Herring, Frédéric Danis,
	Sebastian Reichel, Loic Poulain, Johan Hovold, Lukas Wunner,
	Hans de Goede, open list:BLUETOOTH DRIVERS,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

On Sat, Oct 07, 2017 at 02:31:05AM +0200, Marcel Holtmann wrote:
> Hi Rafael,
> 
> >>>> This patch allows SerDev module to manage serial devices declared as
> >>>> attached to an UART in ACPI table.
> >>>> 
> >>>> acpi_serdev_add_device() callback will only take into account entries
> >>>> without enumerated flag set. This flags is set for all entries during
> >>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
> >>>> 2nd patch in the series.
> >>>> 
> >>>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >>>> ---
> >>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
> >>>> 1 file changed, 94 insertions(+), 5 deletions(-)
> >>> 
> >>> Reviewed-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> >> 
> >> so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.
> > 
> > That would be fine by me.  I can take the serdev patch too, though.
> 
> having both patches go via ACPI tree might be simplest. Greg, any objections from you?

None from me, let me go ack the serdev patch...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-07  6:42                     ` Greg Kroah-Hartman
  0 siblings, 0 replies; 49+ messages in thread
From: Greg Kroah-Hartman @ 2017-10-07  6:42 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Rafael J. Wysocki, Rob Herring, Frédéric Danis,
	Sebastian Reichel, Loic Poulain, Johan Hovold, Lukas Wunner,
	Hans de Goede, open list:BLUETOOTH DRIVERS, linux-serial,
	linux-acpi

On Sat, Oct 07, 2017 at 02:31:05AM +0200, Marcel Holtmann wrote:
> Hi Rafael,
> 
> >>>> This patch allows SerDev module to manage serial devices declared as
> >>>> attached to an UART in ACPI table.
> >>>> 
> >>>> acpi_serdev_add_device() callback will only take into account entries
> >>>> without enumerated flag set. This flags is set for all entries during
> >>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
> >>>> 2nd patch in the series.
> >>>> 
> >>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> >>>> ---
> >>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
> >>>> 1 file changed, 94 insertions(+), 5 deletions(-)
> >>> 
> >>> Reviewed-by: Rob Herring <robh@kernel.org>
> >> 
> >> so how do we get these changes upstream? If the serdev changes alone do not cause any harm, I am almost proposing taking them through bluetooth-next tree and only leave only the ACPI change to the ACPI maintainers.
> > 
> > That would be fine by me.  I can take the serdev patch too, though.
> 
> having both patches go via ACPI tree might be simplest. Greg, any objections from you?

None from me, let me go ack the serdev patch...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-04  8:51     ` Frédéric Danis
@ 2017-10-07  6:42         ` Greg KH
  -1 siblings, 0 replies; 49+ messages in thread
From: Greg KH @ 2017-10-07  6:42 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, marcel-kz+m5ild9QBg9hUCZPvPmw,
	sre-DgEjT+Ai2ygdnm+yROfE0A, loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	johan-DgEjT+Ai2ygdnm+yROfE0A, lukas-JFq808J9C/izQB+pC5nmwQ,
	hdegoede-H+wXaHxf7aLQT0dZR+AlfA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

On Wed, Oct 04, 2017 at 10:51:29AM +0200, Frédéric Danis wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
> 
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Acked-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-07  6:42         ` Greg KH
  0 siblings, 0 replies; 49+ messages in thread
From: Greg KH @ 2017-10-07  6:42 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede,
	linux-bluetooth, linux-serial, linux-acpi

On Wed, Oct 04, 2017 at 10:51:29AM +0200, Frédéric Danis wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
> 
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-04  8:51     ` Frédéric Danis
@ 2017-10-07 11:35         ` Sebastian Reichel
  -1 siblings, 0 replies; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-07 11:35 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, marcel-kz+m5ild9QBg9hUCZPvPmw,
	loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	johan-DgEjT+Ai2ygdnm+yROfE0A, lukas-JFq808J9C/izQB+pC5nmwQ,
	hdegoede-H+wXaHxf7aLQT0dZR+AlfA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 5241 bytes --]

Hi,

On Wed, Oct 04, 2017 at 10:51:29AM +0200, Frédéric Danis wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
> 
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Reviewed-by: Sebastian Reichel <sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>

-- Sebastian

> ---
>  drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 94 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
> index c68fb3a..104777d 100644
> --- a/drivers/tty/serdev/core.c
> +++ b/drivers/tty/serdev/core.c
> @@ -14,6 +14,7 @@
>   * GNU General Public License for more details.
>   */
>  
> +#include <linux/acpi.h>
>  #include <linux/errno.h>
>  #include <linux/idr.h>
>  #include <linux/kernel.h>
> @@ -49,13 +50,22 @@ static const struct device_type serdev_ctrl_type = {
>  
>  static int serdev_device_match(struct device *dev, struct device_driver *drv)
>  {
> -	/* TODO: ACPI and platform matching */
> +	/* TODO: platform matching */
> +	if (acpi_driver_match_device(dev, drv))
> +		return 1;
> +
>  	return of_driver_match_device(dev, drv);
>  }
>  
>  static int serdev_uevent(struct device *dev, struct kobj_uevent_env *env)
>  {
> -	/* TODO: ACPI and platform modalias */
> +	int rc;
> +
> +	/* TODO: platform modalias */
> +	rc = acpi_device_uevent_modalias(dev, env);
> +	if (rc != -ENODEV)
> +		return rc;
> +
>  	return of_device_uevent_modalias(dev, env);
>  }
>  
> @@ -260,6 +270,12 @@ static int serdev_drv_remove(struct device *dev)
>  static ssize_t modalias_show(struct device *dev,
>  			     struct device_attribute *attr, char *buf)
>  {
> +	int len;
> +
> +	len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1);
> +	if (len != -ENODEV)
> +		return len;
> +
>  	return of_device_modalias(dev, buf, PAGE_SIZE);
>  }
>  DEVICE_ATTR_RO(modalias);
> @@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>  	return 0;
>  }
>  
> +#ifdef CONFIG_ACPI
> +static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
> +					    struct acpi_device *adev)
> +{
> +	struct serdev_device *serdev = NULL;
> +	int err;
> +
> +	if (acpi_bus_get_status(adev) || !adev->status.present ||
> +	    acpi_device_enumerated(adev))
> +		return AE_OK;
> +
> +	serdev = serdev_device_alloc(ctrl);
> +	if (!serdev) {
> +		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",
> +			dev_name(&adev->dev));
> +		return AE_NO_MEMORY;
> +	}
> +
> +	ACPI_COMPANION_SET(&serdev->dev, adev);
> +	acpi_device_set_enumerated(adev);
> +
> +	err = serdev_device_add(serdev);
> +	if (err) {
> +		dev_err(&serdev->dev,
> +			"failure adding ACPI device. status %d\n", err);
> +		serdev_device_put(serdev);
> +	}
> +
> +	return AE_OK;
> +}
> +
> +static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
> +				       void *data, void **return_value)
> +{
> +	struct serdev_controller *ctrl = data;
> +	struct acpi_device *adev;
> +
> +	if (acpi_bus_get_device(handle, &adev))
> +		return AE_OK;
> +
> +	return acpi_serdev_register_device(ctrl, adev);
> +}
> +
> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
> +{
> +	acpi_status status;
> +	acpi_handle handle;
> +
> +	handle = ACPI_HANDLE(ctrl->dev.parent);
> +	if (!handle)
> +		return -ENODEV;
> +
> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
> +	if (ACPI_FAILURE(status)) {
> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
> +		return -ENODEV;
> +	}
> +
> +	return 0;
> +}
> +#else
> +static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)
> +{
> +	return -ENODEV;
> +}
> +#endif /* CONFIG_ACPI */
> +
>  /**
>   * serdev_controller_add() - Add an serdev controller
>   * @ctrl:	controller to be registered.
> @@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>   */
>  int serdev_controller_add(struct serdev_controller *ctrl)
>  {
> -	int ret;
> +	int ret_of, ret_acpi, ret;
>  
>  	/* Can't register until after driver model init */
>  	if (WARN_ON(!is_registered))
> @@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
>  	if (ret)
>  		return ret;
>  
> -	ret = of_serdev_register_devices(ctrl);
> -	if (ret)
> +	ret_of = of_serdev_register_devices(ctrl);
> +	ret_acpi = acpi_serdev_register_devices(ctrl);
> +	if (ret_of && ret_acpi) {
> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
> +			ctrl->nr, ret_of, ret_acpi);
> +		ret = -ENODEV;
>  		goto out_dev_del;
> +	}
>  
>  	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
>  		ctrl->nr, &ctrl->dev);
> -- 
> 2.7.4
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-07 11:35         ` Sebastian Reichel
  0 siblings, 0 replies; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-07 11:35 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh, marcel, loic.poulain, johan, lukas, hdegoede,
	linux-bluetooth, linux-serial, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 5187 bytes --]

Hi,

On Wed, Oct 04, 2017 at 10:51:29AM +0200, Frédéric Danis wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
> 
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

-- Sebastian

> ---
>  drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 94 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
> index c68fb3a..104777d 100644
> --- a/drivers/tty/serdev/core.c
> +++ b/drivers/tty/serdev/core.c
> @@ -14,6 +14,7 @@
>   * GNU General Public License for more details.
>   */
>  
> +#include <linux/acpi.h>
>  #include <linux/errno.h>
>  #include <linux/idr.h>
>  #include <linux/kernel.h>
> @@ -49,13 +50,22 @@ static const struct device_type serdev_ctrl_type = {
>  
>  static int serdev_device_match(struct device *dev, struct device_driver *drv)
>  {
> -	/* TODO: ACPI and platform matching */
> +	/* TODO: platform matching */
> +	if (acpi_driver_match_device(dev, drv))
> +		return 1;
> +
>  	return of_driver_match_device(dev, drv);
>  }
>  
>  static int serdev_uevent(struct device *dev, struct kobj_uevent_env *env)
>  {
> -	/* TODO: ACPI and platform modalias */
> +	int rc;
> +
> +	/* TODO: platform modalias */
> +	rc = acpi_device_uevent_modalias(dev, env);
> +	if (rc != -ENODEV)
> +		return rc;
> +
>  	return of_device_uevent_modalias(dev, env);
>  }
>  
> @@ -260,6 +270,12 @@ static int serdev_drv_remove(struct device *dev)
>  static ssize_t modalias_show(struct device *dev,
>  			     struct device_attribute *attr, char *buf)
>  {
> +	int len;
> +
> +	len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1);
> +	if (len != -ENODEV)
> +		return len;
> +
>  	return of_device_modalias(dev, buf, PAGE_SIZE);
>  }
>  DEVICE_ATTR_RO(modalias);
> @@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>  	return 0;
>  }
>  
> +#ifdef CONFIG_ACPI
> +static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
> +					    struct acpi_device *adev)
> +{
> +	struct serdev_device *serdev = NULL;
> +	int err;
> +
> +	if (acpi_bus_get_status(adev) || !adev->status.present ||
> +	    acpi_device_enumerated(adev))
> +		return AE_OK;
> +
> +	serdev = serdev_device_alloc(ctrl);
> +	if (!serdev) {
> +		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",
> +			dev_name(&adev->dev));
> +		return AE_NO_MEMORY;
> +	}
> +
> +	ACPI_COMPANION_SET(&serdev->dev, adev);
> +	acpi_device_set_enumerated(adev);
> +
> +	err = serdev_device_add(serdev);
> +	if (err) {
> +		dev_err(&serdev->dev,
> +			"failure adding ACPI device. status %d\n", err);
> +		serdev_device_put(serdev);
> +	}
> +
> +	return AE_OK;
> +}
> +
> +static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
> +				       void *data, void **return_value)
> +{
> +	struct serdev_controller *ctrl = data;
> +	struct acpi_device *adev;
> +
> +	if (acpi_bus_get_device(handle, &adev))
> +		return AE_OK;
> +
> +	return acpi_serdev_register_device(ctrl, adev);
> +}
> +
> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
> +{
> +	acpi_status status;
> +	acpi_handle handle;
> +
> +	handle = ACPI_HANDLE(ctrl->dev.parent);
> +	if (!handle)
> +		return -ENODEV;
> +
> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
> +	if (ACPI_FAILURE(status)) {
> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
> +		return -ENODEV;
> +	}
> +
> +	return 0;
> +}
> +#else
> +static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)
> +{
> +	return -ENODEV;
> +}
> +#endif /* CONFIG_ACPI */
> +
>  /**
>   * serdev_controller_add() - Add an serdev controller
>   * @ctrl:	controller to be registered.
> @@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>   */
>  int serdev_controller_add(struct serdev_controller *ctrl)
>  {
> -	int ret;
> +	int ret_of, ret_acpi, ret;
>  
>  	/* Can't register until after driver model init */
>  	if (WARN_ON(!is_registered))
> @@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
>  	if (ret)
>  		return ret;
>  
> -	ret = of_serdev_register_devices(ctrl);
> -	if (ret)
> +	ret_of = of_serdev_register_devices(ctrl);
> +	ret_acpi = acpi_serdev_register_devices(ctrl);
> +	if (ret_of && ret_acpi) {
> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
> +			ctrl->nr, ret_of, ret_acpi);
> +		ret = -ENODEV;
>  		goto out_dev_del;
> +	}
>  
>  	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
>  		ctrl->nr, &ctrl->dev);
> -- 
> 2.7.4
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-04  8:51 ` [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
@ 2017-10-07 11:36   ` Sebastian Reichel
       [not found]   ` <1507107090-15992-3-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  1 sibling, 0 replies; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-07 11:36 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh, marcel, loic.poulain, johan, lukas, hdegoede,
	linux-bluetooth, linux-serial, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 5191 bytes --]

Hi,

On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> UART devices is expected to be enumerated by SerDev subsystem.
> 
> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> enumerated, allowing them to be enumerated by their respective parents.
> 
> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> devices on serial buses (SPI, I2C or UART).
> 
> On Macs an empty ResourceTemplate is returned for uart slaves.
> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> ---

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>

-- Sebastian

>  drivers/acpi/scan.c     | 37 +++++++++++++++++--------------------
>  include/acpi/acpi_bus.h |  2 +-
>  2 files changed, 18 insertions(+), 21 deletions(-)
> 
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 602f8ff..860b698 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -1505,41 +1505,38 @@ static void acpi_init_coherency(struct acpi_device *adev)
>  	adev->flags.coherent_dma = cca;
>  }
>  
> -static int acpi_check_spi_i2c_slave(struct acpi_resource *ares, void *data)
> +static int acpi_check_serial_bus_slave(struct acpi_resource *ares, void *data)
>  {
> -	bool *is_spi_i2c_slave_p = data;
> +	bool *is_serial_bus_slave_p = data;
>  
>  	if (ares->type != ACPI_RESOURCE_TYPE_SERIAL_BUS)
>  		return 1;
>  
> -	/*
> -	 * devices that are connected to UART still need to be enumerated to
> -	 * platform bus
> -	 */
> -	if (ares->data.common_serial_bus.type != ACPI_RESOURCE_SERIAL_TYPE_UART)
> -		*is_spi_i2c_slave_p = true;
> +	*is_serial_bus_slave_p = true;
>  
>  	 /* no need to do more checking */
>  	return -1;
>  }
>  
> -static bool acpi_is_spi_i2c_slave(struct acpi_device *device)
> +static bool acpi_is_serial_bus_slave(struct acpi_device *device)
>  {
>  	struct list_head resource_list;
> -	bool is_spi_i2c_slave = false;
> +	bool is_serial_bus_slave = false;
>  
>  	/* Macs use device properties in lieu of _CRS resources */
>  	if (x86_apple_machine &&
>  	    (fwnode_property_present(&device->fwnode, "spiSclkPeriod") ||
> -	     fwnode_property_present(&device->fwnode, "i2cAddress")))
> +	     fwnode_property_present(&device->fwnode, "i2cAddress") ||
> +	     fwnode_property_present(&device->fwnode, "baud")))
>  		return true;
>  
>  	INIT_LIST_HEAD(&resource_list);
> -	acpi_dev_get_resources(device, &resource_list, acpi_check_spi_i2c_slave,
> -			       &is_spi_i2c_slave);
> +	acpi_dev_get_resources(device, &resource_list,
> +			       acpi_check_serial_bus_slave,
> +			       &is_serial_bus_slave);
>  	acpi_dev_free_resource_list(&resource_list);
>  
> -	return is_spi_i2c_slave;
> +	return is_serial_bus_slave;
>  }
>  
>  void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
> @@ -1557,7 +1554,7 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
>  	acpi_bus_get_flags(device);
>  	device->flags.match_driver = false;
>  	device->flags.initialized = true;
> -	device->flags.spi_i2c_slave = acpi_is_spi_i2c_slave(device);
> +	device->flags.serial_bus_slave = acpi_is_serial_bus_slave(device);
>  	acpi_device_clear_enumerated(device);
>  	device_initialize(&device->dev);
>  	dev_set_uevent_suppress(&device->dev, true);
> @@ -1841,10 +1838,10 @@ static acpi_status acpi_bus_check_add(acpi_handle handle, u32 lvl_not_used,
>  static void acpi_default_enumeration(struct acpi_device *device)
>  {
>  	/*
> -	 * Do not enumerate SPI/I2C slaves as they will be enumerated by their
> -	 * respective parents.
> +	 * Do not enumerate SPI/I2C/UART slaves as they will be enumerated by
> +	 * their respective parents.
>  	 */
> -	if (!device->flags.spi_i2c_slave) {
> +	if (!device->flags.serial_bus_slave) {
>  		acpi_create_platform_device(device, NULL);
>  		acpi_device_set_enumerated(device);
>  	} else {
> @@ -1941,7 +1938,7 @@ static void acpi_bus_attach(struct acpi_device *device)
>  		return;
>  
>  	device->flags.match_driver = true;
> -	if (ret > 0 && !device->flags.spi_i2c_slave) {
> +	if (ret > 0 && !device->flags.serial_bus_slave) {
>  		acpi_device_set_enumerated(device);
>  		goto ok;
>  	}
> @@ -1950,7 +1947,7 @@ static void acpi_bus_attach(struct acpi_device *device)
>  	if (ret < 0)
>  		return;
>  
> -	if (!device->pnp.type.platform_id && !device->flags.spi_i2c_slave)
> +	if (!device->pnp.type.platform_id && !device->flags.serial_bus_slave)
>  		acpi_device_set_enumerated(device);
>  	else
>  		acpi_default_enumeration(device);
> diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
> index fa15052..f849be2 100644
> --- a/include/acpi/acpi_bus.h
> +++ b/include/acpi/acpi_bus.h
> @@ -211,7 +211,7 @@ struct acpi_device_flags {
>  	u32 of_compatible_ok:1;
>  	u32 coherent_dma:1;
>  	u32 cca_seen:1;
> -	u32 spi_i2c_slave:1;
> +	u32 serial_bus_slave:1;
>  	u32 reserved:19;
>  };
>  
> -- 
> 2.7.4
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-04  8:51     ` Frédéric Danis
                       ` (2 preceding siblings ...)
  (?)
@ 2017-10-07 15:12     ` Johan Hovold
  2017-10-10  8:10       ` Marcel Holtmann
  -1 siblings, 1 reply; 49+ messages in thread
From: Johan Hovold @ 2017-10-07 15:12 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede,
	linux-bluetooth, linux-serial, linux-acpi

On Wed, Oct 04, 2017 at 10:51:29AM +0200, Frédéric Danis wrote:
> This patch allows SerDev module to manage serial devices declared as
> attached to an UART in ACPI table.
> 
> acpi_serdev_add_device() callback will only take into account entries
> without enumerated flag set. This flags is set for all entries during
> ACPI scan, except for SPI and I2C serial devices, and for UART with
> 2nd patch in the series.
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> ---
>  drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 94 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
> index c68fb3a..104777d 100644
> --- a/drivers/tty/serdev/core.c
> +++ b/drivers/tty/serdev/core.c

> @@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>  	return 0;
>  }
>  
> +#ifdef CONFIG_ACPI
> +static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
> +					    struct acpi_device *adev)
> +{
> +	struct serdev_device *serdev = NULL;
> +	int err;
> +
> +	if (acpi_bus_get_status(adev) || !adev->status.present ||
> +	    acpi_device_enumerated(adev))
> +		return AE_OK;
> +
> +	serdev = serdev_device_alloc(ctrl);
> +	if (!serdev) {
> +		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",

s/Serial/serdev/

> +			dev_name(&adev->dev));
> +		return AE_NO_MEMORY;
> +	}
> +
> +	ACPI_COMPANION_SET(&serdev->dev, adev);
> +	acpi_device_set_enumerated(adev);
> +
> +	err = serdev_device_add(serdev);
> +	if (err) {
> +		dev_err(&serdev->dev,
> +			"failure adding ACPI device. status %d\n", err);

s/ACPI/ACPI serdev/?

> +		serdev_device_put(serdev);
> +	}
> +
> +	return AE_OK;
> +}
> +
> +static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
> +				       void *data, void **return_value)
> +{
> +	struct serdev_controller *ctrl = data;
> +	struct acpi_device *adev;
> +
> +	if (acpi_bus_get_device(handle, &adev))
> +		return AE_OK;
> +
> +	return acpi_serdev_register_device(ctrl, adev);
> +}
> +
> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
> +{
> +	acpi_status status;
> +	acpi_handle handle;
> +
> +	handle = ACPI_HANDLE(ctrl->dev.parent);
> +	if (!handle)
> +		return -ENODEV;
> +
> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
> +	if (ACPI_FAILURE(status)) {
> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");

s/Serial/serdev/

> +		return -ENODEV;
> +	}
> +
> +	return 0;

What if there are no slaves defined? I'm not very familiar with the ACPI
helpers, but from a quick look it seems you'd then end up returning zero
here which would cause the serdev controller to be registered instead of
the tty-class device.

[ And if I'm mistaken, you do want to suppress that error message for
when there are no slaves defined. ]

> +}
> +#else
> +static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)

s/ctlr/ctrl/

> +{
> +	return -ENODEV;
> +}
> +#endif /* CONFIG_ACPI */
> +
>  /**
>   * serdev_controller_add() - Add an serdev controller
>   * @ctrl:	controller to be registered.
> @@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>   */
>  int serdev_controller_add(struct serdev_controller *ctrl)
>  {
> -	int ret;
> +	int ret_of, ret_acpi, ret;
>  
>  	/* Can't register until after driver model init */
>  	if (WARN_ON(!is_registered))
> @@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
>  	if (ret)
>  		return ret;
>  
> -	ret = of_serdev_register_devices(ctrl);
> -	if (ret)
> +	ret_of = of_serdev_register_devices(ctrl);
> +	ret_acpi = acpi_serdev_register_devices(ctrl);
> +	if (ret_of && ret_acpi) {
> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",

"serdev%d" is redundant here as you're using dev_dbg (which will print
the device name).

> +			ctrl->nr, ret_of, ret_acpi);
> +		ret = -ENODEV;
>  		goto out_dev_del;
> +	}
>  
>  	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
>  		ctrl->nr, &ctrl->dev);

Hmm, I see it's already used here. No need to follow that example
though.

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-06 17:36           ` Frédéric Danis
  2017-10-07  6:16             ` Ian W MORRISON
@ 2017-10-07 15:14             ` Johan Hovold
  1 sibling, 0 replies; 49+ messages in thread
From: Johan Hovold @ 2017-10-07 15:14 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Ian W MORRISON, Marcel Holtmann, Rob Herring, Sebastian Reichel,
	Loic Poulain, Johan Hovold, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi, Greg Kroah-Hartman

On Fri, Oct 06, 2017 at 07:36:27PM +0200, Frédéric Danis wrote:

> I took a look at dmesg.txt and I did not find any trace related to serdev.
> On the T100, where ttyS4 is used for Bluetooth, I can see the following 
> traces:
>    [   11.732347] serial serial0: allocated controller 
> 0xffff880036229000 id 0
>    [   11.732470] serial serial0-0: device serial0-0 registered
>    [   11.732475] serial serial0: serdev0 registered: dev:ffff880036229000
>    [   11.732478] serial serial0: tty port ttyS4 registered
> 
> If serdev registration failed you should at least get something like:
>      serdev0 no devices registered: of:<> acpi:<>

Only with debugging enabled (it's a dev_dbg).

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-04  8:51 ` [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
@ 2017-10-07 15:19       ` Johan Hovold
       [not found]   ` <1507107090-15992-3-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  1 sibling, 0 replies; 49+ messages in thread
From: Johan Hovold @ 2017-10-07 15:19 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh-DgEjT+Ai2ygdnm+yROfE0A, marcel-kz+m5ild9QBg9hUCZPvPmw,
	sre-DgEjT+Ai2ygdnm+yROfE0A, loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	johan-DgEjT+Ai2ygdnm+yROfE0A, lukas-JFq808J9C/izQB+pC5nmwQ,
	hdegoede-H+wXaHxf7aLQT0dZR+AlfA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> UART devices is expected to be enumerated by SerDev subsystem.
> 
> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> enumerated, allowing them to be enumerated by their respective parents.
> 
> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> devices on serial buses (SPI, I2C or UART).
> 
> On Macs an empty ResourceTemplate is returned for uart slaves.
> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

So just to reiterate what I just mentioned in a comment to one of Hans's
hci_bcm patches:

This one would silently break PM for such devices on any system which
does not have serdev enabled (as the corresponding platform devices
would no longer be registered). And with serdev enabled, hciattach
(btattach) would start failing as the tty device would no longer be
registered (but I assume everyone is aware of that, and fine with it, by
now).

Perhaps the hci_bcm driver should start depending on
SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
@ 2017-10-07 15:19       ` Johan Hovold
  0 siblings, 0 replies; 49+ messages in thread
From: Johan Hovold @ 2017-10-07 15:19 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: robh, marcel, sre, loic.poulain, johan, lukas, hdegoede,
	linux-bluetooth, linux-serial, linux-acpi

On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> UART devices is expected to be enumerated by SerDev subsystem.
> 
> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> enumerated, allowing them to be enumerated by their respective parents.
> 
> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> devices on serial buses (SPI, I2C or UART).
> 
> On Macs an empty ResourceTemplate is returned for uart slaves.
> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> 
> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>

So just to reiterate what I just mentioned in a comment to one of Hans's
hci_bcm patches:

This one would silently break PM for such devices on any system which
does not have serdev enabled (as the corresponding platform devices
would no longer be registered). And with serdev enabled, hciattach
(btattach) would start failing as the tty device would no longer be
registered (but I assume everyone is aware of that, and fine with it, by
now).

Perhaps the hci_bcm driver should start depending on
SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-07 15:19       ` Johan Hovold
  (?)
@ 2017-10-07 22:53       ` Sebastian Reichel
  2017-10-08  8:51           ` Marcel Holtmann
  2017-10-09  7:35         ` Johan Hovold
  -1 siblings, 2 replies; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-07 22:53 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Frédéric Danis, robh, marcel, loic.poulain, lukas,
	hdegoede, linux-bluetooth, linux-serial, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]

Hi,

On Sat, Oct 07, 2017 at 05:19:34PM +0200, Johan Hovold wrote:
> On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> > UART devices is expected to be enumerated by SerDev subsystem.
> > 
> > During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> > enumerated, allowing them to be enumerated by their respective parents.
> > 
> > Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> > devices on serial buses (SPI, I2C or UART).
> > 
> > On Macs an empty ResourceTemplate is returned for uart slaves.
> > Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> > provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> > 
> > Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> 
> So just to reiterate what I just mentioned in a comment to one of Hans's
> hci_bcm patches:
> 
> This one would silently break PM for such devices on any system which
> does not have serdev enabled (as the corresponding platform devices
> would no longer be registered). And with serdev enabled, hciattach
> (btattach) would start failing as the tty device would no longer be
> registered (but I assume everyone is aware of that, and fine with it, by
> now).
> 
> Perhaps the hci_bcm driver should start depending on
> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?

ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
for serdev. If any other controller is implemented that one could
also be used.

I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
it together with SERDEV. I suspect that we won't see any other
controller (it would be a UART device, that is not registered as
tty device) in the next few years and the extra option seems to
confuse people.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-07 22:53       ` Sebastian Reichel
@ 2017-10-08  8:51           ` Marcel Holtmann
  2017-10-09  7:35         ` Johan Hovold
  1 sibling, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-08  8:51 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Johan Hovold, Frédéric Danis, Rob Herring,
	Loic Poulain, Lukas Wunner, Hans de Goede,
	bluez mailin list
	(linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

Hi Sebastian,

>>> UART devices is expected to be enumerated by SerDev subsystem.
>>> 
>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
>>> enumerated, allowing them to be enumerated by their respective parents.
>>> 
>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
>>> devices on serial buses (SPI, I2C or UART).
>>> 
>>> On Macs an empty ResourceTemplate is returned for uart slaves.
>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
>>> 
>>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>> 
>> So just to reiterate what I just mentioned in a comment to one of Hans's
>> hci_bcm patches:
>> 
>> This one would silently break PM for such devices on any system which
>> does not have serdev enabled (as the corresponding platform devices
>> would no longer be registered). And with serdev enabled, hciattach
>> (btattach) would start failing as the tty device would no longer be
>> registered (but I assume everyone is aware of that, and fine with it, by
>> now).
>> 
>> Perhaps the hci_bcm driver should start depending on
>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> 
> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> for serdev. If any other controller is implemented that one could
> also be used.
> 
> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> it together with SERDEV. I suspect that we won't see any other
> controller (it would be a UART device, that is not registered as
> tty device) in the next few years and the extra option seems to
> confuse people.

I wonder if we should just default SERIAL_DEV_CTRL_TTYPORT=y when DT or ACPI is enabled. Then no driver would have to select or depend on it.

Regards

Marcel

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
@ 2017-10-08  8:51           ` Marcel Holtmann
  0 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-08  8:51 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Johan Hovold, Frédéric Danis, Rob Herring,
	Loic Poulain, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi

Hi Sebastian,

>>> UART devices is expected to be enumerated by SerDev subsystem.
>>> 
>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
>>> enumerated, allowing them to be enumerated by their respective parents.
>>> 
>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
>>> devices on serial buses (SPI, I2C or UART).
>>> 
>>> On Macs an empty ResourceTemplate is returned for uart slaves.
>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
>>> 
>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>> 
>> So just to reiterate what I just mentioned in a comment to one of Hans's
>> hci_bcm patches:
>> 
>> This one would silently break PM for such devices on any system which
>> does not have serdev enabled (as the corresponding platform devices
>> would no longer be registered). And with serdev enabled, hciattach
>> (btattach) would start failing as the tty device would no longer be
>> registered (but I assume everyone is aware of that, and fine with it, by
>> now).
>> 
>> Perhaps the hci_bcm driver should start depending on
>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> 
> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> for serdev. If any other controller is implemented that one could
> also be used.
> 
> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> it together with SERDEV. I suspect that we won't see any other
> controller (it would be a UART device, that is not registered as
> tty device) in the next few years and the extra option seems to
> confuse people.

I wonder if we should just default SERIAL_DEV_CTRL_TTYPORT=y when DT or ACPI is enabled. Then no driver would have to select or depend on it.

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-07 22:53       ` Sebastian Reichel
  2017-10-08  8:51           ` Marcel Holtmann
@ 2017-10-09  7:35         ` Johan Hovold
  2017-10-09  8:55           ` Sebastian Reichel
  1 sibling, 1 reply; 49+ messages in thread
From: Johan Hovold @ 2017-10-09  7:35 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Johan Hovold, Frédéric Danis, robh, marcel,
	loic.poulain, lukas, hdegoede, linux-bluetooth, linux-serial,
	linux-acpi

On Sun, Oct 08, 2017 at 12:53:11AM +0200, Sebastian Reichel wrote:
> Hi,
> 
> On Sat, Oct 07, 2017 at 05:19:34PM +0200, Johan Hovold wrote:
> > On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> > > UART devices is expected to be enumerated by SerDev subsystem.
> > > 
> > > During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> > > enumerated, allowing them to be enumerated by their respective parents.
> > > 
> > > Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> > > devices on serial buses (SPI, I2C or UART).
> > > 
> > > On Macs an empty ResourceTemplate is returned for uart slaves.
> > > Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> > > provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> > > 
> > > Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> > 
> > So just to reiterate what I just mentioned in a comment to one of Hans's
> > hci_bcm patches:
> > 
> > This one would silently break PM for such devices on any system which
> > does not have serdev enabled (as the corresponding platform devices
> > would no longer be registered). And with serdev enabled, hciattach
> > (btattach) would start failing as the tty device would no longer be
> > registered (but I assume everyone is aware of that, and fine with it, by
> > now).
> > 
> > Perhaps the hci_bcm driver should start depending on
> > SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> 
> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> for serdev. If any other controller is implemented that one could
> also be used.

Not for hci_bcm, right? This particular driver specifically depends on
SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
serdev controller (or currently working systems soon breaks silently).

I don't think the same is true for the DT case where we do not already
have child nodes defined in firmware (and in fact, this driver did not
really support DT before serdev).

> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> it together with SERDEV. I suspect that we won't see any other
> controller (it would be a UART device, that is not registered as
> tty device) in the next few years and the extra option seems to
> confuse people.

I agree that it is somewhat confusing. But now that we have both,
perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
might need to be amended as well (e.g. if only to mention that you need
to select a controller as well).

And the bluetooth uart drivers already depend on SERIAL_DEV_BUS.

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-09  7:35         ` Johan Hovold
@ 2017-10-09  8:55           ` Sebastian Reichel
  2017-10-09  9:08             ` Johan Hovold
  0 siblings, 1 reply; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-09  8:55 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Frédéric Danis, robh, marcel, loic.poulain, lukas,
	hdegoede, linux-bluetooth, linux-serial, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 4062 bytes --]

Hi,

On Mon, Oct 09, 2017 at 09:35:26AM +0200, Johan Hovold wrote:
> On Sun, Oct 08, 2017 at 12:53:11AM +0200, Sebastian Reichel wrote:
> > On Sat, Oct 07, 2017 at 05:19:34PM +0200, Johan Hovold wrote:
> > > On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> > > > UART devices is expected to be enumerated by SerDev subsystem.
> > > > 
> > > > During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> > > > enumerated, allowing them to be enumerated by their respective parents.
> > > > 
> > > > Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> > > > devices on serial buses (SPI, I2C or UART).
> > > > 
> > > > On Macs an empty ResourceTemplate is returned for uart slaves.
> > > > Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> > > > provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> > > > 
> > > > Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> > > 
> > > So just to reiterate what I just mentioned in a comment to one of Hans's
> > > hci_bcm patches:
> > > 
> > > This one would silently break PM for such devices on any system which
> > > does not have serdev enabled (as the corresponding platform devices
> > > would no longer be registered). And with serdev enabled, hciattach
> > > (btattach) would start failing as the tty device would no longer be
> > > registered (but I assume everyone is aware of that, and fine with it, by
> > > now).
> > > 
> > > Perhaps the hci_bcm driver should start depending on
> > > SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> > 
> > ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> > since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> > for serdev. If any other controller is implemented that one could
> > also be used.
> 
> Not for hci_bcm, right? This particular driver specifically depends on
> SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
> serdev controller (or currently working systems soon breaks silently).
> 
> I don't think the same is true for the DT case where we do not already
> have child nodes defined in firmware (and in fact, this driver did not
> really support DT before serdev).

The serdev ACPI support has been added to the core and not to
the ttyport and the hci_bcm driver only uses functions from the
core. As far as I can see the ACPI part would also work fine with
a different serdev controller.

Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
since it's the only serdev controller implementation. Also it
covers most use cases. When SERIAL_DEV_BUS is selected it's
very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.

> > I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> > it together with SERDEV. I suspect that we won't see any other
> > controller (it would be a UART device, that is not registered as
> > tty device) in the next few years and the extra option seems to
> > confuse people.
> 
> I agree that it is somewhat confusing. But now that we have both,
> perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
> SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
> might need to be amended as well (e.g. if only to mention that you
> need to select a controller as well).

I think we should at least add a default "y" if SERIAL_DEV_BUS.

> And the bluetooth uart drivers already depend on SERIAL_DEV_BUS.

Yes and that's the correct dependency. They only need the serdev
core and controller. The only reason they do not work without
SERIAL_DEV_CTRL_TTYPORT is, that there won't be any serdev
controller.

Note, that the default "y" if SERIAL_DEV_BUS in SERIAL_DEV_CTRL_TTYPORT's
config entry is only a partial fix. There is still the problem,
that SERIAL_DEV_CTRL_TTYPORT can only be enabled if SERIAL_DEV_BUS
is configured builtin. This is a limitation of the ttyport
implementation, that hooks into builtin TTY core code.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-08  8:51           ` Marcel Holtmann
  (?)
@ 2017-10-09  8:59           ` Sebastian Reichel
  -1 siblings, 0 replies; 49+ messages in thread
From: Sebastian Reichel @ 2017-10-09  8:59 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hovold, Frédéric Danis, Rob Herring,
	Loic Poulain, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi

[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]

Hi,

On Sun, Oct 08, 2017 at 10:51:52AM +0200, Marcel Holtmann wrote:
> Hi Sebastian,
> 
> >>> UART devices is expected to be enumerated by SerDev subsystem.
> >>> 
> >>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> >>> enumerated, allowing them to be enumerated by their respective parents.
> >>> 
> >>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> >>> devices on serial buses (SPI, I2C or UART).
> >>> 
> >>> On Macs an empty ResourceTemplate is returned for uart slaves.
> >>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> >>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> >>> 
> >>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> >> 
> >> So just to reiterate what I just mentioned in a comment to one of Hans's
> >> hci_bcm patches:
> >> 
> >> This one would silently break PM for such devices on any system which
> >> does not have serdev enabled (as the corresponding platform devices
> >> would no longer be registered). And with serdev enabled, hciattach
> >> (btattach) would start failing as the tty device would no longer be
> >> registered (but I assume everyone is aware of that, and fine with it, by
> >> now).
> >> 
> >> Perhaps the hci_bcm driver should start depending on
> >> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> > 
> > ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> > since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> > for serdev. If any other controller is implemented that one could
> > also be used.
> > 
> > I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> > it together with SERDEV. I suspect that we won't see any other
> > controller (it would be a UART device, that is not registered as
> > tty device) in the next few years and the extra option seems to
> > confuse people.
> 
> I wonder if we should just default SERIAL_DEV_CTRL_TTYPORT=y when
> DT or ACPI is enabled. Then no driver would have to select or
> depend on it.

This is not related to DT/ACPI. SERIAL_DEV_CTRL_TTYPORT is a serdev
controller driver, that registers serdev controller devices for each
tty. It will also be used by clients, that are registered via board
code.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-09  8:55           ` Sebastian Reichel
@ 2017-10-09  9:08             ` Johan Hovold
  2017-10-09 18:09                 ` Marcel Holtmann
  0 siblings, 1 reply; 49+ messages in thread
From: Johan Hovold @ 2017-10-09  9:08 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Johan Hovold, Frédéric Danis, robh, marcel,
	loic.poulain, lukas, hdegoede, linux-bluetooth, linux-serial,
	linux-acpi

On Mon, Oct 09, 2017 at 10:55:34AM +0200, Sebastian Reichel wrote:
> Hi,
> 
> On Mon, Oct 09, 2017 at 09:35:26AM +0200, Johan Hovold wrote:
> > On Sun, Oct 08, 2017 at 12:53:11AM +0200, Sebastian Reichel wrote:
> > > On Sat, Oct 07, 2017 at 05:19:34PM +0200, Johan Hovold wrote:
> > > > On Wed, Oct 04, 2017 at 10:51:30AM +0200, Frédéric Danis wrote:
> > > > > UART devices is expected to be enumerated by SerDev subsystem.
> > > > > 
> > > > > During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> > > > > enumerated, allowing them to be enumerated by their respective parents.
> > > > > 
> > > > > Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> > > > > devices on serial buses (SPI, I2C or UART).
> > > > > 
> > > > > On Macs an empty ResourceTemplate is returned for uart slaves.
> > > > > Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> > > > > provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> > > > > 
> > > > > Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> > > > 
> > > > So just to reiterate what I just mentioned in a comment to one of Hans's
> > > > hci_bcm patches:
> > > > 
> > > > This one would silently break PM for such devices on any system which
> > > > does not have serdev enabled (as the corresponding platform devices
> > > > would no longer be registered). And with serdev enabled, hciattach
> > > > (btattach) would start failing as the tty device would no longer be
> > > > registered (but I assume everyone is aware of that, and fine with it, by
> > > > now).
> > > > 
> > > > Perhaps the hci_bcm driver should start depending on
> > > > SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> > > 
> > > ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> > > since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> > > for serdev. If any other controller is implemented that one could
> > > also be used.
> > 
> > Not for hci_bcm, right? This particular driver specifically depends on
> > SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
> > serdev controller (or currently working systems soon breaks silently).
> > 
> > I don't think the same is true for the DT case where we do not already
> > have child nodes defined in firmware (and in fact, this driver did not
> > really support DT before serdev).
> 
> The serdev ACPI support has been added to the core and not to
> the ttyport and the hci_bcm driver only uses functions from the
> core. As far as I can see the ACPI part would also work fine with
> a different serdev controller.

Indeed, but you need SERIAL_DEV_CTRL_TTYPORT to avoid silently breaking
current ACPI setups which breaks when this patch is applied (as these
devices all hang off of common serial ports managed by serial core).

> Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
> since it's the only serdev controller implementation. Also it
> covers most use cases. When SERIAL_DEV_BUS is selected it's
> very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.

> > > I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> > > it together with SERDEV. I suspect that we won't see any other
> > > controller (it would be a UART device, that is not registered as
> > > tty device) in the next few years and the extra option seems to
> > > confuse people.
> > 
> > I agree that it is somewhat confusing. But now that we have both,
> > perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
> > SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
> > might need to be amended as well (e.g. if only to mention that you
> > need to select a controller as well).
> 
> I think we should at least add a default "y" if SERIAL_DEV_BUS.

I'm preparing a patch.

> > And the bluetooth uart drivers already depend on SERIAL_DEV_BUS.
> 
> Yes and that's the correct dependency. They only need the serdev
> core and controller. The only reason they do not work without
> SERIAL_DEV_CTRL_TTYPORT is, that there won't be any serdev
> controller.

In general, yes. Again, the only exception would be hci_bcm to avoid
breaking current setups without people noticing.

> Note, that the default "y" if SERIAL_DEV_BUS in SERIAL_DEV_CTRL_TTYPORT's
> config entry is only a partial fix. There is still the problem,
> that SERIAL_DEV_CTRL_TTYPORT can only be enabled if SERIAL_DEV_BUS
> is configured builtin. This is a limitation of the ttyport
> implementation, that hooks into builtin TTY core code.

I'm not saying it's a fix, but it is a sane default. I'm preparing a
patch also amending the Kconfig entries, and we can take it from there.

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-09  9:08             ` Johan Hovold
@ 2017-10-09 18:09                 ` Marcel Holtmann
  0 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-09 18:09 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Sebastian Reichel, Frédéric Danis,
	robh-DgEjT+Ai2ygdnm+yROfE0A, loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	lukas-JFq808J9C/izQB+pC5nmwQ, hdegoede-H+wXaHxf7aLQT0dZR+AlfA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

Hi Johan,

>>>>>> UART devices is expected to be enumerated by SerDev subsystem.
>>>>>> 
>>>>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
>>>>>> enumerated, allowing them to be enumerated by their respective parents.
>>>>>> 
>>>>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
>>>>>> devices on serial buses (SPI, I2C or UART).
>>>>>> 
>>>>>> On Macs an empty ResourceTemplate is returned for uart slaves.
>>>>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
>>>>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
>>>>>> 
>>>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>>>>> 
>>>>> So just to reiterate what I just mentioned in a comment to one of Hans's
>>>>> hci_bcm patches:
>>>>> 
>>>>> This one would silently break PM for such devices on any system which
>>>>> does not have serdev enabled (as the corresponding platform devices
>>>>> would no longer be registered). And with serdev enabled, hciattach
>>>>> (btattach) would start failing as the tty device would no longer be
>>>>> registered (but I assume everyone is aware of that, and fine with it, by
>>>>> now).
>>>>> 
>>>>> Perhaps the hci_bcm driver should start depending on
>>>>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
>>>> 
>>>> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
>>>> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
>>>> for serdev. If any other controller is implemented that one could
>>>> also be used.
>>> 
>>> Not for hci_bcm, right? This particular driver specifically depends on
>>> SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
>>> serdev controller (or currently working systems soon breaks silently).
>>> 
>>> I don't think the same is true for the DT case where we do not already
>>> have child nodes defined in firmware (and in fact, this driver did not
>>> really support DT before serdev).
>> 
>> The serdev ACPI support has been added to the core and not to
>> the ttyport and the hci_bcm driver only uses functions from the
>> core. As far as I can see the ACPI part would also work fine with
>> a different serdev controller.
> 
> Indeed, but you need SERIAL_DEV_CTRL_TTYPORT to avoid silently breaking
> current ACPI setups which breaks when this patch is applied (as these
> devices all hang off of common serial ports managed by serial core).
> 
>> Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
>> since it's the only serdev controller implementation. Also it
>> covers most use cases. When SERIAL_DEV_BUS is selected it's
>> very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.
> 
>>>> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
>>>> it together with SERDEV. I suspect that we won't see any other
>>>> controller (it would be a UART device, that is not registered as
>>>> tty device) in the next few years and the extra option seems to
>>>> confuse people.
>>> 
>>> I agree that it is somewhat confusing. But now that we have both,
>>> perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
>>> SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
>>> might need to be amended as well (e.g. if only to mention that you
>>> need to select a controller as well).
>> 
>> I think we should at least add a default "y" if SERIAL_DEV_BUS.
> 
> I'm preparing a patch.

yes, please prepare a patch since the discussion spans multiple email threads now. Lets get this back on track and find a patch that we are all happy with.

Regards

Marcel

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
@ 2017-10-09 18:09                 ` Marcel Holtmann
  0 siblings, 0 replies; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-09 18:09 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Sebastian Reichel, Frédéric Danis, robh, loic.poulain,
	lukas, hdegoede, linux-bluetooth, linux-serial, linux-acpi

Hi Johan,

>>>>>> UART devices is expected to be enumerated by SerDev subsystem.
>>>>>> 
>>>>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
>>>>>> enumerated, allowing them to be enumerated by their respective parents.
>>>>>> 
>>>>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
>>>>>> devices on serial buses (SPI, I2C or UART).
>>>>>> 
>>>>>> On Macs an empty ResourceTemplate is returned for uart slaves.
>>>>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
>>>>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
>>>>>> 
>>>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>>>>> 
>>>>> So just to reiterate what I just mentioned in a comment to one of Hans's
>>>>> hci_bcm patches:
>>>>> 
>>>>> This one would silently break PM for such devices on any system which
>>>>> does not have serdev enabled (as the corresponding platform devices
>>>>> would no longer be registered). And with serdev enabled, hciattach
>>>>> (btattach) would start failing as the tty device would no longer be
>>>>> registered (but I assume everyone is aware of that, and fine with it, by
>>>>> now).
>>>>> 
>>>>> Perhaps the hci_bcm driver should start depending on
>>>>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
>>>> 
>>>> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
>>>> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
>>>> for serdev. If any other controller is implemented that one could
>>>> also be used.
>>> 
>>> Not for hci_bcm, right? This particular driver specifically depends on
>>> SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
>>> serdev controller (or currently working systems soon breaks silently).
>>> 
>>> I don't think the same is true for the DT case where we do not already
>>> have child nodes defined in firmware (and in fact, this driver did not
>>> really support DT before serdev).
>> 
>> The serdev ACPI support has been added to the core and not to
>> the ttyport and the hci_bcm driver only uses functions from the
>> core. As far as I can see the ACPI part would also work fine with
>> a different serdev controller.
> 
> Indeed, but you need SERIAL_DEV_CTRL_TTYPORT to avoid silently breaking
> current ACPI setups which breaks when this patch is applied (as these
> devices all hang off of common serial ports managed by serial core).
> 
>> Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
>> since it's the only serdev controller implementation. Also it
>> covers most use cases. When SERIAL_DEV_BUS is selected it's
>> very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.
> 
>>>> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
>>>> it together with SERDEV. I suspect that we won't see any other
>>>> controller (it would be a UART device, that is not registered as
>>>> tty device) in the next few years and the extra option seems to
>>>> confuse people.
>>> 
>>> I agree that it is somewhat confusing. But now that we have both,
>>> perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
>>> SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
>>> might need to be amended as well (e.g. if only to mention that you
>>> need to select a controller as well).
>> 
>> I think we should at least add a default "y" if SERIAL_DEV_BUS.
> 
> I'm preparing a patch.

yes, please prepare a patch since the discussion spans multiple email threads now. Lets get this back on track and find a patch that we are all happy with.

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
  2017-10-04  8:51 [PATCH 0/2] ACPI serdev support Frédéric Danis
@ 2017-10-10  0:27     ` Rafael J. Wysocki
  2017-10-05 15:21 ` [PATCH 0/2] ACPI serdev support Marcel Holtmann
       [not found] ` <1507107090-15992-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2 siblings, 0 replies; 49+ messages in thread
From: Rafael J. Wysocki @ 2017-10-10  0:27 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Rob Herring, Marcel Holtmann, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede,
	open list:BLUETOOTH DRIVERS, linux-serial-u79uwXL29TY76Z2rM5mHXA,
	ACPI Devel Maling List

On Wed, Oct 4, 2017 at 10:51 AM, Frédéric Danis
<frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Add ACPI support for serial attached devices.
>
> Currently, serial devices are not set as enumerated during ACPI scan for SPI
> or i2c buses (but not for UART). This should also be done for UART serial
> devices.
> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
>
> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime)pm
> support to the serdev drv" patches to work.
>
> Tested on T100TA with Broadcom BCM2E39.
>
> Since RFC:
>   - Add or reword commit messages
>   - Rename *serial_slave* to *serial_bus_slave*
>   - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>     Lukas Wunner
>   - Update comment in acpi_default_enumeration()
>   - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E39"
>     in favor of patches from Hans de Goede
>
> Frédéric Danis (2):
>   serdev: Add ACPI support
>   ACPI / scan: Fix enumeration for special UART devices

Some review comments you received on this series should be addressed
IMO, so I'm expecting an update of it.

When sending the next version, please add all of the tags you've
already received on it.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 0/2] ACPI serdev support
@ 2017-10-10  0:27     ` Rafael J. Wysocki
  0 siblings, 0 replies; 49+ messages in thread
From: Rafael J. Wysocki @ 2017-10-10  0:27 UTC (permalink / raw)
  To: Frédéric Danis
  Cc: Rob Herring, Marcel Holtmann, Sebastian Reichel, Loic Poulain,
	Johan Hovold, Lukas Wunner, Hans de Goede,
	open list:BLUETOOTH DRIVERS, linux-serial,
	ACPI Devel Maling List

On Wed, Oct 4, 2017 at 10:51 AM, Fr=C3=A9d=C3=A9ric Danis
<frederic.danis.oss@gmail.com> wrote:
> Add ACPI support for serial attached devices.
>
> Currently, serial devices are not set as enumerated during ACPI scan for =
SPI
> or i2c buses (but not for UART). This should also be done for UART serial
> devices.
> I renamed *spi_i2c_slave* to *serial_bus_slave* to reflect this.
>
> For hci_bcm, this needs Hans de Goede's "Bluetooth: hci_bcm: Add (runtime=
)pm
> support to the serdev drv" patches to work.
>
> Tested on T100TA with Broadcom BCM2E39.
>
> Since RFC:
>   - Add or reword commit messages
>   - Rename *serial_slave* to *serial_bus_slave*
>   - Add specific check for Apple in acpi_is_serial_bus_slave(), thanks to
>     Lukas Wunner
>   - Update comment in acpi_default_enumeration()
>   - Remove patch 3 "Bluetooth: hci_bcm: Add ACPI serdev support for BCM2E=
39"
>     in favor of patches from Hans de Goede
>
> Fr=C3=A9d=C3=A9ric Danis (2):
>   serdev: Add ACPI support
>   ACPI / scan: Fix enumeration for special UART devices

Some review comments you received on this series should be addressed
IMO, so I'm expecting an update of it.

When sending the next version, please add all of the tags you've
already received on it.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
  2017-10-09 18:09                 ` Marcel Holtmann
@ 2017-10-10  7:08                     ` Johan Hovold
  -1 siblings, 0 replies; 49+ messages in thread
From: Johan Hovold @ 2017-10-10  7:08 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hovold, Sebastian Reichel, Frédéric Danis,
	robh-DgEjT+Ai2ygdnm+yROfE0A, loic.poulain-Re5JQEeQqe8AvxtiuMwx3w,
	lukas-JFq808J9C/izQB+pC5nmwQ, hdegoede-H+wXaHxf7aLQT0dZR+AlfA,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

On Mon, Oct 09, 2017 at 08:09:19PM +0200, Marcel Holtmann wrote:
> Hi Johan,
> 
> >>>>>> UART devices is expected to be enumerated by SerDev subsystem.
> >>>>>> 
> >>>>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> >>>>>> enumerated, allowing them to be enumerated by their respective parents.
> >>>>>> 
> >>>>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> >>>>>> devices on serial buses (SPI, I2C or UART).
> >>>>>> 
> >>>>>> On Macs an empty ResourceTemplate is returned for uart slaves.
> >>>>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> >>>>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> >>>>>> 
> >>>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >>>>> 
> >>>>> So just to reiterate what I just mentioned in a comment to one of Hans's
> >>>>> hci_bcm patches:
> >>>>> 
> >>>>> This one would silently break PM for such devices on any system which
> >>>>> does not have serdev enabled (as the corresponding platform devices
> >>>>> would no longer be registered). And with serdev enabled, hciattach
> >>>>> (btattach) would start failing as the tty device would no longer be
> >>>>> registered (but I assume everyone is aware of that, and fine with it, by
> >>>>> now).
> >>>>> 
> >>>>> Perhaps the hci_bcm driver should start depending on
> >>>>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> >>>> 
> >>>> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> >>>> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> >>>> for serdev. If any other controller is implemented that one could
> >>>> also be used.
> >>> 
> >>> Not for hci_bcm, right? This particular driver specifically depends on
> >>> SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
> >>> serdev controller (or currently working systems soon breaks silently).
> >>> 
> >>> I don't think the same is true for the DT case where we do not already
> >>> have child nodes defined in firmware (and in fact, this driver did not
> >>> really support DT before serdev).
> >> 
> >> The serdev ACPI support has been added to the core and not to
> >> the ttyport and the hci_bcm driver only uses functions from the
> >> core. As far as I can see the ACPI part would also work fine with
> >> a different serdev controller.
> > 
> > Indeed, but you need SERIAL_DEV_CTRL_TTYPORT to avoid silently breaking
> > current ACPI setups which breaks when this patch is applied (as these
> > devices all hang off of common serial ports managed by serial core).
> > 
> >> Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
> >> since it's the only serdev controller implementation. Also it
> >> covers most use cases. When SERIAL_DEV_BUS is selected it's
> >> very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.
> > 
> >>>> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> >>>> it together with SERDEV. I suspect that we won't see any other
> >>>> controller (it would be a UART device, that is not registered as
> >>>> tty device) in the next few years and the extra option seems to
> >>>> confuse people.
> >>> 
> >>> I agree that it is somewhat confusing. But now that we have both,
> >>> perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
> >>> SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
> >>> might need to be amended as well (e.g. if only to mention that you
> >>> need to select a controller as well).
> >> 
> >> I think we should at least add a default "y" if SERIAL_DEV_BUS.
> > 
> > I'm preparing a patch.
> 
> yes, please prepare a patch since the discussion spans multiple email
> threads now. Lets get this back on track and find a patch that we are
> all happy with.

I submitted a patch amending the serdev Kconfig entries and making
SERIAL_DEV_CTRL_TTYPORT default to Y when serdev support has been
chosen.

While that hopefully reduces the confusion regarding the Kconfig options
somewhat, it's not really a fix for the potential silent hci_bcm
regression that could result from this patch.

[ The problem being that hci-attach would still succeed, but PM would be
broken, when SERIAL_DEV_CTRL_TTYPORT is not set. ]

I mentioned that making HCI_BCM depend on SERIAL_DEV_CTRL_TTYPORT might
be used to avoid this situation, although it is on some level is
conceptually wrong to describe runtime dependencies in Kconfig (cf.
having a USB device driver, depend on a particular host controller
rather than just USB support).

I'll write something like that up in a patch for Bluetooth and you can
decide if you want to apply it to remedy this particular situation,
though.

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices
@ 2017-10-10  7:08                     ` Johan Hovold
  0 siblings, 0 replies; 49+ messages in thread
From: Johan Hovold @ 2017-10-10  7:08 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hovold, Sebastian Reichel, Frédéric Danis, robh,
	loic.poulain, lukas, hdegoede, linux-bluetooth, linux-serial,
	linux-acpi

On Mon, Oct 09, 2017 at 08:09:19PM +0200, Marcel Holtmann wrote:
> Hi Johan,
> 
> >>>>>> UART devices is expected to be enumerated by SerDev subsystem.
> >>>>>> 
> >>>>>> During ACPI scan, serial devices behind SPI, I2C or UART buses are not
> >>>>>> enumerated, allowing them to be enumerated by their respective parents.
> >>>>>> 
> >>>>>> Rename *spi_i2c_slave* to *serial_bus_slave* as this will be used for serial
> >>>>>> devices on serial buses (SPI, I2C or UART).
> >>>>>> 
> >>>>>> On Macs an empty ResourceTemplate is returned for uart slaves.
> >>>>>> Instead the device properties "baud", "parity", "dataBits", "stopBits" are
> >>>>>> provided. Add a check for "baud" in acpi_is_serial_bus_slave().
> >>>>>> 
> >>>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> >>>>> 
> >>>>> So just to reiterate what I just mentioned in a comment to one of Hans's
> >>>>> hci_bcm patches:
> >>>>> 
> >>>>> This one would silently break PM for such devices on any system which
> >>>>> does not have serdev enabled (as the corresponding platform devices
> >>>>> would no longer be registered). And with serdev enabled, hciattach
> >>>>> (btattach) would start failing as the tty device would no longer be
> >>>>> registered (but I assume everyone is aware of that, and fine with it, by
> >>>>> now).
> >>>>> 
> >>>>> Perhaps the hci_bcm driver should start depending on
> >>>>> SERIAL_DEV_CTRL_TTYPORT when ACPI is enabled?
> >>>> 
> >>>> ACPI and DT both need SERIAL_DEV_CTRL_TTYPORT to work properly,
> >>>> since SERIAL_DEV_CTRL_TTYPORT is the only controller implemented
> >>>> for serdev. If any other controller is implemented that one could
> >>>> also be used.
> >>> 
> >>> Not for hci_bcm, right? This particular driver specifically depends on
> >>> SERIAL_DEV_CTRL_TTYPORT for the ACPI devices and not just any (future)
> >>> serdev controller (or currently working systems soon breaks silently).
> >>> 
> >>> I don't think the same is true for the DT case where we do not already
> >>> have child nodes defined in firmware (and in fact, this driver did not
> >>> really support DT before serdev).
> >> 
> >> The serdev ACPI support has been added to the core and not to
> >> the ttyport and the hci_bcm driver only uses functions from the
> >> core. As far as I can see the ACPI part would also work fine with
> >> a different serdev controller.
> > 
> > Indeed, but you need SERIAL_DEV_CTRL_TTYPORT to avoid silently breaking
> > current ACPI setups which breaks when this patch is applied (as these
> > devices all hang off of common serial ports managed by serial core).
> > 
> >> Of course DT and ACPI currently require SERIAL_DEV_CTRL_TTYPORT,
> >> since it's the only serdev controller implementation. Also it
> >> covers most use cases. When SERIAL_DEV_BUS is selected it's
> >> very likely, that you also want SERIAL_DEV_CTRL_TTYPORT.
> > 
> >>>> I wonder if we should just hide SERIAL_DEV_CTRL_TTYPORT and enable
> >>>> it together with SERDEV. I suspect that we won't see any other
> >>>> controller (it would be a UART device, that is not registered as
> >>>> tty device) in the next few years and the extra option seems to
> >>>> confuse people.
> >>> 
> >>> I agree that it is somewhat confusing. But now that we have both,
> >>> perhaps simply having SERIAL_DEV_CTRL_TTYPORT default to "y" when
> >>> SERIAL_DEV_BUS is selected could be a compromise. The Kconfig entry
> >>> might need to be amended as well (e.g. if only to mention that you
> >>> need to select a controller as well).
> >> 
> >> I think we should at least add a default "y" if SERIAL_DEV_BUS.
> > 
> > I'm preparing a patch.
> 
> yes, please prepare a patch since the discussion spans multiple email
> threads now. Lets get this back on track and find a patch that we are
> all happy with.

I submitted a patch amending the serdev Kconfig entries and making
SERIAL_DEV_CTRL_TTYPORT default to Y when serdev support has been
chosen.

While that hopefully reduces the confusion regarding the Kconfig options
somewhat, it's not really a fix for the potential silent hci_bcm
regression that could result from this patch.

[ The problem being that hci-attach would still succeed, but PM would be
broken, when SERIAL_DEV_CTRL_TTYPORT is not set. ]

I mentioned that making HCI_BCM depend on SERIAL_DEV_CTRL_TTYPORT might
be used to avoid this situation, although it is on some level is
conceptually wrong to describe runtime dependencies in Kconfig (cf.
having a USB device driver, depend on a particular host controller
rather than just USB support).

I'll write something like that up in a patch for Bluetooth and you can
decide if you want to apply it to remedy this particular situation,
though.

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-07 15:12     ` Johan Hovold
@ 2017-10-10  8:10       ` Marcel Holtmann
  2017-10-10  8:15         ` Johan Hovold
  0 siblings, 1 reply; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-10  8:10 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Frédéric Danis, robh, sre, loic.poulain, lukas,
	hdegoede, linux-bluetooth, linux-serial, linux-acpi

Hi Johan,

>> This patch allows SerDev module to manage serial devices declared as
>> attached to an UART in ACPI table.
>> 
>> acpi_serdev_add_device() callback will only take into account entries
>> without enumerated flag set. This flags is set for all entries during
>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>> 2nd patch in the series.
>> 
>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>> ---
>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>> 1 file changed, 94 insertions(+), 5 deletions(-)
>> 
>> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
>> index c68fb3a..104777d 100644
>> --- a/drivers/tty/serdev/core.c
>> +++ b/drivers/tty/serdev/core.c
> 
>> @@ -385,6 +401,74 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>> 	return 0;
>> }
>> 
>> +#ifdef CONFIG_ACPI
>> +static acpi_status acpi_serdev_register_device(struct serdev_controller *ctrl,
>> +					    struct acpi_device *adev)
>> +{
>> +	struct serdev_device *serdev = NULL;
>> +	int err;
>> +
>> +	if (acpi_bus_get_status(adev) || !adev->status.present ||
>> +	    acpi_device_enumerated(adev))
>> +		return AE_OK;
>> +
>> +	serdev = serdev_device_alloc(ctrl);
>> +	if (!serdev) {
>> +		dev_err(&ctrl->dev, "failed to allocate Serial device for %s\n",
> 
> s/Serial/serdev/
> 
>> +			dev_name(&adev->dev));
>> +		return AE_NO_MEMORY;
>> +	}
>> +
>> +	ACPI_COMPANION_SET(&serdev->dev, adev);
>> +	acpi_device_set_enumerated(adev);
>> +
>> +	err = serdev_device_add(serdev);
>> +	if (err) {
>> +		dev_err(&serdev->dev,
>> +			"failure adding ACPI device. status %d\n", err);
> 
> s/ACPI/ACPI serdev/?
> 
>> +		serdev_device_put(serdev);
>> +	}
>> +
>> +	return AE_OK;
>> +}
>> +
>> +static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
>> +				       void *data, void **return_value)
>> +{
>> +	struct serdev_controller *ctrl = data;
>> +	struct acpi_device *adev;
>> +
>> +	if (acpi_bus_get_device(handle, &adev))
>> +		return AE_OK;
>> +
>> +	return acpi_serdev_register_device(ctrl, adev);
>> +}
>> +
>> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
>> +{
>> +	acpi_status status;
>> +	acpi_handle handle;
>> +
>> +	handle = ACPI_HANDLE(ctrl->dev.parent);
>> +	if (!handle)
>> +		return -ENODEV;
>> +
>> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
>> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
>> +	if (ACPI_FAILURE(status)) {
>> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
> 
> s/Serial/serdev/
> 
>> +		return -ENODEV;
>> +	}
>> +
>> +	return 0;
> 
> What if there are no slaves defined? I'm not very familiar with the ACPI
> helpers, but from a quick look it seems you'd then end up returning zero
> here which would cause the serdev controller to be registered instead of
> the tty-class device.
> 
> [ And if I'm mistaken, you do want to suppress that error message for
> when there are no slaves defined. ]
> 
>> +}
>> +#else
>> +static inline int acpi_serdev_register_devices(struct serdev_controller *ctlr)
> 
> s/ctlr/ctrl/
> 
>> +{
>> +	return -ENODEV;
>> +}
>> +#endif /* CONFIG_ACPI */
>> +
>> /**
>>  * serdev_controller_add() - Add an serdev controller
>>  * @ctrl:	controller to be registered.
>> @@ -394,7 +478,7 @@ static int of_serdev_register_devices(struct serdev_controller *ctrl)
>>  */
>> int serdev_controller_add(struct serdev_controller *ctrl)
>> {
>> -	int ret;
>> +	int ret_of, ret_acpi, ret;
>> 
>> 	/* Can't register until after driver model init */
>> 	if (WARN_ON(!is_registered))
>> @@ -404,9 +488,14 @@ int serdev_controller_add(struct serdev_controller *ctrl)
>> 	if (ret)
>> 		return ret;
>> 
>> -	ret = of_serdev_register_devices(ctrl);
>> -	if (ret)
>> +	ret_of = of_serdev_register_devices(ctrl);
>> +	ret_acpi = acpi_serdev_register_devices(ctrl);
>> +	if (ret_of && ret_acpi) {
>> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
> 
> "serdev%d" is redundant here as you're using dev_dbg (which will print
> the device name).
> 
>> +			ctrl->nr, ret_of, ret_acpi);
>> +		ret = -ENODEV;
>> 		goto out_dev_del;
>> +	}
>> 
>> 	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
>> 		ctrl->nr, &ctrl->dev);
> 
> Hmm, I see it's already used here. No need to follow that example
> though.

lets have an extra patch on top of it that fixes these.

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-10  8:10       ` Marcel Holtmann
@ 2017-10-10  8:15         ` Johan Hovold
  2017-10-10  8:22           ` Marcel Holtmann
  0 siblings, 1 reply; 49+ messages in thread
From: Johan Hovold @ 2017-10-10  8:15 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hovold, Frédéric Danis, robh, sre, loic.poulain,
	lukas, hdegoede, linux-bluetooth, linux-serial, linux-acpi

On Tue, Oct 10, 2017 at 10:10:58AM +0200, Marcel Holtmann wrote:
> Hi Johan,
> 
> >> This patch allows SerDev module to manage serial devices declared as
> >> attached to an UART in ACPI table.
> >> 
> >> acpi_serdev_add_device() callback will only take into account entries
> >> without enumerated flag set. This flags is set for all entries during
> >> ACPI scan, except for SPI and I2C serial devices, and for UART with
> >> 2nd patch in the series.
> >> 
> >> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
> >> ---
> >> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
> >> 1 file changed, 94 insertions(+), 5 deletions(-)
> >> 
> >> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
> >> index c68fb3a..104777d 100644
> >> --- a/drivers/tty/serdev/core.c
> >> +++ b/drivers/tty/serdev/core.c

> >> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
> >> +{
> >> +	acpi_status status;
> >> +	acpi_handle handle;
> >> +
> >> +	handle = ACPI_HANDLE(ctrl->dev.parent);
> >> +	if (!handle)
> >> +		return -ENODEV;
> >> +
> >> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
> >> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
> >> +	if (ACPI_FAILURE(status)) {
> >> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
> > 
> > s/Serial/serdev/
> > 
> >> +		return -ENODEV;
> >> +	}
> >> +
> >> +	return 0;
> > 
> > What if there are no slaves defined? I'm not very familiar with the ACPI
> > helpers, but from a quick look it seems you'd then end up returning zero
> > here which would cause the serdev controller to be registered instead of
> > the tty-class device.
> > 
> > [ And if I'm mistaken, you do want to suppress that error message for
> > when there are no slaves defined. ]

> >> -	ret = of_serdev_register_devices(ctrl);
> >> -	if (ret)
> >> +	ret_of = of_serdev_register_devices(ctrl);
> >> +	ret_acpi = acpi_serdev_register_devices(ctrl);
> >> +	if (ret_of && ret_acpi) {
> >> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
> > 
> > "serdev%d" is redundant here as you're using dev_dbg (which will print
> > the device name).
> > 
> >> +			ctrl->nr, ret_of, ret_acpi);
> >> +		ret = -ENODEV;
> >> 		goto out_dev_del;
> >> +	}
> >> 
> >> 	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
> >> 		ctrl->nr, &ctrl->dev);
> > 
> > Hmm, I see it's already used here. No need to follow that example
> > though.
> 
> lets have an extra patch on top of it that fixes these.

Some of the above are minor nits that can be addressed by a follow-up
patch indeed, but the handling of nodes with no child devices needs to
be correct (or you could end up breaking normal serial-port support).

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-10  8:15         ` Johan Hovold
@ 2017-10-10  8:22           ` Marcel Holtmann
  2017-10-10 16:36             ` Johan Hovold
  0 siblings, 1 reply; 49+ messages in thread
From: Marcel Holtmann @ 2017-10-10  8:22 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Frédéric Danis, robh, sre, loic.poulain, lukas,
	hdegoede, linux-bluetooth, linux-serial, linux-acpi

Hi Johan,

>>>> This patch allows SerDev module to manage serial devices declared as
>>>> attached to an UART in ACPI table.
>>>> 
>>>> acpi_serdev_add_device() callback will only take into account entries
>>>> without enumerated flag set. This flags is set for all entries during
>>>> ACPI scan, except for SPI and I2C serial devices, and for UART with
>>>> 2nd patch in the series.
>>>> 
>>>> Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com>
>>>> ---
>>>> drivers/tty/serdev/core.c | 99 ++++++++++++++++++++++++++++++++++++++++++++---
>>>> 1 file changed, 94 insertions(+), 5 deletions(-)
>>>> 
>>>> diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
>>>> index c68fb3a..104777d 100644
>>>> --- a/drivers/tty/serdev/core.c
>>>> +++ b/drivers/tty/serdev/core.c
> 
>>>> +static int acpi_serdev_register_devices(struct serdev_controller *ctrl)
>>>> +{
>>>> +	acpi_status status;
>>>> +	acpi_handle handle;
>>>> +
>>>> +	handle = ACPI_HANDLE(ctrl->dev.parent);
>>>> +	if (!handle)
>>>> +		return -ENODEV;
>>>> +
>>>> +	status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
>>>> +				     acpi_serdev_add_device, NULL, ctrl, NULL);
>>>> +	if (ACPI_FAILURE(status)) {
>>>> +		dev_warn(&ctrl->dev, "failed to enumerate Serial slaves\n");
>>> 
>>> s/Serial/serdev/
>>> 
>>>> +		return -ENODEV;
>>>> +	}
>>>> +
>>>> +	return 0;
>>> 
>>> What if there are no slaves defined? I'm not very familiar with the ACPI
>>> helpers, but from a quick look it seems you'd then end up returning zero
>>> here which would cause the serdev controller to be registered instead of
>>> the tty-class device.
>>> 
>>> [ And if I'm mistaken, you do want to suppress that error message for
>>> when there are no slaves defined. ]
> 
>>>> -	ret = of_serdev_register_devices(ctrl);
>>>> -	if (ret)
>>>> +	ret_of = of_serdev_register_devices(ctrl);
>>>> +	ret_acpi = acpi_serdev_register_devices(ctrl);
>>>> +	if (ret_of && ret_acpi) {
>>>> +		dev_dbg(&ctrl->dev, "serdev%d no devices registered: of:%d acpi:%d\n",
>>> 
>>> "serdev%d" is redundant here as you're using dev_dbg (which will print
>>> the device name).
>>> 
>>>> +			ctrl->nr, ret_of, ret_acpi);
>>>> +		ret = -ENODEV;
>>>> 		goto out_dev_del;
>>>> +	}
>>>> 
>>>> 	dev_dbg(&ctrl->dev, "serdev%d registered: dev:%p\n",
>>>> 		ctrl->nr, &ctrl->dev);
>>> 
>>> Hmm, I see it's already used here. No need to follow that example
>>> though.
>> 
>> lets have an extra patch on top of it that fixes these.
> 
> Some of the above are minor nits that can be addressed by a follow-up
> patch indeed, but the handling of nodes with no child devices needs to
> be correct (or you could end up breaking normal serial-port support).

that sounds good to me as well. Lets get this feature into the ACPI tree since I am going to push Hans’ patches into bluetooth-next as soon as he re-submits the missing ID change. That hopefully gives us then fully serdev support for ACPI and DT when it comes to Broadcom Bluetooth controllers.

Next step is to convert the Intel driver to also use ACPI based serdev :)

And for the brave, I think there are Realtek based systems using ACPI as well.

What I was wondering the other day is if we need a lsserdev tool or some integration in lshw to be able to debug what serdev devices and ID are present. The lsusb and /sys/kernel/debug/usb/devices is just super powerful and easy when it comes to figuring out what people have in their system. Maybe /sys/kernel/debug/serdev/devices could be helpful as well. Just thinking out loud here.

Regards

Marcel


^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-10  8:22           ` Marcel Holtmann
@ 2017-10-10 16:36             ` Johan Hovold
  2017-10-10 23:13                 ` Ian W MORRISON
  0 siblings, 1 reply; 49+ messages in thread
From: Johan Hovold @ 2017-10-10 16:36 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Johan Hovold, Frédéric Danis, robh, sre, loic.poulain,
	lukas, hdegoede, linux-bluetooth, linux-serial, linux-acpi

On Tue, Oct 10, 2017 at 10:22:19AM +0200, Marcel Holtmann wrote:

> > Some of the above are minor nits that can be addressed by a follow-up
> > patch indeed, but the handling of nodes with no child devices needs to
> > be correct (or you could end up breaking normal serial-port support).
> 
> that sounds good to me as well. Lets get this feature into the ACPI
> tree since I am going to push Hans’ patches into bluetooth-next as
> soon as he re-submits the missing ID change. That hopefully gives us
> then fully serdev support for ACPI and DT when it comes to Broadcom
> Bluetooth controllers.

But with Hans's work these devices should continue to function using the
platform-device hacks until the ACPI patch eventually lands in Linus's
tree (via the acpi tree).

> Next step is to convert the Intel driver to also use ACPI based serdev
> :)
> 
> And for the brave, I think there are Realtek based systems using ACPI
> as well.
> 
> What I was wondering the other day is if we need a lsserdev tool or
> some integration in lshw to be able to debug what serdev devices and
> ID are present. The lsusb and /sys/kernel/debug/usb/devices is just
> super powerful and easy when it comes to figuring out what people have
> in their system. Maybe /sys/kernel/debug/serdev/devices could be
> helpful as well. Just thinking out loud here.

Yeah, maybe. Since you'd typically only have small number of serdev
devices (say, max 4), using /sys/bus/serial/devices directly should not
be too bad meanwhile. Not that much common information we can expose
either, at least not in comparison to USB. But I'll keep it mind. :)

Johan

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
  2017-10-10 16:36             ` Johan Hovold
@ 2017-10-10 23:13                 ` Ian W MORRISON
  0 siblings, 0 replies; 49+ messages in thread
From: Ian W MORRISON @ 2017-10-10 23:13 UTC (permalink / raw)
  To: Johan Hovold, Marcel Holtmann
  Cc: Frédéric Danis, Rob Herring, Sebastian Reichel,
	Loic Poulain, Lukas Wunner, Hans de Goede,
	bluez mailin list
	(linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	linux-serial-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA

On 11 October 2017 at 03:36, Johan Hovold <johan@kernel.org> wrote:
> On Tue, Oct 10, 2017 at 10:22:19AM +0200, Marcel Holtmann wrote:
>>
>> What I was wondering the other day is if we need a lsserdev tool or
>> some integration in lshw to be able to debug what serdev devices and
>> ID are present. The lsusb and /sys/kernel/debug/usb/devices is just
>> super powerful and easy when it comes to figuring out what people have
>> in their system. Maybe /sys/kernel/debug/serdev/devices could be
>> helpful as well. Just thinking out loud here.
>
> Yeah, maybe. Since you'd typically only have small number of serdev
> devices (say, max 4), using /sys/bus/serial/devices directly should not
> be too bad meanwhile. Not that much common information we can expose
> either, at least not in comparison to USB. But I'll keep it mind. :)
>

Yes in the interim, if you have 'tree' installed then for example

$ alias lsserdev='tree /sys/bus/serial/devices/*-0'
$ lsserdev
/sys/bus/serial/devices/serial0-0
├── bluetooth
│   └── hci0
│       ├── device -> ../../../serial0-0
│       ├── power
│       │   ├── async
│       │   ├── autosuspend_delay_ms
│       │   ├── control
│       │   ├── runtime_active_kids
│       │   ├── runtime_active_time
│       │   ├── runtime_enabled
│       │   ├── runtime_status
│       │   ├── runtime_suspended_time
│       │   └── runtime_usage
│       ├── rfkill0
│       │   ├── device -> ../../hci0
│       │   ├── hard
│       │   ├── index
│       │   ├── name
│       │   ├── persistent
│       │   ├── power
│       │   │   ├── async
│       │   │   ├── autosuspend_delay_ms
│       │   │   ├── control
│       │   │   ├── runtime_active_kids
│       │   │   ├── runtime_active_time
│       │   │   ├── runtime_enabled
│       │   │   ├── runtime_status
│       │   │   ├── runtime_suspended_time
│       │   │   └── runtime_usage
│       │   ├── soft
│       │   ├── state
│       │   ├── subsystem -> ../../../../../../../../class/rfkill
│       │   ├── type
│       │   └── uevent
│       ├── subsystem -> ../../../../../../../class/bluetooth
│       └── uevent
├── driver -> ../../../../../bus/serial/drivers/hci_uart_bcm
├── firmware_node ->
../../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/8086228A:00/BCM2EA4:00
├── modalias
├── power
│   ├── async
│   ├── autosuspend_delay_ms
│   ├── control
│   ├── runtime_active_kids
│   ├── runtime_active_time
│   ├── runtime_enabled
│   ├── runtime_status
│   ├── runtime_suspended_time
│   └── runtime_usage
├── subsystem -> ../../../../../bus/serial
└── uevent

13 directories, 38 files
$

It is a bit shabby when there is nothing to report

$ lsserdev
/sys/bus/serial/devices/*-0 [error opening dir]

0 directories, 0 files
$

^ permalink raw reply	[flat|nested] 49+ messages in thread

* Re: [PATCH 1/2] serdev: Add ACPI support
@ 2017-10-10 23:13                 ` Ian W MORRISON
  0 siblings, 0 replies; 49+ messages in thread
From: Ian W MORRISON @ 2017-10-10 23:13 UTC (permalink / raw)
  To: Johan Hovold, Marcel Holtmann
  Cc: Frédéric Danis, Rob Herring, Sebastian Reichel,
	Loic Poulain, Lukas Wunner, Hans de Goede,
	bluez mailin list (linux-bluetooth@vger.kernel.org),
	linux-serial, linux-acpi

T24gMTEgT2N0b2JlciAyMDE3IGF0IDAzOjM2LCBKb2hhbiBIb3ZvbGQgPGpvaGFuQGtlcm5lbC5v
cmc+IHdyb3RlOg0KPiBPbiBUdWUsIE9jdCAxMCwgMjAxNyBhdCAxMDoyMjoxOUFNICswMjAwLCBN
YXJjZWwgSG9sdG1hbm4gd3JvdGU6DQo+Pg0KPj4gV2hhdCBJIHdhcyB3b25kZXJpbmcgdGhlIG90
aGVyIGRheSBpcyBpZiB3ZSBuZWVkIGEgbHNzZXJkZXYgdG9vbCBvcg0KPj4gc29tZSBpbnRlZ3Jh
dGlvbiBpbiBsc2h3IHRvIGJlIGFibGUgdG8gZGVidWcgd2hhdCBzZXJkZXYgZGV2aWNlcyBhbmQN
Cj4+IElEIGFyZSBwcmVzZW50LiBUaGUgbHN1c2IgYW5kIC9zeXMva2VybmVsL2RlYnVnL3VzYi9k
ZXZpY2VzIGlzIGp1c3QNCj4+IHN1cGVyIHBvd2VyZnVsIGFuZCBlYXN5IHdoZW4gaXQgY29tZXMg
dG8gZmlndXJpbmcgb3V0IHdoYXQgcGVvcGxlIGhhdmUNCj4+IGluIHRoZWlyIHN5c3RlbS4gTWF5
YmUgL3N5cy9rZXJuZWwvZGVidWcvc2VyZGV2L2RldmljZXMgY291bGQgYmUNCj4+IGhlbHBmdWwg
YXMgd2VsbC4gSnVzdCB0aGlua2luZyBvdXQgbG91ZCBoZXJlLg0KPg0KPiBZZWFoLCBtYXliZS4g
U2luY2UgeW91J2QgdHlwaWNhbGx5IG9ubHkgaGF2ZSBzbWFsbCBudW1iZXIgb2Ygc2VyZGV2DQo+
IGRldmljZXMgKHNheSwgbWF4IDQpLCB1c2luZyAvc3lzL2J1cy9zZXJpYWwvZGV2aWNlcyBkaXJl
Y3RseSBzaG91bGQgbm90DQo+IGJlIHRvbyBiYWQgbWVhbndoaWxlLiBOb3QgdGhhdCBtdWNoIGNv
bW1vbiBpbmZvcm1hdGlvbiB3ZSBjYW4gZXhwb3NlDQo+IGVpdGhlciwgYXQgbGVhc3Qgbm90IGlu
IGNvbXBhcmlzb24gdG8gVVNCLiBCdXQgSSdsbCBrZWVwIGl0IG1pbmQuIDopDQo+DQoNClllcyBp
biB0aGUgaW50ZXJpbSwgaWYgeW91IGhhdmUgJ3RyZWUnIGluc3RhbGxlZCB0aGVuIGZvciBleGFt
cGxlDQoNCiQgYWxpYXMgbHNzZXJkZXY9J3RyZWUgL3N5cy9idXMvc2VyaWFsL2RldmljZXMvKi0w
Jw0KJCBsc3NlcmRldg0KL3N5cy9idXMvc2VyaWFsL2RldmljZXMvc2VyaWFsMC0wDQrilJzilIDi
lIAgYmx1ZXRvb3RoDQrilIIgICDilJTilIDilIAgaGNpMA0K4pSCICAgICAgIOKUnOKUgOKUgCBk
ZXZpY2UgLT4gLi4vLi4vLi4vc2VyaWFsMC0wDQrilIIgICAgICAg4pSc4pSA4pSAIHBvd2VyDQri
lIIgICAgICAg4pSCICAg4pSc4pSA4pSAIGFzeW5jDQrilIIgICAgICAg4pSCICAg4pSc4pSA4pSA
IGF1dG9zdXNwZW5kX2RlbGF5X21zDQrilIIgICAgICAg4pSCICAg4pSc4pSA4pSAIGNvbnRyb2wN
CuKUgiAgICAgICDilIIgICDilJzilIDilIAgcnVudGltZV9hY3RpdmVfa2lkcw0K4pSCICAgICAg
IOKUgiAgIOKUnOKUgOKUgCBydW50aW1lX2FjdGl2ZV90aW1lDQrilIIgICAgICAg4pSCICAg4pSc
4pSA4pSAIHJ1bnRpbWVfZW5hYmxlZA0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCBydW50aW1l
X3N0YXR1cw0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCBydW50aW1lX3N1c3BlbmRlZF90aW1l
DQrilIIgICAgICAg4pSCICAg4pSU4pSA4pSAIHJ1bnRpbWVfdXNhZ2UNCuKUgiAgICAgICDilJzi
lIDilIAgcmZraWxsMA0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCBkZXZpY2UgLT4gLi4vLi4v
aGNpMA0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCBoYXJkDQrilIIgICAgICAg4pSCICAg4pSc
4pSA4pSAIGluZGV4DQrilIIgICAgICAg4pSCICAg4pSc4pSA4pSAIG5hbWUNCuKUgiAgICAgICDi
lIIgICDilJzilIDilIAgcGVyc2lzdGVudA0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCBwb3dl
cg0K4pSCICAgICAgIOKUgiAgIOKUgiAgIOKUnOKUgOKUgCBhc3luYw0K4pSCICAgICAgIOKUgiAg
IOKUgiAgIOKUnOKUgOKUgCBhdXRvc3VzcGVuZF9kZWxheV9tcw0K4pSCICAgICAgIOKUgiAgIOKU
giAgIOKUnOKUgOKUgCBjb250cm9sDQrilIIgICAgICAg4pSCICAg4pSCICAg4pSc4pSA4pSAIHJ1
bnRpbWVfYWN0aXZlX2tpZHMNCuKUgiAgICAgICDilIIgICDilIIgICDilJzilIDilIAgcnVudGlt
ZV9hY3RpdmVfdGltZQ0K4pSCICAgICAgIOKUgiAgIOKUgiAgIOKUnOKUgOKUgCBydW50aW1lX2Vu
YWJsZWQNCuKUgiAgICAgICDilIIgICDilIIgICDilJzilIDilIAgcnVudGltZV9zdGF0dXMNCuKU
giAgICAgICDilIIgICDilIIgICDilJzilIDilIAgcnVudGltZV9zdXNwZW5kZWRfdGltZQ0K4pSC
ICAgICAgIOKUgiAgIOKUgiAgIOKUlOKUgOKUgCBydW50aW1lX3VzYWdlDQrilIIgICAgICAg4pSC
ICAg4pSc4pSA4pSAIHNvZnQNCuKUgiAgICAgICDilIIgICDilJzilIDilIAgc3RhdGUNCuKUgiAg
ICAgICDilIIgICDilJzilIDilIAgc3Vic3lzdGVtIC0+IC4uLy4uLy4uLy4uLy4uLy4uLy4uLy4u
L2NsYXNzL3Jma2lsbA0K4pSCICAgICAgIOKUgiAgIOKUnOKUgOKUgCB0eXBlDQrilIIgICAgICAg
4pSCICAg4pSU4pSA4pSAIHVldmVudA0K4pSCICAgICAgIOKUnOKUgOKUgCBzdWJzeXN0ZW0gLT4g
Li4vLi4vLi4vLi4vLi4vLi4vLi4vY2xhc3MvYmx1ZXRvb3RoDQrilIIgICAgICAg4pSU4pSA4pSA
IHVldmVudA0K4pSc4pSA4pSAIGRyaXZlciAtPiAuLi8uLi8uLi8uLi8uLi9idXMvc2VyaWFsL2Ry
aXZlcnMvaGNpX3VhcnRfYmNtDQrilJzilIDilIAgZmlybXdhcmVfbm9kZSAtPg0KLi4vLi4vLi4v
Li4vTE5YU1lTVE06MDAvTE5YU1lCVVM6MDAvUE5QMEEwODowMC84MDg2MjI4QTowMC9CQ00yRUE0
OjAwDQrilJzilIDilIAgbW9kYWxpYXMNCuKUnOKUgOKUgCBwb3dlcg0K4pSCICAg4pSc4pSA4pSA
IGFzeW5jDQrilIIgICDilJzilIDilIAgYXV0b3N1c3BlbmRfZGVsYXlfbXMNCuKUgiAgIOKUnOKU
gOKUgCBjb250cm9sDQrilIIgICDilJzilIDilIAgcnVudGltZV9hY3RpdmVfa2lkcw0K4pSCICAg
4pSc4pSA4pSAIHJ1bnRpbWVfYWN0aXZlX3RpbWUNCuKUgiAgIOKUnOKUgOKUgCBydW50aW1lX2Vu
YWJsZWQNCuKUgiAgIOKUnOKUgOKUgCBydW50aW1lX3N0YXR1cw0K4pSCICAg4pSc4pSA4pSAIHJ1
bnRpbWVfc3VzcGVuZGVkX3RpbWUNCuKUgiAgIOKUlOKUgOKUgCBydW50aW1lX3VzYWdlDQrilJzi
lIDilIAgc3Vic3lzdGVtIC0+IC4uLy4uLy4uLy4uLy4uL2J1cy9zZXJpYWwNCuKUlOKUgOKUgCB1
ZXZlbnQNCg0KMTMgZGlyZWN0b3JpZXMsIDM4IGZpbGVzDQokDQoNCkl0IGlzIGEgYml0IHNoYWJi
eSB3aGVuIHRoZXJlIGlzIG5vdGhpbmcgdG8gcmVwb3J0DQoNCiQgbHNzZXJkZXYNCi9zeXMvYnVz
L3NlcmlhbC9kZXZpY2VzLyotMCBbZXJyb3Igb3BlbmluZyBkaXJdDQoNCjAgZGlyZWN0b3JpZXMs
IDAgZmlsZXMNCiQNCg==

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2017-10-10 23:13 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-04  8:51 [PATCH 0/2] ACPI serdev support Frédéric Danis
2017-10-04  8:51 ` [PATCH 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
2017-10-07 11:36   ` Sebastian Reichel
     [not found]   ` <1507107090-15992-3-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-07 15:19     ` Johan Hovold
2017-10-07 15:19       ` Johan Hovold
2017-10-07 22:53       ` Sebastian Reichel
2017-10-08  8:51         ` Marcel Holtmann
2017-10-08  8:51           ` Marcel Holtmann
2017-10-09  8:59           ` Sebastian Reichel
2017-10-09  7:35         ` Johan Hovold
2017-10-09  8:55           ` Sebastian Reichel
2017-10-09  9:08             ` Johan Hovold
2017-10-09 18:09               ` Marcel Holtmann
2017-10-09 18:09                 ` Marcel Holtmann
     [not found]                 ` <E19C0643-85AA-4E80-BCDC-0C01EC0F88C2-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
2017-10-10  7:08                   ` Johan Hovold
2017-10-10  7:08                     ` Johan Hovold
2017-10-05 15:21 ` [PATCH 0/2] ACPI serdev support Marcel Holtmann
2017-10-06  7:33   ` Ian W MORRISON
     [not found]     ` <25008d7b-db06-49ad-033f-63c0b72d9c34-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-06  8:16       ` Frédéric Danis
2017-10-06  8:16         ` Frédéric Danis
2017-10-06 14:47         ` Ian W MORRISON
2017-10-06 17:36           ` Frédéric Danis
2017-10-07  6:16             ` Ian W MORRISON
2017-10-07 15:14             ` Johan Hovold
     [not found] ` <1507107090-15992-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-04  8:51   ` [PATCH 1/2] serdev: Add ACPI support Frédéric Danis
2017-10-04  8:51     ` Frédéric Danis
2017-10-06 12:33     ` Rob Herring
2017-10-06 12:33       ` Rob Herring
     [not found]       ` <CAL_JsqKDzR9-ptE=SbL0LuQvTKDNT-GZ8buOvffJDyWz6fHfSA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-06 18:32         ` Marcel Holtmann
2017-10-06 18:32           ` Marcel Holtmann
2017-10-07  0:03           ` Rafael J. Wysocki
2017-10-07  0:03             ` Rafael J. Wysocki
     [not found]             ` <CAJZ5v0gLhnisMn9o00ndnB6fjHt5V7KCy_57UScF=ZfZVF=dxA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-07  0:31               ` Marcel Holtmann
2017-10-07  0:31                 ` Marcel Holtmann
     [not found]                 ` <E5446B94-9914-44B5-A734-050F7457746D-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
2017-10-07  6:42                   ` Greg Kroah-Hartman
2017-10-07  6:42                     ` Greg Kroah-Hartman
     [not found]     ` <1507107090-15992-2-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-07  6:42       ` Greg KH
2017-10-07  6:42         ` Greg KH
2017-10-07 11:35       ` Sebastian Reichel
2017-10-07 11:35         ` Sebastian Reichel
2017-10-07 15:12     ` Johan Hovold
2017-10-10  8:10       ` Marcel Holtmann
2017-10-10  8:15         ` Johan Hovold
2017-10-10  8:22           ` Marcel Holtmann
2017-10-10 16:36             ` Johan Hovold
2017-10-10 23:13               ` Ian W MORRISON
2017-10-10 23:13                 ` Ian W MORRISON
2017-10-10  0:27   ` [PATCH 0/2] ACPI serdev support Rafael J. Wysocki
2017-10-10  0:27     ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.