linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian W MORRISON <ianwmorrison@gmail.com>
To: "Marcel Holtmann" <marcel@holtmann.org>,
	"Frédéric Danis" <frederic.danis.oss@gmail.com>
Cc: Rob Herring <robh@kernel.org>, Sebastian Reichel <sre@kernel.org>,
	Loic Poulain <loic.poulain@gmail.com>,
	Johan Hovold <johan@kernel.org>, Lukas Wunner <lukas@wunner.de>,
	Hans de Goede <hdegoede@redhat.com>,
	"bluez mailin list (linux-bluetooth@vger.kernel.org)"
	<linux-bluetooth@vger.kernel.org>,
	linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org,
	Greg Kroah-Hartman <greg@kroah.com>
Subject: Re: [PATCH 0/2] ACPI serdev support
Date: Fri, 6 Oct 2017 18:33:42 +1100	[thread overview]
Message-ID: <25008d7b-db06-49ad-033f-63c0b72d9c34@gmail.com> (raw)
In-Reply-To: <A58D9E0F-99FC-4C13-95E8-F60EC61C18B2@holtmann.org>

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



  reply	other threads:[~2017-10-06  7:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 22:53       ` Sebastian Reichel
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
     [not found]                 ` <E19C0643-85AA-4E80-BCDC-0C01EC0F88C2-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
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 [this message]
     [not found]     ` <25008d7b-db06-49ad-033f-63c0b72d9c34-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-06  8:16       ` Frédéric Danis
     [not found]         ` <CAFXWsS9uhvB=5r83GC=aA=uujDvxfjnOvEUUviymNEM31fka5Q@mail.gmail.com>
2017-10-06 17:36           ` Frédéric Danis
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-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-07  0:03           ` Rafael J. Wysocki
     [not found]             ` <CAJZ5v0gLhnisMn9o00ndnB6fjHt5V7KCy_57UScF=ZfZVF=dxA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
     [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 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  0:27   ` [PATCH 0/2] ACPI serdev support Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25008d7b-db06-49ad-033f-63c0b72d9c34@gmail.com \
    --to=ianwmorrison@gmail.com \
    --cc=frederic.danis.oss@gmail.com \
    --cc=greg@kroah.com \
    --cc=hdegoede@redhat.com \
    --cc=johan@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=loic.poulain@gmail.com \
    --cc=lukas@wunner.de \
    --cc=marcel@holtmann.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).