Signed-off-by: Michal Suchanek
---
Documentation/powerpc/firmware-assisted-dump.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/powerpc/firmware-assisted-dump.txt
b/Documentation/powerpc/firmware-assisted-dump.txt
index 2df88524d2c7..5705f55ffae4 100644
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Documentation/admin-guide/kernel-parameters.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.rst
b/Documentation/admin-guide/kernel-parameters.rst
index b2598c
Signed-off-by: Michal Suchanek
---
Documentation/admin-guide/kernel-parameters.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.rst
b/Documentation/admin-guide/kernel-parameters.rst
index b2598cc9834c..722d3f771924 100644
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Documentation/admin-guide/kernel-parameters.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.rst
b/Documentation/admin-guide/kernel-parameters.rst
index 722d3f
Signed-off-by: Michal Suchanek
---
Documentation/admin-guide/kernel-parameters.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/kernel-parameters.rst
b/Documentation/admin-guide/kernel-parameters.rst
index 722d3f771924..1f9837266417 100644
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 1678d99ea835..275ea42a27d5 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/p
.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
lib/cmdline.c | 41 -
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 6d398a8b63fc..d98bdc017545 100644
--- a/lib/cmdline.c
+++ b/lib/cmd
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 1678d99ea835..275ea42a27d5 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc/kernel/fadump.c
.
Signed-off-by: Michal Suchanek
---
lib/cmdline.c | 41 -
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 6d398a8b63fc..d98bdc017545 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -193,30 +193,36 @@ bool
-by: Michal Suchanek <msucha...@suse.de>
---
lib/cmdline.c | 29 -
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index d98bdc017545..c5335a79a177 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -191,34 +191,45 @
-by: Michal Suchanek
---
lib/cmdline.c | 29 -
1 file changed, 20 insertions(+), 9 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index d98bdc017545..c5335a79a177 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -191,34 +191,45 @@ bool parse_option_str(const char
With the introduction of 'fadump_extra_args=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Documentation/powe
With the introduction of 'fadump_extra_args=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini
Signed-off-by: Michal Suchanek
---
Documentation/powerpc/firmware-assisted-dump.txt | 20 +++-
1 file
Remove quotes from argument value only if there is qoute on both sides.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
lib/cmdline.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 171c19b6888e..6d398a8b63fc
Remove quotes from argument value only if there is qoute on both sides.
Signed-off-by: Michal Suchanek
---
lib/cmdline.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 171c19b6888e..6d398a8b63fc 100644
--- a/lib/cmdline.c
+++ b
The fadump parameter processing re-does the logic of next_arg quote
stripping to determine where the argument ends. Pass pointer to the
current and next argument instead to make this more robust.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
rebase on master
split off changes to fa
The fadump parameter processing re-does the logic of next_arg quote
stripping to determine where the argument ends. Pass pointer to the
current and next argument instead to make this more robust.
Signed-off-by: Michal Suchanek
---
rebase on master
split off changes to fadump.c
add pointer
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 0e08f1a80af2..b214c1e333dd 100644
--- a/arch/powerpc/kernel/fa
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 0e08f1a80af2..b214c1e333dd 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc
u>
Signed-off-by: Hari Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Changes from v6:
Correct and simplify quote handling. Ideally I would like to extend
parse_args to give the length of the original quoted value to callback.
However, pa
ni
Signed-off-by: Michal Suchanek
---
Changes from v6:
Correct and simplify quote handling. Ideally I would like to extend
parse_args to give the length of the original quoted value to callback.
However, parse_args removes at most one doubel-quote from the start and
one from the end so that is easy
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 47
1 file changed, 13 insertions(+), 34 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 8778e1cc0380..1678d9
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 47
1 file changed, 13 insertions(+), 34 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 8778e1cc0380..1678d99ea835 100644
--- a/arch
From: Hari Bathini <hbath...@linux.vnet.ibm.com>
With the introduction of 'fadump_extra_args=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Such
From: Hari Bathini
With the introduction of 'fadump_extra_args=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini
Signed-off-by: Michal Suchanek
---
Documentation/powerpc/firmware-assisted-dump.txt | 20
The fadump parameter processing re-does the logic of next_arg quote
stripping to determine where the argument ends. Pass pointer to the
next argument instead to make this more robust.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 13 +
The fadump parameter processing re-does the logic of next_arg quote
stripping to determine where the argument ends. Pass pointer to the
next argument instead to make this more robust.
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 13 +
arch/powerpc/mm
text.
Suggested-by: Michael Ellerman <m...@ellerman.id.au>
Signed-off-by: Hari Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Changes from v6:
Correct and simplify quote handling. Ideally I would like to extend
parse_args to give the l
Signed-off-by: Hari Bathini
Signed-off-by: Michal Suchanek
---
Changes from v6:
Correct and simplify quote handling. Ideally I would like to extend
parse_args to give the length of the original quoted value to callback.
However, parse_args removes at most one doubel-quote from the start and
one from
Remove quotes from argument value only if there is qoute on both sides.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 6 ++
lib/cmdline.c| 7 ++-
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/
Remove quotes from argument value only if there is qoute on both sides.
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 6 ++
lib/cmdline.c| 7 ++-
2 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch
As seen from the implementation of the single class shutdown hook this
is not very sound design.
Rename the class shutdown hook to shutdown_pre to make it clear it runs
before the driver shutdown hook.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
v2: rename class shutdown
As seen from the implementation of the single class shutdown hook this
is not very sound design.
Rename the class shutdown hook to shutdown_pre to make it clear it runs
before the driver shutdown hook.
Signed-off-by: Michal Suchanek
---
v2: rename class shutdown member to shutdown_pre
t;struct class".")
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/base/core.c | 3 ++-
drivers/char/tpm/tpm-chip.c | 9 +
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 755451f684bc..2cf75
t;struct class".")
Signed-off-by: Michal Suchanek
---
drivers/base/core.c | 3 ++-
drivers/char/tpm/tpm-chip.c | 9 +
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 755451f684bc..2cf752dc1421 100644
--- a/drive
Fixes: a248878d7a1d ("ibmvnic: Check for transport event on driver resume")
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/net/ethernet/ibm/ibmvnic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm
Fixes: a248878d7a1d ("ibmvnic: Check for transport event on driver resume")
Signed-off-by: Michal Suchanek
---
drivers/net/ethernet/ibm/ibmvnic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index 99
In commit e6f81a92015b ("powerpc/mm/hash: Support 68 bit VA") the
masking is folded into ASM_VSID_SCRAMBLE but the comment about masking
is removed only from the firt use of ASM_VSID_SCRAMBLE.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/mm/slb_low.S
In commit e6f81a92015b ("powerpc/mm/hash: Support 68 bit VA") the
masking is folded into ASM_VSID_SCRAMBLE but the comment about masking
is removed only from the firt use of ASM_VSID_SCRAMBLE.
Signed-off-by: Michal Suchanek
---
arch/powerpc/mm/slb_low.S | 4
1 file changed, 4
On 4 July 2017 at 02:00, Cyrille Pitchen wrote:
> Hi Matthew,
>
>
> Le 26/06/2017 à 18:13, matthew.gerl...@linux.intel.com a écrit :
>> From: Matthew Gerlach
>> +static int altera_quadspi_setup_banks(struct device *dev,
>> +
On 4 July 2017 at 02:00, Cyrille Pitchen wrote:
> Hi Matthew,
>
>
> Le 26/06/2017 à 18:13, matthew.gerl...@linux.intel.com a écrit :
>> From: Matthew Gerlach
>> +static int altera_quadspi_setup_banks(struct device *dev,
>> + u32 bank, struct device_node *np)
>>
Currently sysfs store handlers in fadump use if buf[0] == 'char'.
This means input "100foo" is interpreted as '1' and "01" as '0'.
Change to kstrtoint so leading zeroes and the like is handled in
expected way.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
ar
Currently sysfs store handlers in fadump use if buf[0] == 'char'.
This means input "100foo" is interpreted as '1' and "01" as '0'.
Change to kstrtoint so leading zeroes and the like is handled in
expected way.
Signed-off-by: Michal Suchanek
---
arch/powerpc/
When fadump is already registered return success.
Currently EEXIST is returned which is difficult to handle race-free in
userspace when shell scripts are used. If multiple writers are trying to
write '1' there is no difference in whichever succeeds so just return 0
to all.
Signed-off-by: Michal
When fadump is already registered return success.
Currently EEXIST is returned which is difficult to handle race-free in
userspace when shell scripts are used. If multiple writers are trying to
write '1' there is no difference in whichever succeeds so just return 0
to all.
Signed-off-by: Michal
On Tue, 9 May 2017 17:43:27 -0700
Dmitry Torokhov <dmitry.torok...@gmail.com> wrote:
> Hi Michal,
>
> On Tue, May 09, 2017 at 09:14:18PM +0200, Michal Suchanek wrote:
> > There is nothing mac-specific about this driver. Non-mac hardware
> > with suboptimal buil
On Tue, 9 May 2017 17:43:27 -0700
Dmitry Torokhov wrote:
> Hi Michal,
>
> On Tue, May 09, 2017 at 09:14:18PM +0200, Michal Suchanek wrote:
> > There is nothing mac-specific about this driver. Non-mac hardware
> > with suboptimal built-in pointer devices exists.
> >
-registration
- return success on deregistration when fadump is not registered
- return ENODEV when no memory is reserved for fadump
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
v2: fix return in register_fadump()
---
arch/powerpc/kernel/fadump.c | 24
1 file chang
-registration
- return success on deregistration when fadump is not registered
- return ENODEV when no memory is reserved for fadump
Signed-off-by: Michal Suchanek
---
v2: fix return in register_fadump()
---
arch/powerpc/kernel/fadump.c | 24
1 file changed, 16 insertions(+), 8
-registration
- return success on deregistration when fadump is not registered
- return ENODEV when no memory is reserved for fadump
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff
-registration
- return success on deregistration when fadump is not registered
- return ENODEV when no memory is reserved for fadump
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc
-registration
- return success on deregistration when fadump is not registered
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
arch/powerpc/kernel/fadump.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/
-registration
- return success on deregistration when fadump is not registered
Signed-off-by: Michal Suchanek
---
arch/powerpc/kernel/fadump.c | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index
Arm64 has 256TB address space so fix the test to pass on Arm as well.
Also remove unneeded numaif header.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
v2:
- do not test high slices on Arm64 - it has no support and none is planned
- fix the hint calculation for different
Arm64 has 256TB address space so fix the test to pass on Arm as well.
Also remove unneeded numaif header.
Signed-off-by: Michal Suchanek
---
v2:
- do not test high slices on Arm64 - it has no support and none is planned
- fix the hint calculation for different shift
---
tools/testing
There is nothing mac-specific about this driver. Non-mac hardware with
suboptimal built-in pointer devices exists.
This makes it possible to use this emulation not only on x86 and ppc
notebooks but also on arm and mips.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/input
There is nothing mac-specific about this driver. Non-mac hardware with
suboptimal built-in pointer devices exists.
This makes it possible to use this emulation not only on x86 and ppc
notebooks but also on arm and mips.
Signed-off-by: Michal Suchanek
---
drivers/input/mouse/Kconfig
Arm64 has 256TB address space so fix the test to pass on Arm as well.
Also remove unneeded numaif include.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
tools/testing/selftests/vm/virtual_address_range.c | 36 --
1 file changed, 27 insertions(+), 9 del
Arm64 has 256TB address space so fix the test to pass on Arm as well.
Also remove unneeded numaif include.
Signed-off-by: Michal Suchanek
---
tools/testing/selftests/vm/virtual_address_range.c | 36 --
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/tools
With the introduction of 'fadump_append=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
Documentation/powerpc/firmw
With the introduction of 'fadump_append=' parameter to pass additional
parameters to fadump (capture) kernel, update documentation about it.
Signed-off-by: Hari Bathini
Signed-off-by: Michal Suchanek
---
Documentation/powerpc/firmware-assisted-dump.txt | 8 +++-
1 file changed, 7
i Bathini <hbath...@linux.vnet.ibm.com>
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
v4:
- use space separated arguments instead of comma separated
- do not append parameters when fadummp is disabled
---
arch/powerpc/kernel/fadump.c | 27 ---
1 file changed, 24 inserti
=off, to disable unwarranted
resources/subsystems.
Also, ensure the log "Firmware-assisted dump is active" is printed early
in the boot process to put the subsequent fadump messages in context.
Suggested-by: Michael Ellerman
Signed-off-by: Hari Bathini
Signed-off-by: Michal Suchan
.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/macintosh/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 97a420c11eed..c23c040bc668 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -1,
.
Signed-off-by: Michal Suchanek
---
drivers/macintosh/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 97a420c11eed..c23c040bc668 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -1,7 +1,6 @@
menuconfig
f the code for clarification but did not
hear back. In absence of clear licensing the only solution I see is
removing this code.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
MAINTAINERS | 12 -
drivers/crypto/Kconfig|8 -
drivers/crypto/Makef
did not
hear back. In absence of clear licensing the only solution I see is
removing this code.
Signed-off-by: Michal Suchanek
---
MAINTAINERS | 12 -
drivers/crypto/Kconfig|8 -
drivers/crypto/Makefile |1 -
drivers/crypto/vmx/.gitignore
ununitialized members. Get rid of the structure and
the warnings.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
Reviewed-by: Jarkko Sakkinen <jarkko.sakki...@linux.intel.com>
---
v2
fix typos and spelling in comments
---
drivers/char/tpm/tpm_ib
ununitialized members. Get rid of the structure and
the warnings.
Signed-off-by: Michal Suchanek
Reviewed-by: Jarkko Sakkinen
---
v2
fix typos and spelling in comments
---
drivers/char/tpm/tpm_ibmvtpm.c | 96 ++
1 file changed, 60 insertions(+), 36 deletions
ununitialized members. Get rid of the structure and
the warnings.
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/char/tpm/tpm_ibmvtpm.c | 92 +-
1 file changed, 56 insertions(+), 36 deletions(-)
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/d
ununitialized members. Get rid of the structure and
the warnings.
Signed-off-by: Michal Suchanek
---
drivers/char/tpm/tpm_ibmvtpm.c | 92 +-
1 file changed, 56 insertions(+), 36 deletions(-)
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm
On 27 January 2017 at 02:50, Benjamin Herrenschmidt
wrote:
> On Thu, 2017-01-26 at 17:42 -0800, Tyrel Datwyler wrote:
>> On 01/26/2017 12:22 PM, Michal Suchánek wrote:
>> > Hello,
>> >
>> > building ibmvtpm I noticed gcc warning complaining that second word
>> > of
>> >
On 27 January 2017 at 02:50, Benjamin Herrenschmidt
wrote:
> On Thu, 2017-01-26 at 17:42 -0800, Tyrel Datwyler wrote:
>> On 01/26/2017 12:22 PM, Michal Suchánek wrote:
>> > Hello,
>> >
>> > building ibmvtpm I noticed gcc warning complaining that second word
>> > of
>> > struct ibmvtpm_crq in
On 26 January 2017 at 23:05, Jason Gunthorpe
wrote:
> On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote:
>
>> This is repeated a few times in the driver so I added memset to quiet
>> gcc and make behavior deterministic in case the unused fields get
On 26 January 2017 at 23:05, Jason Gunthorpe
wrote:
> On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote:
>
>> This is repeated a few times in the driver so I added memset to quiet
>> gcc and make behavior deterministic in case the unused fields get some
>> meaning in the future.
>
-to-int-cast]
Fixes: 0dcc70ca8644 ("power: supply: axp20x_usb_power: use of_device_id
data field instead of device_is_compatible")
Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
drivers/power/supply/axp20x_usb_power.c | 5 +++--
include/linux/mfd/axp20x.h | 2 +-
-to-int-cast]
Fixes: 0dcc70ca8644 ("power: supply: axp20x_usb_power: use of_device_id
data field instead of device_is_compatible")
Signed-off-by: Michal Suchanek
---
drivers/power/supply/axp20x_usb_power.c | 5 +++--
include/linux/mfd/axp20x.h | 2 +-
2 files changed, 4
On 22 August 2016 at 23:23, H. Nikolaus Schaller wrote:
> Hi Sebastian,
>
>> Am 22.08.2016 um 22:39 schrieb Sebastian Reichel :
>>
>> Hi,
>>
>> On Sun, Aug 21, 2016 at 09:50:57AM +0200, H. Nikolaus Schaller wrote:
Am 20.08.2016 um 15:34 schrieb One
On 22 August 2016 at 23:23, H. Nikolaus Schaller wrote:
> Hi Sebastian,
>
>> Am 22.08.2016 um 22:39 schrieb Sebastian Reichel :
>>
>> Hi,
>>
>> On Sun, Aug 21, 2016 at 09:50:57AM +0200, H. Nikolaus Schaller wrote:
Am 20.08.2016 um 15:34 schrieb One Thousand Gnomes
:
> What it is
On 19 July 2016 at 12:52, Mark Brown <broo...@kernel.org> wrote:
> On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 01:02, Mark Brown <broo...@kernel.org> wrote:
>> > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wr
On 19 July 2016 at 12:52, Mark Brown wrote:
> On Tue, Jul 19, 2016 at 10:31:54AM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 01:02, Mark Brown wrote:
>> > On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote:
>
>> >> SPI slave devices are n
On 29 July 2016 at 22:22, Maxime Ripard
<maxime.rip...@free-electrons.com> wrote:
> On Mon, Jul 25, 2016 at 10:03:14AM +0200, Michal Suchanek wrote:
>> Hello,
>>
>> On 25 July 2016 at 09:32, Maxime Ripard
>> <maxime.rip...@free-electrons.com> wrote:
>&g
On 29 July 2016 at 22:22, Maxime Ripard
wrote:
> On Mon, Jul 25, 2016 at 10:03:14AM +0200, Michal Suchanek wrote:
>> Hello,
>>
>> On 25 July 2016 at 09:32, Maxime Ripard
>> wrote:
>> > On Fri, Jun 17, 2016 at 12:34:44PM +0200, Michal Suchanek wrote:
>> &
Hello,
On 25 July 2016 at 09:32, Maxime Ripard
<maxime.rip...@free-electrons.com> wrote:
> On Fri, Jun 17, 2016 at 12:34:44PM +0200, Michal Suchanek wrote:
>> Hello,
>>
>> On 13 June 2016 at 21:57, Maxime Ripard
>> <maxime.rip...@free-electrons.com> wrote:
Hello,
On 25 July 2016 at 09:32, Maxime Ripard
wrote:
> On Fri, Jun 17, 2016 at 12:34:44PM +0200, Michal Suchanek wrote:
>> Hello,
>>
>> On 13 June 2016 at 21:57, Maxime Ripard
>> wrote:
>> > On Mon, Jun 13, 2016 at 05:46:48PM -
On 19 July 2016 at 19:19, Mark Brown <broo...@kernel.org> wrote:
> On Tue, Jul 19, 2016 at 05:32:24PM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 14:44, Mark Brown <broo...@kernel.org> wrote:
>
>> >> - status = register_chrdev(SPIDEV_MAJOR,
On 19 July 2016 at 19:19, Mark Brown wrote:
> On Tue, Jul 19, 2016 at 05:32:24PM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 14:44, Mark Brown wrote:
>
>> >> - status = register_chrdev(SPIDEV_MAJOR, "spi", _fops);
>> >> + status =
On 19 July 2016 at 14:44, Mark Brown <broo...@kernel.org> wrote:
> On Tue, Jul 19, 2016 at 01:17:52PM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 00:59, Mark Brown <broo...@kernel.org> wrote:
>
>> Looking into SPI more this whole point is mostly moot, anyway.
On 19 July 2016 at 14:44, Mark Brown wrote:
> On Tue, Jul 19, 2016 at 01:17:52PM +0200, Michal Suchanek wrote:
>> On 19 July 2016 at 00:59, Mark Brown wrote:
>
>> Looking into SPI more this whole point is mostly moot, anyway. Most of the
>> time the unused CS lines
Hello,
On 19 July 2016 at 00:59, Mark Brown <broo...@kernel.org> wrote:
> On Tue, Jul 19, 2016 at 12:35:40AM +0200, Michal Suchanek wrote:
>
>> config SPI_SPIDEV
>> - tristate "User mode SPI device driver support"
>> + bool "User mode SPI d
Hello,
On 19 July 2016 at 00:59, Mark Brown wrote:
> On Tue, Jul 19, 2016 at 12:35:40AM +0200, Michal Suchanek wrote:
>
>> config SPI_SPIDEV
>> - tristate "User mode SPI device driver support"
>> + bool "User mode SPI device driver support&quo
Hello,
On 19 July 2016 at 01:02, Mark Brown <broo...@kernel.org> wrote:
> On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote:
>> SPI slave devices are not created when looking up driver for the slave
>> fails. Create a device anyway so it can be used with
Hello,
On 19 July 2016 at 01:02, Mark Brown wrote:
> On Tue, Jul 19, 2016 at 12:35:41AM +0200, Michal Suchanek wrote:
>> SPI slave devices are not created when looking up driver for the slave
>> fails. Create a device anyway so it can be used with spidev.
>
>> rc =
is not bound to start with or from
which it is unbound is accessible with spidev.
Constructive comments on improving this patchset are welcome.
Thanks
Michal
Michal Suchanek (3):
spi: spidev: create spidev device for all spi slaves.
spi: of: allow instantiating slaves without a driver
spi
SPI slave devices are not created when looking up driver for the slave
fails. Create a device anyway so it can be used with spidev.
Signed-off-by: Michal Suchanek <hramr...@gmail.com>
---
drivers/spi/spi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/spi/s
is not bound to start with or from
which it is unbound is accessible with spidev.
Constructive comments on improving this patchset are welcome.
Thanks
Michal
Michal Suchanek (3):
spi: spidev: create spidev device for all spi slaves.
spi: of: allow instantiating slaves without a driver
spi
SPI slave devices are not created when looking up driver for the slave
fails. Create a device anyway so it can be used with spidev.
Signed-off-by: Michal Suchanek
---
drivers/spi/spi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
Since the previous patch allows creating SPI slaves without specifying
what device the CS connects to make spi-max-frequency also optional.
The spi-max-frequency is device-specific and the driver can set it
anyway.
Signed-off-by: Michal Suchanek <hramr...@gmail.com>
---
drivers/spi/spi
provide interface backwards compatible
with existing spidev tools.
Signed-off-by: Michal Suchanek <hramr...@gmail.com>
---
Documentation/spi/spidev | 40 ++---
drivers/spi/Kconfig | 2 +-
drivers/spi/spi.c| 19 ++-
drivers/spi/spidev.c
Since the previous patch allows creating SPI slaves without specifying
what device the CS connects to make spi-max-frequency also optional.
The spi-max-frequency is device-specific and the driver can set it
anyway.
Signed-off-by: Michal Suchanek
---
drivers/spi/spi.c | 6 +++---
1 file changed
201 - 300 of 717 matches
Mail list logo