Re: [PATCH] tty: serial: serial_mctrl_gpio: Fix build error for !GPIOLIB

2014-09-10 Thread Tobias Klauser
On 2014-09-10 at 15:57:16 +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 10, 2014 at 10:06:58AM +0200, Tobias Klauser wrote: > > If SERIAL_MCTRL_GPIO is selected but GPIOLIB is not, the noop functions > > from serial_mctrl_gpio.h are pulled in. However, serial_mctrl_gpio.c is >

Re: [PATCH] staging: xillybus: Move out of staging

2014-09-01 Thread Tobias Klauser
On 2014-08-31 at 09:57:01 +0200, Eli Billauer wrote: > This driver has been functional and stable throughout the year it has spent > in the staging area. It has been patched for minor bugs, coding style issues > and improvements during this period, so I suppose its time has come. > > I shall cont

Re: [PATCH] powerpc/perf: Implement get_cpu_str()

2014-08-07 Thread Tobias Klauser
On 2014-08-06 at 02:17:55 +0200, Sukadev Bhattiprolu wrote: > powerpc/perf: Implement get_cpu_str() > > With a file like ~/.cache/pmu-events/004d0100-core.json describing > Power8 PMU events, we would need to run: > > perf stat \ > --events-file ~/.cache/pmu-events/004d0100-

Re: [PATCH] Adding a support for Skyworks SKY81452

2014-08-07 Thread Tobias Klauser
On 2014-08-07 at 10:05:38 +0200, Gyungoh Yoo wrote: > Signed-off-by: Gyungoh Yoo > --- > Documentation/backlight/sky81452.txt | 25 ++ > Documentation/devicetree/bindings/mfd/sky81452.txt | 24 ++ > .../bindings/regulator/sky81452-regulator.txt | 16 + > .../devicetree/bind

Re: [PATCH] Adding a support for Skyworks SKY81452

2014-08-08 Thread Tobias Klauser
On 2014-08-08 at 09:09:19 +0200, Thierry Reding wrote: > On Thu, Aug 07, 2014 at 02:34:39PM +0200, Tobias Klauser wrote: > > On 2014-08-07 at 10:05:38 +0200, Gyungoh Yoo wrote: > [...] > > > +#ifdef CONFIG_OF > > > +static const struct of_device_id sky81452_of_ma

Re: [PATCH v10 4/4] drivers: net: Add APM X-Gene SoC ethernet driver support.

2014-08-08 Thread Tobias Klauser
nts for v9 of this series have been properly adressed. Reviewed-by: Tobias Klauser Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 1/2] tty: serial: 8250: Add Mediatek UART driver

2014-08-08 Thread Tobias Klauser
On 2014-08-08 at 13:32:03 +0200, Matthias Brugger wrote: > This patch adds support for the UART block found on Mediatek SoCs. > The device has a highspeed register which influences the calcualtion of the > divisor. The chip lacks support for some baudrates. When requested, we set the > divisor to

Re: [PATCH v3 1/2] tty: serial: 8250: Add Mediatek UART driver

2014-08-12 Thread Tobias Klauser
On 2014-08-12 at 15:31:51 +0200, Matthias Brugger wrote: > 2014-08-08 14:28 GMT+02:00 Tobias Klauser : > > On 2014-08-08 at 13:32:03 +0200, Matthias Brugger > > wrote: > >> This patch adds support for the UART block found on Mediatek SoCs. > >> The devi

Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-07 Thread Tobias Klauser
On 2014-10-07 at 13:31:41 +0200, Pramod Gurav wrote: > This change switch to managed resources to simplifies error handling > and module unloading and does away with platform_driver remove function. > > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org > Signed-off-by: Pramod Gurav > --- >

Re: [PATCH net-next] et131x: Add PCIe gigabit ethernet driver et131x to drivers/net

2014-10-01 Thread Tobias Klauser
On 2014-09-30 at 23:29:46 +0200, Mark Einon wrote: > This adds the ethernet driver for Agere et131x devices to > drivers/net/ethernet. > > The driver being added has been in the staging tree for some time, and will be > removed from there in a seperate patch. This one merely disables the staging

Re: [PATCH net-next] et131x: Add PCIe gigabit ethernet driver et131x to drivers/net

2014-10-01 Thread Tobias Klauser
On 2014-10-01 at 15:43:47 +0200, Joe Perches wrote: > On Wed, 2014-10-01 at 14:45 +0200, Tobias Klauser wrote: > > On 2014-09-30 at 23:29:46 +0200, Mark Einon wrote: > > > This adds the ethernet driver for Agere et131x devices to > > > drivers/net/ethernet. > []

Re: [PATCH 05/10] added media specific (MS) TCP drivers

2014-11-04 Thread Tobias Klauser
On 2014-11-03 at 21:42:52 +0100, Stephanie Wallick wrote: > This is where we handle media specific packets and transport. The MS driver > interfaces with a media agnostic (MA) driver via a series of transfer pairs. > Transfer pairs consist of a set of functions to pass MA USB packets back > and f

Re: [PATCH 11/23] nios2/time: Migrate to new 'set-state' interface

2015-07-17 Thread Tobias Klauser
states of clockevent > devices, for example: ONESHOT_STOPPED. > > Cc: Ley Foon Tan > Cc: Tobias Klauser > Cc: Herbert Xu > Cc: Dmitry Torokhov > Cc: nios2-...@lists.rocketboards.org > Signed-off-by: Viresh Kumar Reviewed-by: Tobias Klauser -- To unsubscribe from this list

[PATCH] fpga manager: Fix firmware resource leak on error

2015-11-18 Thread Tobias Klauser
t;) Signed-off-by: Tobias Klauser --- drivers/fpga/fpga-mgr.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c index a24f5cb877e0..aad6439c3692 100644 --- a/drivers/fpga/fpga-mgr.c +++ b/drivers/fpga/fpga-mgr.c @@ -122,12 +122

Re: [PATCH v3 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2014-11-26 Thread Tobias Klauser
On 2014-11-25 at 13:16:58 +0100, Chunyan Zhang wrote: > Add a full sc9836-uart driver for SC9836 SoC which is based on the > spreadtrum sharkl64 platform. > This driver also support earlycon. > > Signed-off-by: Chunyan Zhang > Signed-off-by: Orson Zhai > Originally-by: Lanqing Liu > --- > Do

Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map

2014-11-17 Thread Tobias Klauser
On 2014-11-14 at 23:04:19 +0100, Dmitry Torokhov wrote: > Return value of irq_of_parse_and_map() is unsigned int, with 0 > indicating failure, so testing for negative result never works. > > Signed-off-by: Dmitry Torokhov Reviewed-by: Tobias Klauser Thanks for catching

[PATCH] drivers: Remove duplicate include of SOC driver configuration

2014-11-18 Thread Tobias Klauser
eg Kroah-Hartman Cc: Santosh Shilimkar Cc: Sandeep Nair Signed-off-by: Tobias Klauser --- drivers/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/Kconfig b/drivers/Kconfig index 1a693d3..622fa26 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -148,8 +148,6 @@ source "d

Re: [PATCH] Input: opencores-kbd: Switch to using managed resources

2014-10-08 Thread Tobias Klauser
On 2014-10-07 at 18:17:16 +0200, Dmitry Torokhov wrote: > On Tue, Oct 07, 2014 at 03:33:22PM +0200, Tobias Klauser wrote: > > On 2014-10-07 at 13:31:41 +0200, Pramod Gurav > > wrote: > > > This change switch to managed resources to simplifies error handling > > &

Re: [PATCH v4 17/29] nios2: System calls handling

2014-10-09 Thread Tobias Klauser
On 2014-10-08 at 11:29:43 +0200, Ley Foon Tan wrote: > This patch adds support for system calls from userspaces. It uses the > asm-generic/unistd.h definitions with architecture spcific syscall. The > sys_call_table > is just an array defined in a C file and it contains pointers to the syscall >

Re: nios2: is the ptrace ABI correct?

2015-03-12 Thread Tobias Klauser
On 2015-03-09 at 18:02:17 +0100, Chung-Lin Tang wrote: > On 2015/3/10 12:54 AM, Chung-Lin Tang wrote: > > It appears that some of the ways nios2 has organized the > > ucontext/pt_regs/etc. are remnants of the pre-generic code, some > > basically because the port was based off m68k. > > > > I've r

Re: [PATCH] serial: altera-juart: fix NULL device in log message

2014-12-16 Thread Tobias Klauser
MMIO 0x1008 (irq = 2, base_baud = 0) > is a > Altera JTAG UART" > > Signed-off-by: Ley Foon Tan Acked-by: Tobias Klauser -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [PATCH] serial: altera-uart: fix NULL device in log message

2014-12-16 Thread Tobias Klauser
0x2020 (irq = 6, base_baud = 3125000) > is a Altera UART" > > Signed-off-by: Ley Foon Tan Acked-by: Tobias Klauser -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

Re: [PATCH 2/2] staging: emxx_udc: remove macro ERR

2015-01-21 Thread Tobias Klauser
On 2015-01-21 at 23:56:06 +0100, Ahmad Hassan wrote: > Removed ERR macro since it is not used anymore in the emxx_udc.c file. > > Signed-off-by: Ahmad Hassan > --- > drivers/staging/emxx_udc/emxx_udc.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/emxx_udc/emxx_udc.h

Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-02 Thread Tobias Klauser
means that in order to suppress re-definition errors we need to > setup #define's before importing asm-generic/io.h. > > Signed-off-by: Greentime Hu Reviewed-by: Tobias Klauser Thanks

[PATCH] cpu/hotplug: Remove unused but set variable in _cpu_down()

2017-01-17 Thread Tobias Klauser
hasdied’ set but not used [-Wunused-but-set-variable] Fix it by removing the variable. Cc: Thomas Gleixner Signed-off-by: Tobias Klauser --- kernel/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index f75c4d031eeb..f6b166ac7873 100644 --- a/kernel/cpu.

Re: [PATCH v3 3/8] nios2: put setup.h in uapi

2017-01-13 Thread Tobias Klauser
On 2017-01-13 at 11:46:41 +0100, Nicolas Dichtel wrote: > This header file is exported, but from a userland pov, it's just a wrapper > to asm-generic/setup.h. > > Signed-off-by: Nicolas Dichtel Reviewed-by: Tobias Klauser

Re: [PATCH] cxgb4: Remove redundant memset before memcpy

2017-01-13 Thread Tobias Klauser
On 2017-01-13 at 10:52:49 +0100, Shyam Saini wrote: > The region set by the call to memset, immediately overwritten by the > subsequent call to memcpy and thus makes the memset redundant > > Signed-off-by: Shyam Saini > --- > drivers/net/ethernet/chelsio/cxgb4/sched.c | 3 --- > 1 file changed

Re: [PATCH] cxgb4: Remove redundant memset before memcpy

2017-01-14 Thread Tobias Klauser
mcpy()'ed to before being used in the loop and it isn't > used outside of the loop. > > Signed-off-by: Shyam Saini Reviewed-by: Tobias Klauser

[PATCH] scripts/checkstack.pl: Add support for nios2

2017-01-16 Thread Tobias Klauser
Adjust checkstack.pl for the nios2 architecture. Cc: Ley Foon Tan Signed-off-by: Tobias Klauser --- scripts/checkstack.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index dd8397894d5c..694a075381b0 100755 --- a/scripts/checkstack.pl

Re: [PATCH 12/20] nios2: migrate exception table users off module.h and onto extable.h

2017-01-25 Thread Tobias Klauser
content in module.h that we don't really need to compile this file. > > Reported-by: kbuild test robot > Cc: Ley Foon Tan > Cc: nios2-...@lists.rocketboards.org > Signed-off-by: Paul Gortmaker Reviewed-by: Tobias Klauser

Re: [PATCH v2 1/2] net: ethernet: ethoc: use phydev from struct net_device

2016-07-15 Thread Tobias Klauser
ed in struct net_device. > > Signed-off-by: Philippe Reynes Reviewed-by: Tobias Klauser Thanks

Re: [PATCH v2 2/2] net: ethernet: ethoc: use phy_ethtool_{get|set}_link_ksettings

2016-07-15 Thread Tobias Klauser
On 2016-07-15 at 09:59:12 +0200, Philippe Reynes wrote: > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Reviewed-by: Tobias Klauser Thanks

Re: [PATCH net-next 2/5] net: ethoc: Implement ethtool::nway_reset

2016-11-15 Thread Tobias Klauser
On 2016-11-15 at 20:19:46 +0100, Florian Fainelli wrote: > Implement ethtool::nway_reset using phy_ethtool_nway_reset. We are > already using dev->phydev all over the place so this comes for free. > > Signed-off-by: Florian Fainelli Reviewed-by: Tobias Klauser

[PATCH] block: Change extern inline to static inline

2016-10-21 Thread Tobias Klauser
ntime_active' [-Wmissing-prototypes] Fixes: d07ab6d11477 ("block: Add blk_set_runtime_active()") Cc: Mika Westerberg Signed-off-by: Tobias Klauser --- include/linux/blkdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/blkdev.h b/include/linux/blkd

Re: [mm PATCH v3 12/23] arch/nios2: Add option to skip DMA sync as a part of map and unmap

2016-11-11 Thread Tobias Klauser
> Signed-off-by: Alexander Duyck Reviewed-by: Tobias Klauser

[PATCH] NFC: nfcmrvl: Include unaligned.h instead of access_ok.h

2016-10-26 Thread Tobias Klauser
load support") Reported-by: kbuild test robot Link: https://lkml.org/lkml/2016/10/22/247 Cc: Vincent Cuissard Signed-off-by: Tobias Klauser --- drivers/nfc/nfcmrvl/fw_dnld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/nfcmrvl/fw_dnld.c b/drivers/nfc

Re: [PATCH] NFC: nfcmrvl: Include unaligned.h instead of access_ok.h

2016-10-26 Thread Tobias Klauser
On 2016-10-26 at 11:00:12 +0200, Tobias Klauser wrote: > Including linux/unaligned/access_ok.h causes the allmodconfig build on > ia64 (and maybe others) to fail with the following warnings: > > include/linux/unaligned/access_ok.h:7:19: error: redefinition of > 'get_unali

[PATCH] sched/fair: Remove unused but set variable 'rq'

2016-10-26 Thread Tobias Klauser
d [-Wunused-but-set-variable] Signed-off-by: Tobias Klauser --- kernel/sched/fair.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d941c97dfbc3..c242944f5cbd 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-03-07 Thread Tobias Klauser
On 2017-03-03 at 04:04:41 +0100, Guenter Roeck wrote: > On 03/02/2017 08:38 AM, Tobias Klauser wrote: > >On 2017-03-01 at 20:45:21 +0100, Guenter Roeck wrote: > >>On Wed, Mar 01, 2017 at 07:58:17PM +0100, Sven Schmidt wrote: > >>>Hi Guenter, Tobias and Sandra, >

[PATCH] panic: fix typo "notewortht" -> "noteworthy" in kerneldoc comment

2017-03-07 Thread Tobias Klauser
Fix trivial typo "notewortht" -> "noteworthy" in kerneldoc comment of add_taint(). Signed-off-by: Tobias Klauser --- kernel/panic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/panic.c b/kernel/panic.c index a58932b41700..e7c61e7147cb 1006

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-03-09 Thread Tobias Klauser
On 2017-03-09 at 14:20:51 +0100, Guenter Roeck wrote: > On 03/07/2017 04:46 AM, Tobias Klauser wrote: > [ ... ] > > > > >Linux version 4.11.0-rc1-dirty (tobiask@ziws08) (gcc version 7.0.1 20170226 > >(experimental) (GCC) ) #46 Tue Mar 7 13:40:53 CET 2017 > >boot

[PATCH] tty: n_gsm: Use net_device_stats from struct net_device

2017-03-13 Thread Tobias Klauser
Instead of using a private copy of struct net_device_stats in struct gsm_mux_net, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Signed-off-by: Tobias Klauser --- drivers/tty/n_gsm.c | 21 ++--- 1 file changed, 6 insertions(+), 15

Re: [PATCH] btrfs: Remove some dead code

2016-11-03 Thread Tobias Klauser
On 2016-11-01 at 11:26:06 +0100, Christophe JAILLET wrote: > 'btrfs_iget()' can not return an error pointer, so this test can be > removed. This descrption does not match what the patch actually does. Shouldn't it say "...can not return NULL, so this test can be removed."? > Signed-off-by: Chr

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-02-28 Thread Tobias Klauser
(adding Sandra Loosemore to Cc due to possible relation to gcc/binutils for nios2) On 2017-02-26 at 22:03:38 +0100, Guenter Roeck wrote: > Hi Sven, > > my qemu test for nios2 started failing with commit 4e1a33b105dd ("lib: > update LZ4 compressor module"). The test hangs early during boot before

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-03-02 Thread Tobias Klauser
, Feb 28, 2017 at 10:53:56AM -0700, Sandra Loosemore wrote: > >>>On 02/28/2017 08:53 AM, Tobias Klauser wrote: > >>>>(adding Sandra Loosemore to Cc due to possible relation to gcc/binutils > >>>>for nios2) > >>>> > >>>>On 2017-02

Re: nios2 crash/hang in mainline due to 'lib: update LZ4 compressor module'

2017-03-02 Thread Tobias Klauser
> > > On Tue, Feb 28, 2017 at 10:53:56AM -0700, Sandra Loosemore wrote: > > > > On 02/28/2017 08:53 AM, Tobias Klauser wrote: > > > > >(adding Sandra Loosemore to Cc due to possible relation to gcc/binutils > > > > >for nios2) > > > &g

Re: [PATCH v4 18/24] scripts/checkstack.pl: Add openrisc support

2017-02-24 Thread Tobias Klauser
On 2017-02-24 at 05:32:38 +0100, Stafford Horne wrote: > Openrisc stack pointer is managed by decrementing r1. Add regexes to > recognize this. > > Signed-off-by: Stafford Horne > --- > scripts/checkstack.pl | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/checkstack.pl b/sc

[PATCH] nios2: use of_property_read_bool

2016-08-10 Thread Tobias Klauser
Use of_property_read_bool instead of open-coding it as fpcu_has. Convert the members of struct cpuinfo from u32 to bool accordingly as they are only used as boolean anyhow. Signed-off-by: Tobias Klauser --- arch/nios2/include/asm/cpuinfo.h | 8 arch/nios2/kernel/cpuinfo.c | 15

Re: [PATCH 1/2] net: ethernet: ethoc: use phydev from struct net_device

2016-06-26 Thread Tobias Klauser
On 2016-06-25 at 16:33:41 +0200, Philippe Reynes wrote: > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy in the private structure, and update the driver to use the > one contained in struct net_devi

Re: [PATCH 2/2] net: ethernet: ethoc: use phy_ethtool_{get|set}_link_ksettings

2016-06-26 Thread Tobias Klauser
On 2016-06-25 at 16:33:42 +0200, Philippe Reynes wrote: > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Reviewed-by: Tobias Klauser Thanks

Re: [PATCH] net/ethoc: do not free array priv->mdio->irq

2016-03-03 Thread Tobias Klauser
an > > Fixes: e7f4dc3536a400 ("mdio: Move allocation of interrupts into core") > Signed-off-by: Colin Ian King Reviewed-by: Tobias Klauser

[PATCH v2] net: ll_temac: Use of_property_read_u32 instead of open-coding it

2015-09-23 Thread Tobias Klauser
Use of_property_read_u32 to read the "clock-frequency" property instead of using of_get_property with return value checks. Signed-off-by: Tobias Klauser Reviewed-by: Sören Brinkmann --- v2: Resending with Cc to netdev drivers/net/ethernet/xilinx/ll_temac_mdio.c | 9 - 1 fi

[PATCH v2] net: axinet: Use of_property_read_u32 instead of open-coding it

2015-09-23 Thread Tobias Klauser
Use of_property_read_u32 instead of of_get_property with return value checks and endianness conversion. Signed-off-by: Tobias Klauser Reviewed-by: Sören Brinkmann --- v2: Resending with Cc to netdev drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c | 5 + 1 file changed, 1 insertion(+), 4

Re: [RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread Tobias Klauser
On 2015-08-10 at 11:53:41 +0200, yalin wang wrote: > This change to use generic bitrev8() for bmac driver. > > Signed-off-by: yalin wang > --- > drivers/net/ethernet/apple/bmac.c | 17 +++-- > 1 file changed, 3 insertions(+), 14 deletions(-) > > diff --git a/drivers/net/ethernet/ap

[PATCH] net: ll_temac: Use of_property_read_u32 instead of open-coding it

2015-09-22 Thread Tobias Klauser
Use of_property_read_u32 to read the "clock-frequency" property instead of using of_get_property with return value checks. Signed-off-by: Tobias Klauser --- drivers/net/ethernet/xilinx/ll_temac_mdio.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/d

[PATCH] net: axinet: Use of_property_read_u32 instead of open-coding it

2015-09-22 Thread Tobias Klauser
Use of_property_read_u32 instead of of_get_property with return value checks and endianness conversion. Signed-off-by: Tobias Klauser --- drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/ethernet/xilinx

Re: [PATCH] nios2: Fix unused variable warning

2015-09-22 Thread Tobias Klauser
.c: In function 'nios2_boot_init': > arch/nios2/kernel/setup.c:107:7: warning: unused variable 'cmdline_passed' > [-Wunused-variable] > char cmdline_passed[COMMAND_LINE_SIZE] = { 0, }; >^ > > Signed-off-by: Marek Vasut Reviewed-by: Tobias Klauser -- To u

[PATCH] csky: remove unusued thread_saved_pc and *_segments functions/macros

2020-06-10 Thread Tobias Klauser
gments() macros/functions") Remove them from arch/csky as well. Signed-off-by: Tobias Klauser --- arch/csky/include/asm/processor.h | 6 -- arch/csky/kernel/process.c| 10 -- 2 files changed, 16 deletions(-) diff --git a/arch/csky/include/asm/processor.h b/arch/csky/inc

[PATCH v2] riscv: Allow building with kcov coverage

2020-06-26 Thread Tobias Klauser
Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the riscv Kconfig. Also disable instrumentation of some early boot code and vdso. Boot-tested on QEMU's riscv64 virt machine. Cc: Björn Töpel Cc: Dmitry Vyukov Signed-off-by: Tobias Klauser --- arch/riscv/Kconfig | 2 ++ arch/riscv

[PATCH] objtool: Free memory in error case in special_get_alts

2020-06-12 Thread Tobias Klauser
Avoid a memory leak in case get_alt_entry returns an error. Signed-off-by: Tobias Klauser --- tools/objtool/special.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/objtool/special.c b/tools/objtool/special.c index e74e0189de22..f6f7dee1ba77 100644 --- a/tools

Re: [PATCH] csky: remove unusued thread_saved_pc and *_segments functions/macros

2020-06-15 Thread Tobias Klauser
On 2020-06-13 at 10:42:07 +0200, Guo Ren wrote: > Acked-by: Guo Ren Thanks for the Ack. Are you taking this patch through your own tree or should I directly submit to someone else? > On Wed, Jun 10, 2020 at 11:45 PM Tobias Klauser wrote: > > > > These are used nowhere in th

[PATCH] fs: adjust dirtytime_interval_handler definition to match prototype

2020-08-25 Thread Tobias Klauser
.h:374:5:int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+

[PATCH] ipc: adjust proc_ipc_sem_dointvec definition to match prototype

2020-08-25 Thread Tobias Klauser
sctl.c:194:35:expected int ( [usertype] *proc_handler )( ... ) ipc/ipc_sysctl.c:194:35:got int ( * )( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- ipc/ipc_sysctl.c | 2 +- 1 file changed,

[PATCH bpf] bpf, sysctl: let bpf_stats_handler take a kernel pointer buffer

2020-08-24 Thread Tobias Klauser
expected int ( [usertype] *proc_handler )( ... ) kernel/sysctl.c:2640:35:got int ( * )( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- kernel/sysctl.c | 3 +-- 1 file changed, 1 insertion(+),

[PATCH] ftrace: let ftrace_enable_sysctl take a kernel pointer buffer

2020-08-25 Thread Tobias Klauser
ng: incorrect type in argument 3 (different address spaces) kernel/trace/ftrace.c:7544:43:expected void * kernel/trace/ftrace.c:7544:43:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Sig

[PATCH] stackleak: let stack_erasing_sysctl take a kernel pointer buffer

2020-08-25 Thread Tobias Klauser
ncorrect type in argument 3 (different address spaces) kernel/stackleak.c:31:50:expected void * kernel/stackleak.c:31:50:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias K

[PATCH] fork: adjust sysctl_max_threads definition to match prototype

2020-08-25 Thread Tobias Klauser
242:5: note: previously declared as: ./include/linux/sysctl.h:242:5:int extern [addressable] [signed] [toplevel] sysctl_max_threads( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Signed-off-by: Tobias Klauser --- kernel/fork.c

[PATCH] fs: adjust dirtytime_interval_handler definition to match prototype

2020-09-07 Thread Tobias Klauser
.h:374:5:int extern [addressable] [signed] [toplevel] dirtytime_interval_handler( ... ) Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al Viro Signed-off-by: Tobias Klauser --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertio

[PATCH] stackleak: let stack_erasing_sysctl take a kernel pointer buffer

2020-09-07 Thread Tobias Klauser
ncorrect type in argument 3 (different address spaces) kernel/stackleak.c:31:50:expected void * kernel/stackleak.c:31:50:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al Viro Sig

[PATCH] ftrace: let ftrace_enable_sysctl take a kernel pointer buffer

2020-09-07 Thread Tobias Klauser
ng: incorrect type in argument 3 (different address spaces) kernel/trace/ftrace.c:7544:43:expected void * kernel/trace/ftrace.c:7544:43:got void [noderef] __user *buffer Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler") Cc: Christoph Hellwig Cc: Al V

Re: [PATCH 2/2] tools, bpftool: Remove two unused variables.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:46 +0100, Ian Rogers wrote: > Avoid an unused variable warning. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

Re: [PATCH 1/2] tools, bpftool: Avoid array index warnings.

2020-10-28 Thread Tobias Klauser
On 2020-10-28 at 00:36:45 +0100, Ian Rogers wrote: > The bpf_caps array is shorter without CAP_BPF, avoid out of bounds reads > if this isn't defined. Working around this avoids -Wno-array-bounds with > clang. > > Signed-off-by: Ian Rogers Reviewed-by: Tobias Klauser

Re: [PATCH] serial: altera_jtaguart: Replace HTTP links with HTTPS ones

2020-07-20 Thread Tobias Klauser
ent: > Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov Acked-by: Tobias Klauser Thanks

[PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
vers/phy/xilinx/phy-zynqmp.c:819:12: warning: ‘xpsgtr_suspend’ defined but not used [-Wunused-function] 819 | static int xpsgtr_suspend(struct device *dev) |^~ Signed-off-by: Tobias Klauser --- drivers/phy/xilinx/phy-zynqmp.c | 4 ++-- 1 file changed, 2 insertio

Re: [PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
On 2020-07-01 at 15:44:43 +0200, Laurent Pinchart wrote: > On Wed, Jul 01, 2020 at 07:06:43PM +0530, Vinod Koul wrote: > > On 01-07-20, 16:19, Laurent Pinchart wrote: > > > On Wed, Jul 01, 2020 at 11:04:38AM +0200, Tobias Klauser wrote: > > > > This fixes the f

Re: [PATCH] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
On 2020-07-01 at 16:01:08 +0200, Laurent Pinchart wrote: > On Wed, Jul 01, 2020 at 04:00:26PM +0200, Tobias Klauser wrote: > > On 2020-07-01 at 15:44:43 +0200, Laurent Pinchart > > wrote: > > > On Wed, Jul 01, 2020 at 07:06:43PM +0530, Vinod Koul wrote: > > &

[PATCH v2] phy: zynqmp: Fix unused-function compiler warning

2020-07-01 Thread Tobias Klauser
-checked regardless of CONFIG_PM and/or CONFIG_PM_SLEEP being set. Reviewed-by: Laurent Pinchart Signed-off-by: Tobias Klauser --- drivers/phy/xilinx/phy-zynqmp.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/phy/xilinx/phy-zynqmp.c b/drivers/phy/xilinx/phy

[PATCH] csky: remove unsued thread_saved_pc and *_segments functions/macros

2019-06-12 Thread Tobias Klauser
") Remove them from arch/csky as well. Signed-off-by: Tobias Klauser --- arch/csky/include/asm/processor.h | 6 -- arch/csky/kernel/process.c| 10 -- 2 files changed, 16 deletions(-) diff --git a/arch/csky/include/asm/processor.h b/arch/csky/include/asm/processor.

Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-19 Thread Tobias Klauser
, please drop us a note to > >help improve the system] > > > >url: > >https://github.com/0day-ci/linux/commits/Tobias-Klauser/fpga-allow-to-compile-test-Altera-FPGA-bridge-drivers/20170411-181401 > >config: m32r-allmodconfig (attached as .config) >

[PATCH] MAINTAINERS: update file entry for HSI subsystem

2017-04-21 Thread Tobias Klauser
The HSI documentation was moved into Documentation/driver-api/hsi.rst in commit 5e995786850e ("docs: split up serial-interfaces.rst"). Update the corresponding file entry in MAINTAINERS. Signed-off-by: Tobias Klauser --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH] fpga altera-hps2fpga: disable/unprepare clock on error in alt_fpga_bridge_probe()

2017-04-11 Thread Tobias Klauser
unnecessary call to fpga_bridge_unregister() and call clk_disable_unprepare() in both error paths in order to make sure the clock gets properly disabled and unprepared. Signed-off-by: Tobias Klauser --- drivers/fpga/altera-hps2fpga.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions

[PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-11 Thread Tobias Klauser
Add COMPILE_TEST to the Kconfig entries for the Altera SoCFPGA FPGA Bridge and the Altera FPGA Freeze Bridge drivers to allow test-compiling them on other architectures. Signed-off-by: Tobias Klauser --- drivers/fpga/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-11 Thread Tobias Klauser
Hi Alan, On 2017-04-11 at 16:27:03 +0200, Alan Tull wrote: > On Tue, Apr 11, 2017 at 4:22 AM, Tobias Klauser wrote: > > Hi Tobias, > > Thanks for your fixes that you have been sending. I disagree with > this particular one (see below), but I appreciate your efforts. Thanks

Re: [PATCH] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-11 Thread Tobias Klauser
On 2017-04-11 at 17:21:19 +0200, Alan Tull wrote: > On Tue, Apr 11, 2017 at 9:35 AM, Tobias Klauser wrote: > > Hi Alan, > > > > On 2017-04-11 at 16:27:03 +0200, Alan Tull wrote: > >> On Tue, Apr 11, 2017 at 4:22 AM, Tobias Klauser > >> wrote: > &g

[PATCH v2] fpga: allow to compile-test Altera FPGA bridge drivers

2017-04-12 Thread Tobias Klauser
rrors/warnings, e.g. due to API/header changes earlier on. Signed-off-by: Tobias Klauser --- drivers/fpga/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index 161ba9dccede..544600db8052 100644 --- a/drivers/fpga/Kconfig

[PATCH] nios2: reserve boot memory for device tree

2017-03-31 Thread Tobias Klauser
ed and (re-)allocated by early_init_dt_alloc_memory_arch(). Cc: sta...@vger.kernel.org Reported-by: Guenter Roeck Reference: http://lkml.kernel.org/r/20170226210338.ga19...@roeck-us.net Tested-by: Guenter Roeck Signed-off-by: Tobias Klauser --- arch/nios2/kernel/prom.c | 7 +++ arch/nios2/kernel/setup.c | 3 +++ 2 file

[PATCH] arch: remove unused macro/function thread_saved_pc()

2017-06-28 Thread Tobias Klauser
d_saved_pc() intact. Cc: Linus Torvalds Cc: Ingo Molnar Signed-off-by: Tobias Klauser --- arch/arc/include/asm/processor.h| 2 -- arch/blackfin/include/asm/processor.h | 5 - arch/c6x/include/asm/processor.h| 5 - arch/cris/arch-v10/kernel/process.c | 8

[PATCH] microblaze: wire up statx syscall

2017-05-19 Thread Tobias Klauser
Add the new statx syscall. Signed-off-by: Tobias Klauser --- arch/microblaze/include/asm/unistd.h | 2 +- arch/microblaze/include/uapi/asm/unistd.h | 1 + arch/microblaze/kernel/syscall_table.S| 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/microblaze/include

[PATCH] microblaze: remove asm-generic wrapper headers

2017-05-19 Thread Tobias Klauser
d in order to get exported, as they are already listed in mandatory-y. Also order the generic-y list alphabetically. Signed-off-by: Tobias Klauser --- arch/microblaze/include/asm/Kbuild | 45 - arch/microblaze/include/asm/bitops.h| 1 - arch/

[PATCH] mfd: fsl-imx25-tsadc: constify irq_domain_ops

2017-05-24 Thread Tobias Klauser
struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser --- drivers/mfd/fsl-imx25-tsadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c index ac430a396a89..190e375dc57a

Re: [PATCH 5/9] RISC-V: Task implementation

2017-06-29 Thread Tobias Klauser
On 2017-06-28 at 20:55:34 +0200, Palmer Dabbelt wrote: [...] > diff --git a/arch/riscv/include/asm/kprobes.h > b/arch/riscv/include/asm/kprobes.h > new file mode 100644 > index ..1190de7a0f74 > --- /dev/null > +++ b/arch/riscv/include/asm/kprobes.h > @@ -0,0 +1,22 @@ > +/* > + * Copyr

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-29 Thread Tobias Klauser
On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: [...] > diff --git a/arch/riscv/include/asm/device.h b/arch/riscv/include/asm/device.h > new file mode 100644 > index ..28975e528d2f > --- /dev/null > +++ b/arch/riscv/include/asm/device.h > @@ -0,0 +1,27 @@ > +/* > + * Copyright (

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-30 Thread Tobias Klauser
On 2017-06-30 at 00:52:44 +0200, Palmer Dabbelt wrote: > On Thu, 29 Jun 2017 01:39:25 PDT (-0700), tklau...@distanz.ch wrote: > > On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: > > [...] > >> diff --git a/arch/riscv/include/asm/device.h > >> b/arch/riscv/include/asm/device.h > >> new fil

Re: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h

2017-07-11 Thread Tobias Klauser
. > > If we look at [1], it just includes [2]. So, [1] can be removed > as well. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tobias Klauser Looks good, thanks!

Re: [PATCH v2 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild

2017-07-11 Thread Tobias Klauser
rder to keep the entries > sorted. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tobias Klauser Looks good, thanks!

[PATCH v2] xtensa: remove wrapper header for asm/device.h

2017-07-21 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Acked-by: Max Filippov Signed-off-by: Tobias Klauser --- v2: rebased after Kbuild update, added Acked-by by Max arch/xtensa/includ

[PATCH] xtensa: remove wrapper header for asm/param.h

2017-07-21 Thread Tobias Klauser
xtensa's asm/device.h is a verbatim copy of asm-generic/device.h and does not add any arch specific extensions. Thus, use the asm-generic header directly. Signed-off-by: Tobias Klauser --- arch/xtensa/include/asm/Kbuild | 1 + arch/xtensa/include/asm/param.h | 18 -- 2

Re: [PATCH] nios2: dts: Remove leading 0x and 0s from bindings notation

2017-12-21 Thread Tobias Klauser
space before the > the opening curly brace: > > https://elinux.org/Device_Tree_Linux#Linux_conventions > > This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x > from bindings notation") > > Reported-by: David Daney > Suggested-by: Rob Herri

Re: [patch v6 3/3] Doccumentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-08-28 Thread Tobias Klauser
5->v6 > Comments pointed by Tobias Klauser > - Small nit: s/doccumentation/Documentation/ There's still one 'c' too many in 'Doccumentation' in the subject (in case you're doing another respin of the series).

[PATCH] alpha: make thread_saved_pc static

2017-09-18 Thread Tobias Klauser
The only user of thread_saved_pc() in non-arch-specific code was removed in commit 8243d5597793 ("sched/core: Remove pointless printout in sched_show_task()"), so it no longer needs to be globally defined for Alpha and can be made static. Signed-off-by: Tobias Klauser --- arch/alpha/i

<    1   2   3   >