From: Johan Hovold <johan@kernel.org>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "Hans de Goede" <hdegoede@redhat.com>,
"Loic Poulain" <loic.poulain@linaro.org>,
"Johan Hovold" <johan@kernel.org>,
"Greg Kroah-Hartman" <greg@kroah.com>,
"Frédéric Danis" <frederic.danis.oss@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Sebastian Reichel" <sre@kernel.org>,
"Loic Poulain" <loic.poulain@gmail.com>,
"Lukas Wunner" <lukas@wunner.de>,
"open list:BLUETOOTH DRIVERS" <linux-bluetooth@vger.kernel.org>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
"ACPI Devel Maling List" <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH v3 0/2] ACPI serdev support
Date: Sat, 21 Oct 2017 11:59:37 +0200 [thread overview]
Message-ID: <20171021095937.GA1226@localhost> (raw)
In-Reply-To: <FFD85CA6-6BD9-45AA-B3C2-898212711C0C@holtmann.org>
On Thu, Oct 19, 2017 at 09:00:25PM +0200, Marcel Holtmann wrote:
> Hi Hans,
>
> >> Hmm, I've never actually seen any hardware use an intel BT HCI connected
> >> to a serdev, but I guess people did not write that code for fun, so those
> >> do exist ?
> >> they are all ACPI based and could now start using serdev. Previously they were all driven by btattach.
> >> I understand, I was just wondering if anyone is aware of any hardware
> >> actually using Intel BT devices in this manner, because it is going
> >> to be tricky to do a similar series if we cannot test it.
> >> Yeah this driver supports Lightning-Peak iBT 3.0 UART controller.
> >> I remember this controller comes (at least) with Atom x3-c3440 / x3-c3445 SoCs.
> >> However I don't have the hardware anymore.
> >
> > Ah, those are the Rockchip manufactured Atom based SoCs which
> > come with Mali graphics, I don't think anyone is trying to run
> > mainline on those and not a whole lot of those have shipped to
> > begin with (the line has been canceled).
> >
> > I've an Apollo Lake based laptop with Intel Bluetooth, I just
> > checked and that is simply using USB.
> >
> > So I don't think we are actually going to break anything by
> > just moving forward as planned. This reminds me of the axp288
> > driver where Intel's "embedded" engineering team upstreamed
> > parts of the axp288 PMIC code, but in a way where the driver
> > could not work as it would not load with platform_data which
> > was never provided by the mainline kernel.
> >
> > As such it might actually be good to break this and if no-one
> > complains we can just remove the hci_intel.c code altogether.
>
> I think we can go forward with what we have. I am not going to remove
> hci_intel.c since the firmware loading code etc. is pretty generic to
> all Intel UART based chips. However we just take the PM pieces out or
> maybe someone is going to fix them.
Note that hci_intel used the platform hack for the reset line and host
wake-up irq. And as the reset line appears to be required when using
ACPI, we'd definitely find out eventually if anyone is using such
devices as they would fail to even power on.
> > The alternative would be to revert 2 if the 3 patches of
> > my last series for making the BT on the GPD win / pocket
> > (and likely other devices) work in uart mode. Then someone
> > (me?) would need to do a completely untested series for
> > hci_intel.c, and get that + reverts of the reverts into 4.16,
> > which is not the best way forward IMHO.
>
> I am not doing that. We have to make progress towards serdev. So if
> things really turn out badly, then we have to deal with it, but that
> should not hold up getting things in the direction this needs to go.
As long as we know what we are breaking.
Johan
next prev parent reply other threads:[~2017-10-21 9:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 8:32 [PATCH v3 0/2] ACPI serdev support Frédéric Danis
[not found] ` <1507710734-32520-1-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-11 8:32 ` [PATCH v3 1/2] serdev: Add ACPI support Frédéric Danis
2017-10-11 8:43 ` Johan Hovold
2017-10-11 8:32 ` [PATCH v3 2/2] ACPI / scan: Fix enumeration for special UART devices Frédéric Danis
2017-10-15 9:57 ` Lukas Wunner
[not found] ` <1507710734-32520-3-git-send-email-frederic.danis.oss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-31 14:21 ` [v3,2/2] " Graeme Gregory
2018-02-02 10:03 ` Frédéric Danis
2017-10-11 9:03 ` [PATCH v3 0/2] ACPI serdev support Johan Hovold
2017-10-11 13:09 ` Rafael J. Wysocki
2017-10-11 18:32 ` Marcel Holtmann
2017-10-18 14:46 ` Frédéric Danis
2017-10-18 14:56 ` Greg Kroah-Hartman
[not found] ` <20171018145608.GB27138-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2017-10-19 14:23 ` Johan Hovold
2017-10-19 14:26 ` Hans de Goede
2017-10-19 14:32 ` Marcel Holtmann
2017-10-19 14:56 ` Hans de Goede
[not found] ` <CAMZdPi_ZpNrdjJPnS_rQ9t3oYe6+en9oHQMjmMjx_xHL-WWZKQ@mail.gmail.com>
[not found] ` <CAMZdPi_ZpNrdjJPnS_rQ9t3oYe6+en9oHQMjmMjx_xHL-WWZKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-19 18:50 ` Hans de Goede
2017-10-19 19:00 ` Marcel Holtmann
[not found] ` <FFD85CA6-6BD9-45AA-B3C2-898212711C0C-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
2017-10-19 19:05 ` Hans de Goede
2017-10-21 9:59 ` Johan Hovold [this message]
[not found] ` <877ea825-eec5-d982-f962-d67067749009-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-10-19 14:32 ` Johan Hovold
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=20171021095937.GA1226@localhost \
--to=johan@kernel.org \
--cc=frederic.danis.oss@gmail.com \
--cc=greg@kroah.com \
--cc=hdegoede@redhat.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=loic.poulain@gmail.com \
--cc=loic.poulain@linaro.org \
--cc=lukas@wunner.de \
--cc=marcel@holtmann.org \
--cc=rafael@kernel.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).