On Sun, 2017-06-25 at 21:53 +0200, Enrico Weigelt, metux IT consult
wrote:
> On 25.06.2017 19:27, Joe Perches wrote:
>
> > Every use of %M is going to cause gcc when using __printf to emit
> > a warning like:
> >
> > unknown conversion type character ‘M’ in format [-Wformat=]
>
> Yeah, that's
On Tue 13 Jun 16:45 PDT 2017, Suman Anna wrote:
> +static int keystone_rproc_start(struct rproc *rproc)
> +{
> + struct keystone_rproc *ksproc = rproc->priv;
> + int ret;
> +
> + INIT_WORK(>workqueue, handle_event);
> +
> + ret = request_irq(ksproc->irq_ring,
On 25 June 2017 21:10:36 CEST, AbdAllah-MEZITI
wrote:
>This patch fixes the following sparce warnings: different lock contexts
>for basic block.
>
>drivers/staging/sm750fb//sm750.c:159:13: warning: context imbalance in
>'lynxfb_ops_fillrect' - different lock contexts for basic block
VT6420 seems to have the same hotplug capability as VT6421.
However, enabling hotplug needs to expose SCR registers which can cause
problems. It works for me but might break elsewhere. So add a module
parameter vt6420_hotplug to enable this feature.
Signed-off-by: Ondrej Zary
---
Both tests on lines 531-532 are the same.
julia
-- Forwarded message --
Date: Mon, 26 Jun 2017 04:19:55 +0800
From: kbuild test robot
To: kbu...@01.org
Cc: Julia Lawall
Subject: Re: [PATCH] iio: dac: DS4424: add Maxim DS4422/DS4424 DAC driver
support
Hi Ismail,
[auto
From: Arvind Yadav
Date: Fri, 23 Jun 2017 14:51:35 +0530
> of_device_ids are not supposed to change at runtime. All functions
> working with of_device_ids provided by work with const
> of_device_ids. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Applied, thank you.
On Wed 14 Jun 13:48 PDT 2017, Oleksij Rempel wrote:
> From: Oleksij Rempel
>
> this driver was tested on NXP imx7d but should work on
> imx6sx as well.
> It will upload firmware to OCRAM, which shared memory between
> Cortex A7 and Cortex M4, then turn M4 on.
>
This looks very generic, are
On Wed, 07 Jun 2017 03:52:10 PDT (-0700), marc.zyng...@arm.com wrote:
> Hi Palmer,
>
> On 07/06/17 00:00, Palmer Dabbelt wrote:
>> This patch adds a driver for the Platform Level Interrupt Controller
>> (PLIC) specified as part of the RISC-V supervisor level ISA manual.
>> The PLIC connocts global
On Sun, Jun 25, 2017 at 12:14:04PM +0100, Al Viro wrote:
> On Sun, Jun 25, 2017 at 10:53:58AM +0100, Al Viro wrote:
> > On Sat, Jun 24, 2017 at 12:29:23PM -0500, Larry Finger wrote:
> >
> > > I made a break through. If I turn off inline copy to/from users for 32-bit
> > > ppc with the following
Hi,
This serie brings A10 (sun4i) and A20 (sun7i) SoCs into the
sunxi-ng world.
As mentioned in sun5i conversion, this is pretty much standard
stuff as all the required clocks were already implemented in
the sunxi-ng framework.
Changes from v3:
- Add support for fixed post-divider support for
Allwinner A10 is now driven by sunxi-ng CCU driver.
Add devicetree binding for it.
Acked-by: Rob Herring
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
SATA clock on sun4i/sun7i is of type (parent) / M / 6 where
6 is fixed post-divider.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/ccu_div.c | 12 ++--
drivers/clk/sunxi-ng/ccu_div.h | 3 ++-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git
Convert sun4i-a10.dtsi to new CCU driver.
Tested on Gemei G9 tablet.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun4i-a10.dtsi | 643 +++-
1 file changed, 72 insertions(+), 571 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi
Allwinner A20 is now driven by sunxi-ng CCU driver.
Add devicetree binding for it.
Acked-by: Rob Herring
Signed-off-by: Priit Laes
---
Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
Introduce a clock controller driver for sun4i A10 and sun7i A20
series SoCs.
Signed-off-by: Priit Laes
---
drivers/clk/sunxi-ng/Kconfig | 14 +-
drivers/clk/sunxi-ng/Makefile |1 +-
drivers/clk/sunxi-ng/ccu-sun4i-a10.c | 1446 ++-
Convert sun7i-a20.dtsi to new CCU driver.
Tested on Cubietruck.
Signed-off-by: Priit Laes
---
arch/arm/boot/dts/sun7i-a20.dtsi | 719 +++-
1 file changed, 84 insertions(+), 635 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi
On Tue, 2017-06-13 at 14:29 +0100, Colin King wrote:
> From: Colin Ian King
>
> The array tcmu_attrib_attrs does not need to be in global scope, so make
> it static.
>
> Cleans up sparse warning:
> "symbol 'tcmu_attrib_attrs' was not declared. Should it be static?"
>
> Signed-off-by: Colin Ian
Hi Jose,
Thank you for addressing my review comments. Couple more suggestions below.
On 06/20/2017 07:26 PM, Jose Abreu wrote:
> This adds support for the Synopsys Designware HDMI RX PHY e405. This
> phy receives and decodes HDMI video that is delivered to a controller.
> +static int
On 06/20/2017 07:26 PM, Jose Abreu wrote:
> This is an initial submission for the Synopsys Designware HDMI RX
> Controller Driver. This driver interacts with a phy driver so that
> a communication between them is created and a video pipeline is
> configured.
> Signed-off-by: Jose Abreu
> Cc:
From: Colin Ian King
Trivial fix to spelling mistake in arc_printk message
Signed-off-by: Colin Ian King
---
drivers/net/arcnet/capmode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/arcnet/capmode.c b/drivers/net/arcnet/capmode.c
index
On 25.06.2017 22:10, Joe Perches wrote:
>> Yeah, that's still an open problem. Actually, I still haven't found out,
>> how it's done w/ all the other kernel-internal conversions.
>
> Everything else uses "%p",
hmm, but errno's aren't pointers. Isn't %p checked for pointer values ?
>> Already
On Thu 18 May 15:09 PDT 2017, Suman Anna wrote:
> The davinci remoteproc driver is currently requesting its interrupt
> that deals with the virtio kicks in probe, and that too before all
> the associated variables used by the handler are initialized. This
> is a lot in advance before the DSP
On Thu 18 May 15:08 PDT 2017, Suman Anna wrote:
> Hi Bjorn,
>
> The following series includes various fixes and cleanups for the TI's
> Davinci DSP remoteproc driver. Patches are based on 4.12-rc1. Following
> is the patch summary:
>
> - Patch1 updates/fixes the build dependency on DMA_CMA
On Fri 02 Jun 17:28 PDT 2017, Suman Anna wrote:
> Hi Bjorn,
>
> On 06/02/2017 05:07 AM, Henri Roosen wrote:
> > My suggestion would be to additionally change/fix
> > rpmsg_register_device() so it will not overwrite the release callback.
[..]
> FWIW, I didn't run into any rpmsg device memory
From: Colin Ian King
Fix the following spelling mistakes in messages:
syncronise -> synchronize
unusally -> unusually
addrress -> address
inverval -> interval
Signed-off-by: Colin Ian King
---
drivers/net/wireless/ath/ath10k/mac.c | 2 +-
drivers/net/wireless/ath/ath10k/pci.c
On Mon, Jun 26, 2017 at 03:03:17AM +0800, kbuild test robot wrote:
> Hi Nick,
>
> url:
> https://github.com/0day-ci/linux/commits/Nick-Terrell/lib-Add-xxhash-module/20170625-214344
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20
> Add iio driver for DS4422/DS4424 chips that support two/four channel 7-bit
> Sink/Source Current DAC.
minor comments below, on top of Jonathan's
> The driver supports device tree and platfrom files for the configurations.
platform
> Datasheet publicly available at:
>
On Fri 02 Jun 04:35 PDT 2017, Henri Roosen wrote:
> A device might not have an endpoint assigned. This patch checks if
> rpdev->ept has a value before dereferencing or using it.
>
Applied, thanks.
> Signed-off-by: Henri Roosen
> ---
> drivers/rpmsg/virtio_rpmsg_bus.c | 4 ++--
> 1 file
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote:
> Trivial cleanup for incorrect function in dev_err message
>
> Signed-off-by: Henri Roosen
Applied, thanks
> ---
> drivers/rpmsg/rpmsg_char.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
Signed-off-by: AbdAllah MEZITI
---
drivers/staging/sm750fb/sm750.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 386d4ad..4a22190 100644
--- a/drivers/staging/sm750fb/sm750.c
+++
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote:
> Commit 2a48d7322dc8 ("rpmsg: rpmsg_send() operations takes rpmsg_endpoint")
> only changed the nameservice address for virtio_rpmsg_announce_create() but
> did not do the same change for virtio_rpmsg_announce_destroy().
>
> Signed-off-by: Henri
Hi folks,
I'm currently implementing drivers for an industrial backplane, (*1)
which uses some kind of rpc / command-response mechanism.
There're different variants, eg. some proprietary serial interface,
USB link, pci cards, etc. On top of that there's a block-based command-
response mechanism
On Fri 02 Jun 04:36 PDT 2017, Henri Roosen wrote:
> Trivial cleanup: the .ops pointer is assigned twice. This patch removes the
> first assignment.
>
> Signed-off-by: Henri Roosen
Applied, thanks
> ---
> drivers/rpmsg/virtio_rpmsg_bus.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff
On Sun, Jun 25, 2017 at 09:53:24PM +0100, Al Viro wrote:
> Confirmed. It manages to bugger the loop immediately after the (successful)
> copying of iovec array in rw_copy_check_uvector(); both with and without
> INLINE_COPY_FROM_USER it has (just before the call of copy_from_user()) r27
> set to
On Fri 02 Jun 04:35 PDT 2017, Henri Roosen wrote:
> A device might not have an ops structure registered. This
> patch fixes a null-prt dereference by checking ops before dereferencing
> it.
>
In what scenario do you end up with a rpdev without ops defined?
You need at least create_ept defined
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer
---
drivers/net/bonding/bond_netlink.c | 3 ++-
drivers/net/can/dev.c | 3 ++-
drivers/net/dummy.c| 3 ++-
drivers/net/geneve.c | 3 ++-
drivers/net/gtp.c | 3
Same changes as http://patchwork.ozlabs.org/patch/780351/ , split into
separate patches for each rtnl_link_ops field as requested.
Matthias Schiffer (5):
net: add netlink_ext_ack argument to rtnl_link_ops.newlink
net: add netlink_ext_ack argument to rtnl_link_ops.changelink
net: add
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer
---
drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 7 ---
drivers/net/bonding/bond_netlink.c | 7 ---
drivers/net/caif/caif_hsi.c | 3 ++-
drivers/net/can/dev.c|
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer
---
drivers/net/bonding/bond_netlink.c | 3 ++-
include/net/rtnetlink.h| 3 ++-
net/bridge/br_netlink.c| 3 ++-
net/core/rtnetlink.c | 3 ++-
4 files changed, 8 insertions(+), 4
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer
---
include/net/rtnetlink.h | 3 ++-
net/core/rtnetlink.c| 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h
index baf99e173dca..abe6b733d473
Add support for extended error reporting.
Signed-off-by: Matthias Schiffer
---
drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 3 ++-
drivers/net/bonding/bond_netlink.c | 3 ++-
drivers/net/caif/caif_hsi.c | 3 ++-
drivers/net/can/dev.c| 3 ++-
From: Colin Ian King
Trivial fix to spelling mistake in batadv_dbg debug message
Signed-off-by: Colin Ian King
---
net/batman-adv/bat_v_ogm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c
index
Hi Priit,
This is showing from clock rate of 171428572 in the output of "cat
/sys/kernel/debug/clk/clk_summary" for pll-periph-sata.
The clock rate should be 1 (100 MHz) when read from the hardware.
On 26 June 2017 at 06:45, Priit Laes wrote:
> SATA clock on sun4i/sun7i is of type
b0b03b811963 ("rpmsg: Release rpmsg devices in backends") attempted to
correct the ownership of freeing rpmsg device memory. But the patch
is not complete, in that the rpmsg core will overwrite the release op as
the device is being registered.
Fixes: b0b03b811963 ("rpmsg: Release rpmsg devices in
On Thu, Jun 22, 2017 at 12:00 AM, Arnd Bergmann wrote:
> The new driver uses an incorrect format string for resource_size_t:
>
> drivers/ata/pata_ftide010.c: In function 'pata_ftide010_probe':
> drivers/ata/pata_ftide010.c:520:17: warning: format '%x' expects argument of
> type 'unsigned int',
On Wed, Jun 21, 2017 at 7:25 AM, Bjorn Andersson
wrote:
> Document the maintainership of the Qualcomm pinctrl drivers to improve the
> hitrate.
>
> Signed-off-by: Bjorn Andersson
Patch applied. Thanks!
Yours,
Linus Walleij
On Wed, Jun 21, 2017 at 10:10 AM, Baolin Wang wrote:
> On 20 June 2017 at 17:31, Linus Walleij wrote:
>> On Tue, Jun 13, 2017 at 5:15 AM, Baolin Wang
>> wrote:
>>
>>> I forgot one most important reason why we can not use the "sleep" state. As
>>> I explained
>>> above, the sleep related
On Sun, Jun 25, 2017 at 04:44:09PM -0500, Segher Boessenkool wrote:
> Do you have a short stand-alone testcase? 4.6 is ancient, of course, but
> the actual problem may still exist in more recent compilers (if it _is_
> a compiler problem; if it's not, you *really* want to know :-) )
Enjoy. At
Hi folks,
is there already a way for accessing serial ports from drivers,
w/o having to go through the TTY subsystem ?
Serdev seems provide a connection between arbitrary TTYs to device
drivers. But this implies always having a TTY for each UART (even if
it's never used outside the kernel).
Is
On 06/25/2017 02:18 PM, Enrico Weigelt, metux IT consult wrote:
> On 25.06.2017 22:10, Joe Perches wrote:
>
>>> Yeah, that's still an open problem. Actually, I still haven't found out,
>>> how it's done w/ all the other kernel-internal conversions.
>>
>> Everything else uses "%p",
>
> hmm, but
Hi David,
On Sun, Jun 25, 2017 at 5:49 PM, David Miller wrote:
> This violates things on so many levels.
Yes, indeed.
> I think this kind of thing need to be hidden inside of netfilter,
> it can do the rate limiting and stuff like that in the spot
> where it makes the transformation and knows
On Wed, 2017-06-21 at 18:39 -0700, Ram Pai wrote:
> Introduce set_hidx_slot() which sets the (H_PAGE_F_SECOND|H_PAGE_F_GIX)
> bits at the appropriate location in the PTE of 4K PTE. In the
> case of 64K PTE, it sets the bits in the second part of the PTE. Though
> the implementation for
Hi Andrea & Robert,
(Adding HCH CC')
On Fri, 2017-06-23 at 00:37 +0200, Andrea Righi wrote:
> On Wed, Jun 21, 2017 at 10:33:45AM -0600, Robert LeBlanc wrote:
> > On Wed, Jun 21, 2017 at 9:17 AM, Robert LeBlanc
> > wrote:
> > > On Tue, Jun 20, 2017 at 12:54 PM, Robert LeBlanc
> > > wrote:
> >
Hi all,
After merging the cifs tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
In file included from include/linux/kernel.h:13:0,
from include/linux/list.h:8,
from include/linux/wait.h:6,
from include/linux/fs.h:5,
On 31/05/17 08:18, Corentin Labbe wrote:
> The dwmac-sun8i is a heavy hacked version of stmmac hardware by
> allwinner.
> In fact the only common part is the descriptor management and the first
> register function.
Hi,
I know I am a bit late with this, but while adapting the U-Boot driver
to the
On 26.06.2017 00:47, Randy Dunlap wrote:
> but why not just do that in userspace.
Patch up syslogd (which one, actually?) to decode all the dozens of
different cases that print out errno values ?
Applying your argument more consequently - why do we have human-readable
messages at all, instead
We're using a PCA9564 on an embedded platform to provide an i2c
controller. This adds devicetree support and I've included some
cleanups for the driver while I was at it.
Chris Packham (5):
dt-bindings: add bindings for i2c-pca-platform
i2c: pca-platform: switch to struct gpio_desc
i2c:
Allow devices that use this driver to be registered via a
devicetree.
Signed-off-by: Chris Packham
---
Changes in v2:
- Set i2c->adap.dev.of_node so that child nodes are automatically probed
- Split dt-binding to separate patch, use "reset-gpios" instead of "gpios".
Changes in v3:
- None
Signed-off-by: Chris Packham
---
Changes in v2:
- Split dt-binding to separate patch, use "reset-gpios" instead of "gpios".
Changes in v3:
- State the gpio is active low
- Add example
.../devicetree/bindings/i2c/i2c-pca-platform.txt | 29 ++
1 file changed, 29
Switch to using the devm_ APIs and remove the now unnecessary error
handling and most of the device removal code.
Signed-off-by: Chris Packham
---
drivers/i2c/busses/i2c-pca-platform.c | 53 +++
1 file changed, 10 insertions(+), 43 deletions(-)
diff --git
Make use of struct gpio_desc which allows us to specify the active state
of the reset pin.
Signed-off-by: Chris Packham
---
Changes in v3:
- New, replaces "i2c: pca-platform: use gpio_is_valid"
- Using struct gpio_desc is required to make the flags stick. Because those
flags now correctly
Signed-off-by: Chris Packham
---
drivers/i2c/busses/i2c-pca-platform.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c/busses/i2c-pca-platform.c
b/drivers/i2c/busses/i2c-pca-platform.c
index 7db481cbf402..395eca0cbb1f 100644
---
Hi Bjorn,
Today's linux-next merge of the pci tree got a conflict in:
drivers/gpu/drm/radeon/radeon_device.c
between commit:
4eb59793cca0 ("drm/radeon: add a PX quirk for another K53TK variant")
from Linus' tree and commit:
22c21de73087 ("drm/radeon: make MacBook Pro d3_delay quirk
Hi Dongjiu,
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.12-rc6 next-20170623]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
Hi Wolfram,
After merging the i2c tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb':
drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function
'writesb'
Hi Jonathan,
Today's linux-next merge of the jc_docs tree got a conflict in:
scripts/kernel-doc-xml-ref
between commit:
cb77f0d623ff ("scripts: Switch to more portable Perl shebang")
from the kbuild tree and commit:
52b3f239bb69 ("Docs: clean up some DocBook loose ends")
from the
Hi Stephan, Lee & Jason,
(Adding target-devel CC')
Apologies for coming late to the discussion. Comments below.
On Sun, 2017-06-18 at 10:04 +0200, Stephan Müller wrote:
> Am Samstag, 17. Juni 2017, 05:45:57 CEST schrieb Lee Duncan:
>
> Hi Lee,
>
> > In your testing, how long might a process
Em Sun, 25 Jun 2017 09:15:06 -0300
Mauro Carvalho Chehab escreveu:
> Em Fri, 23 Jun 2017 10:02:39 -0300
> Mauro Carvalho Chehab escreveu:
>
> > Em Mon, 19 Jun 2017 16:56:13 +0900
> > "Takiguchi, Yasunari" escreveu:
> >
> > > >> +static int cxd2880_get_frontend_t(struct dvb_frontend *fe,
>
Hi, Andrew
On 2017/6/24 21:44, Andrew Lunn wrote:
>> @@ -1087,7 +1087,7 @@ int phy_suspend(struct phy_device *phydev)
>> {
>> struct phy_driver *phydrv = to_phy_driver(phydev->mdio.dev.driver);
>> struct ethtool_wolinfo wol = { .cmd = ETHTOOL_GWOL };
>> -int ret = 0;
>> +int
Hi Mauro,
Today's linux-next merge of the v4l-dvb-next tree got conflicts in:
Documentation/media/uapi/dvb/fe-diseqc-send-burst.rst
Documentation/media/uapi/dvb/fe-set-tone.rst
Documentation/media/uapi/dvb/fe-set-voltage.rst
between commit:
affd250dec17 ("[media] dvb uapi docs: enums
Use function set_loopback in phy_driver to setup phy loopback
when doing ethtool self test.
Signed-off-by: Lin Yun Sheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h| 1 +
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 92 +++-
2 files changed, 26
This patch add set_loopback in phy_driver, which is used by Mac
driver to enable or disable a phy. it also add a generic
genphy_loopback function, which use BMCR loopback bit to enable
or disable a phy.
Signed-off-by: Lin Yun Sheng
---
drivers/net/phy/marvell.c| 1 +
This Patch Set add set_loopback in phy_driver and use it to setup loopback
when doing ethtool phy self_test.
Patch V5:
Removing non loopback related code change.
Patch V4:
1. Remove c45 checking
2. Add -ENOTSUPP when function pointer is null,
take mutex in
It's been another week, and we have another -rc.
It's fairly small, and there were no huge surprises, so if nothing
untoward happens this upcoming week, this will be the final rc. But as
usual, I reserve the right to just drag things out if I end up feeling
uncomfortable about things for any
From: "Jason A. Donenfeld"
Date: Mon, 26 Jun 2017 00:52:09 +0200
> On Sun, Jun 25, 2017 at 5:49 PM, David Miller wrote:
>> You definitely can't just rewrite header fields here either. The
>> SKB could be shared, for example.
>
> I was afraid of that. It's easy to rework this particular patch,
On Sat, Jun 24, 2017 at 2:24 PM, Danny Milosavljevic
wrote:
> Since it's now possible to have a DAPM mixer control with multiple channels,
> use it to cut down the total number of controls.
>
> Signed-off-by: Danny Milosavljevic
> ---
> sound/soc/sunxi/sun4i-codec.c | 27
On Sat, 2017-06-24 at 21:02 +0100, Jonathan Cameron wrote:
> On Thu, 22 Jun 2017 13:44:34 +0800
> Zhiyong Tao wrote:
>
> > This commit adds mt7622 compatible node.
> >
> > Signed-off-by: Zhiyong Tao
> > ---
> > drivers/iio/adc/mt6577_auxadc.c |1 +
> > 1 file changed, 1 insertion(+)
> >
Hi All,
Here is v2 patch-series adding drivers for Intel FPGA devices.
The Intel FPGA driver provides interfaces for userspace applications to
configure, enumerate, open, and access FPGA accelerators on platforms
equipped with Intel(R) PCIe based FPGA solutions and enables system
level
During FPGA device (e.g PCI-based) discovery, platform devices are
registered for different FPGA function units. But the device node path
isn't quite friendly to applications.
Consider this case, applications want to access child device's sysfs file
for some information.
1) Access using
Add a document for Intel FPGA driver overview.
Signed-off-by: Enno Luebbers
Signed-off-by: Xiao Guangrong
Signed-off-by: Wu Hao
v2: added FME fpga-mgr/bridge/region platform driver to driver organization.
updated open discussion per current implementation.
fixed some typos.
---
This patch adds status to fpga-manager data structure, to allow
driver to store full/partial reconfiguration errors and other
status information.
one sysfs interface created for user space application to read
fpga-manager status.
Signed-off-by: Wu Hao
---
From: Kang Luwei
The header register set is always present for FPGA Management Engine (FME),
this patch implements init and uinit function for header sub feature and
introduce several read-only sysfs interfaces for the capability and status.
Sysfs interfaces:
* /sys/class/fpga///ports_num
This patch adds fpga region platform driver for Intel FPGA Management
Engine. It register a fpga region with given fpga manager / bridge
device.
Signed-off-by: Tim Whisonant
Signed-off-by: Enno Luebbers
Signed-off-by: Shiva Rao
Signed-off-by: Christopher Rauer
Signed-off-by: Wu Hao
---
This patch adds fpga bridge platform driver for Intel FPGA Management
Engine. It implements the enable_set call back for fpga bridge.
Signed-off-by: Tim Whisonant
Signed-off-by: Enno Luebbers
Signed-off-by: Shiva Rao
Signed-off-by: Christopher Rauer
Signed-off-by: Wu Hao
---
DMA memory regions are required for Accelerated Function Unit (AFU) usage.
These two ioctls allow user space applications to map user memory regions
for dma, and unmap them after use. Iova is returned from driver to user
space application via FPGA_PORT_DMA_MAP ioctl. Application needs to unmap
it
On Intel FPGA devices, the Accelerated Function Unit (AFU), can be
reprogrammed for different functions. It connects to the FPGA
infrastructure("blue bistream") via a Port. Port CSRs are implemented
separately from the AFU CSRs to provide control and status of the Port.
Once valid green bitstream
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which
need to be supported by all feature devices drivers including FME and AFU.
Userspace application can use these ioctl interfaces to get the API info
and check if specific extension is supported or not in current driver.
The header register set is always present for the Port/AFU, it is mainly
for capability, control and status of the ports that AFU connected to.
This patch implements header sub feature support. Below user interfaces
are created by this patch.
Sysfs interface:
* /sys/class/fpga///id
Read-only.
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which
need to be supported by all feature devices drivers including FME and AFU.
This patch implements above 2 ioctls in Intel FPGA Accelerated Function
Unit (AFU) driver.
Signed-off-by: Tim Whisonant
Signed-off-by: Enno
From: Xiao Guangrong
User Accelerated Function Unit sub feature exposes the MMIO region of
the AFU. After valid green bitstream (GBS) is programmed and port is
enabled, then this MMIO region could be accessed.
This patch adds support to enumerate the AFU MMIO region and expose it
to userspace
From: Kang Luwei
The FPGA Management Engine (FME) provides power, thermal management,
performance counters, partial reconfiguration and other functions. For each
function, it is packaged into a private feature linked to the FME feature
device in the 'Device Feature List'. It's a platform device
From: Kang Luwei
Partial Reconfiguration (PR) is the most important function for FME. It
allows reconfiguration for given Port/Accelerated Function Unit (AFU).
It creates platform devices for fpga-mgr, fpga-regions and fpga-bridges,
and invokes fpga-region's interface (fpga_region_program_fpga)
For FPGA Management Engine (FME), it requires fpga_for_each_port callback
for actions on ports, so export this function from PCIe driver by adding
the callback to the platform data.
Signed-off-by: Tim Whisonant
Signed-off-by: Enno Luebbers
Signed-off-by: Shiva Rao
Signed-off-by: Christopher
This patch removes OF dependency of fpga-bridge, it allows drivers
to use fpga-bridge class without device tree support.
Signed-off-by: Wu Hao
---
drivers/fpga/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index ed600d5..c1d8f41 100644
From: Xiao Guangrong
This patch abstracts the common operations of the sub features, and defines
the feature_ops data structure, including init, uinit and ioctl function
pointers. And this patch adds some common helper functions for FME and AFU
drivers, e.g feature_dev_use_begin/end which are
This patch adds fpga manager driver for Intel FPGA Management
Engine(FME). It implements fpga_manager_ops for FPGA Partial
Reconfiguration function.
Signed-off-by: Tim Whisonant
Signed-off-by: Enno Luebbers
Signed-off-by: Shiva Rao
Signed-off-by: Christopher Rauer
Signed-off-by: Kang Luwei
From: Zhang Yi
The Intel FPGA device appears as a PCIe device on the system. This patch
implements the basic framework of the driver for Intel PCIe device which
locates between CPU and Accelerated Function Units (AFUs).
Signed-off-by: Tim Whisonant
Signed-off-by: Enno Luebbers
Signed-off-by:
From: Xiao Guangrong
For feature devices drivers, both the FPGA Management Engine (FME) and
Accelerated Function Unit (AFU) driver need to expose user interfaces via
the device file, for example, mmap and ioctls.
This patch adds chardev support in the pcie driver for feature devices,
FME and
From: Xiao Guangrong
Device Feature List structure creates a link list of feature headers
within the MMIO space to provide an extensible way of adding features.
The Intel FPGA PCIe driver walks through the feature headers to enumerate
feature devices, FPGA Management Engine (FME) and FPGA Port
This patch adds region_id to fpga_image_info data structure, it
allows driver to pass region id information to fpga-mgr via
fpga_image_info for fpga reconfiguration function.
Signed-off-by: Wu Hao
---
include/linux/fpga/fpga-mgr.h | 1 +
1 file changed, 1 insertion(+)
diff --git
401 - 500 of 548 matches
Mail list logo