We need to have clocks accessible via phandle to select them
as peripheral clock parent using assigned-clock-parents in DT.
Add support for PLLACK/PLLBCK/AUDIOPLLCK clocks where available.
Signed-off-by: Michał Mirosław
---
v2: rebase to clk/clk-at91 branch
v3: no changes
v4: extend to whole
On Mon, May 04, 2020 at 10:04:31PM +0200, Alexandre Belloni wrote:
> Hi,
>
> On 03/05/2020 19:19:26+0200, Michał Mirosław wrote:
> > diff --git a/include/dt-bindings/clock/at91.h
> > b/include/dt-bindings/clock/at91.h
> > index c3f4aa6a2d29..adcf608b41fa 100644
&g
We need to have clocks accessible via phandle to select them
as peripheral clock parent using assigned-clock-parents in DT.
Add support for PLLACK/PLLBCK/AUDIOPLLCK clocks where available.
Signed-off-by: Michał Mirosław
---
v2: rebase to clk/clk-at91 branch
v3: no changes
v4: extend to whole
This exposes PROGx clocks for use in assigned-clocks DeviceTree property
for selecting PCKx parent clock.
Signed-off-by: Michał Mirosław
---
v2: rebase and update to clk/clk-at91 branch
v3: rebase
v4: no changes
v5: no changes
---
drivers/clk/at91/at91rm9200.c| 6 --
drivers/clk/at91
This series extends AT91 clock support with references to PCKx and
PLLA/PLLB/AUDIOPLL. This makes the DT be able to fully specify (assign)
clock parents when needed.
First patch simplifies clock table allocation. Next two update the table
with missing clock pointers and IDs.
Michał Mirosław (3
Alloc whole data structure in one block. This makes the code shorter,
more efficient and easier to extend in following patch.
Signed-off-by: Michał Mirosław
Acked-by: Alexandre Belloni
---
v2: rebase and update to clk/clk-at91 branch
v3: use struct_size() and C99 trailing array
as suggested
Add configuration for compensation of IBAT measuring resistor in series
with the battery.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/bq25890_charger.c
b
Document newly introduced IBAT compensation settings.
Signed-off-by: Michał Mirosław
---
v2: initial version
---
Documentation/devicetree/bindings/power/supply/bq25890.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.txt
b
Report configured precharge current.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index 02e62ac76e15..dfd7bf9a3a55 100644
disable continuous
mode for power saving.
Signed-off-by: Michał Mirosław
---
v3: drop dependency on new input/output properties
---
drivers/power/supply/bq25890_charger.c | 31 +-
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/drivers/power/supply
Edge interrupts from the charger may be lost or stuck in fault mode
since probe(). Check if something changed everytime userspace wants
some data.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/power
Report charging type based on recently read state.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index 322d48d28fe5
Report REG00.IINLIM value as INPUT_CURRENT_LIMIT property.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index
additions (they need more intrusive changes
to properly fit into power supply class ABI) and adds binding
description to IBAT compensation devicetree properties.
v3 drops cleanup patches already applied and reintroduces a patch
to fix IBAT reading property ID (patch 1)
Michał Mirosław (8
Charge Current is more apropriately reflected by CURRENT_NOW property
(measured current) than CONSTANT_CURRENT_VOLTAGE (configured CC-phase
current limit). Fix the reference and make the sign reflect direction
of the current.
Signed-off-by: Michał Mirosław
---
drivers/power/supply
This exposes PROGx clocks for use in assigned-clocks DeviceTree property
for selecting PCKx parent clock.
Signed-off-by: Michał Mirosław
---
v2: rebase and update to clk/clk-at91 branch
v3: rebase
v4: no changes
---
drivers/clk/at91/at91rm9200.c| 6 --
drivers/clk/at91/at91sam9260.c
Alloc whole data structure in one block. This makes the code shorter,
more efficient and easier to extend in following patch.
Signed-off-by: Michał Mirosław
Acked-by: Alexandre Belloni
---
v2: rebase and update to clk/clk-at91 branch
v3: use struct_size() and C99 trailing array
as suggested
We need to have clocks accessible via phandle to select them
as peripheral clock parent using assigned-clock-parents in DT.
Add support for PLLACK/PLLBCK/AUDIOPLLCK clocks where available.
Signed-off-by: Michał Mirosław
---
v2: rebase to clk/clk-at91 branch
v3: no changes
v4: extend to whole
This series extends AT91 clock support with references to PCKx and
PLLA/PLLB/AUDIOPLL. This makes the DT be able to fully specify (assign)
clock parents when needed.
First patch simplifies clock table allocation. Next two update the table
with missing clock pointers and IDs.
Michał Mirosław (3
Report charging type based on recently read state.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index e4368d01396a
Edge interrupts from the charger may be lost or stuck in fault mode
since probe(). Check if something changed everytime userspace wants
some data.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/power
Extend bq->lock over whole updating of the chip's state. Might get
useful later for switching ADC modes correctly.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 82 --
1 file changed, 26 insertions(+), 56 deletions(-)
diff --git a/driv
Driver rejects unknown chips early in the probe(), so when
bq25890_power_supply_get_property() is made reachable, bq->chip_version
will already be set to correct value - there is no need to check
it again.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c |
Document newly introduced IBAT compensation settings.
Signed-off-by: Michał Mirosław
---
v2: initial version
Signed-off-by: Michał Mirosław
---
Documentation/devicetree/bindings/power/supply/bq25890.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings
Property list should not change, so mark it const.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index f9f29edadddc
regmap initialization will check I2C adapter functionality.
Remove redundant check in the driver.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply
Report REG00.IINLIM value as INPUT_CURRENT_LIMIT property.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index
Add configuration for compensation of IBAT measuring resistor in series
with the battery.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/bq25890_charger.c
b
Report configured precharge current.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index ad0901fdceb6..b48685009048 100644
support.
v2 removes VBUS and VSYS additions (they need more intrusive changes
to properly fit into power supply class ABI) and adds binding
description to IBAT compensation devicetree properties.
Michał Mirosław (11):
power: bq25890: remove redundant I2C bus check
power: bq25890: simplify chip name
disable continuous
mode for power saving.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/bq25890_charger.c | 33 ++
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/drivers/power/supply/bq25890_charger.c
b/drivers/power/supply/bq25890_charger.c
index
On Sun, May 03, 2020 at 12:45:26AM +0200, Michał Mirosław wrote:
> On Sun, May 03, 2020 at 12:23:49AM +0200, Sebastian Reichel wrote:
> > On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote:
[...]
> > > --- a/include/linux/power_supply.h
> > > +++ b/i
On Sun, May 03, 2020 at 12:23:49AM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Fri, May 01, 2020 at 05:11:18PM +0200, Michał Mirosław wrote:
> > Introduce input voltage and current limits and measurements.
> > This makes room for e.g. VBUS measurements in USB charge
Rework power_supply_hwmon_read_string() to check it's parameters.
This allows to extend it later with labels for other types of
measurements.
Signed-off-by: Michał Mirosław
---
v2: split from fix temperature labels
v3: remove power_supply_hwmon_read_string() parameter checks
Add support for supply output voltage to be measured and configured.
This might be different from the voltage on the storage element (battery).
Signed-off-by: Michał Mirosław
---
drivers/power/supply/power_supply_hwmon.c | 25 +++
drivers/power/supply/power_supply_sysfs.c
This series extend power supply class core with additional properties
for measurements of power supply input and output power.
v4 is a rebase on top of recently applied first part of v3, including
patch 1 workaround for gcc and clang bugs.
Michał Mirosław (4):
power: supply: core: tabularize
Introduce input voltage and current limits and measurements.
This makes room for e.g. VBUS measurements in USB chargers.
Signed-off-by: Michał Mirosław
---
v2: add parameter checking in power_supply_hwmon_read_string()
v3: remove power_supply_hwmon_read_string() parameter checks
Document used prefixes for input/output/storage voltages and currents.
Signed-off-by: Michał Mirosław
---
Documentation/power/power_supply_class.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/power/power_supply_class.rst
b/Documentation/power/power_supply_class.rst
Initialize num_properties with length of the copied array instead
of relying on previously memcpy'd value. This makes it clear how
the array and the counter are related.
Signed-off-by: Michał Mirosław
---
drivers/power/supply/charger-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
On Fri, May 01, 2020 at 03:51:09PM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Fri, May 01, 2020 at 03:39:53PM +0200, Michał Mirosław wrote:
> > Use num_properties to index added property.
> > This will prevent overwriting POWER_SUPPLY_PROP_CHARGE_NOW with
> > PO
memcpy'd value.
Fixes: 0a46510addc7 ("power: supply: charger-manager: Prepare for const
properties")
Signed-off-by: Michał Mirosław
---
drivers/power/supply/charger-manager.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/power/supply/charger-manager.c
On Fri, May 01, 2020 at 02:38:49PM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Fri, Apr 03, 2020 at 10:20:31PM +0200, Michał Mirosław wrote:
> > psy_desc->properties will become pointer to const. Avoid writing
> > through the pointer to enable constification
On Mon, Apr 27, 2020 at 04:14:15PM -0500, Rob Herring wrote:
> On Sun, Apr 26, 2020 at 11:11 AM Michał Mirosław
> wrote:
> >
> > From: David Heidelberg
> >
> > Convert elants_i2c.txt DT binding to YAML and put into correct directory.
>
> Resend to the DT list
riv->clk);
> if (ret) {
Fixes: c2de37b31f17 ("usb: chipidea: usb2: make clock optional")
Reviewed-by: Michał Mirosław
obj-$(CONFIG_SND_ATMEL_SOC_I2S) += snd-soc-atmel-i2s.o
> obj-$(CONFIG_SND_MCHP_SOC_I2S_MCC) += snd-soc-mchp-i2s-mcc.o
I was just exploring similar solution, using $(if X,Y) instead, but your
fix will work just as well.
Reviewed-by: Michał Mirosław
Best Regards,
Michał Mirosław
On Mon, Sep 30, 2019 at 05:58:18PM +0200, Michał Mirosław wrote:
> On Sat, Sep 28, 2019 at 04:16:41PM +0800, YueHaibing wrote:
> > when do randbuilding, I got this error:
> >
> > sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio':
> > (.text+0
On Sat, Sep 28, 2019 at 04:16:41PM +0800, YueHaibing wrote:
> when do randbuilding, I got this error:
>
> sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio':
> (.text+0x12f6): undefined reference to `atmel_pcm_pdc_platform_register'
>
> This is because SND_ATMEL_SOC_SSC_DMA=y,
On Tue, Aug 27, 2019 at 05:37:16PM -0500, Rob Herring wrote:
> On Sat, Aug 24, 2019 at 10:26:55PM +0200, Michał Mirosław wrote:
> > Add single-pin LRCLK source options for Atmel SSC module.
> >
> > Signed-off-by: Michał Mirosław
> >
> > ---
> >
Since de40614de99 ("firmware: dmi_scan: Add DMI_OEM_STRING support to
dmi_matches") dmi_check_system() can match OEM_STRINGs itself.
Use the feature.
Signed-off-by: Michał Mirosław
---
drivers/ata/ata_piix.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
Rework FLL handling to use common code.
This uses polling for now to wait for FLL lock.
Signed-off-by: Michał Mirosław
---
sound/soc/codecs/Kconfig | 2 +
sound/soc/codecs/wm8994.c | 281 +++---
sound/soc/codecs/wm8994.h | 4 +-
3 files changed, 84
Choose clock source automatically if not provided. This will be the case
with eg. audio-graph-card.
Signed-off-by: Michał Mirosław
---
sound/soc/codecs/wm8904.c | 42 +--
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm8904.c
Rework FLL handling to use common code introduced earlier.
Signed-off-by: Michał Mirosław
---
sound/soc/atmel/atmel_wm8904.c | 11 +-
sound/soc/codecs/Kconfig | 1 +
sound/soc/codecs/wm8904.c | 476 ++---
sound/soc/codecs/wm8904.h | 5 -
4 files
A new implementation for FLLs as contained in WM8904, WM8994 and a few
other Cirrus Logic (formerly Wolfson) codecs. Patches using this common
code follow.
Signed-off-by: Michał Mirosław
---
sound/soc/codecs/Kconfig | 6 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/wm_fll.c | 518
://rere.qmqm.pl/git/linux
branch:
wm8904
(branch includes two fixes already sent to alsa-devel, but not merged yet).
Michał Mirosław (4):
ASoC: wm_fll: extract common code for Wolfson FLLs
ASoC: wm8904: use common FLL code
ASoC: wm8904: automatically choose clock source
[RFT] ASoC: wm8994: use
Store LRCLK pin selection for use by ASoC DAI driver.
Signed-off-by: Michał Mirosław
---
v2: split from ASoC implementation
---
drivers/misc/atmel-ssc.c | 9 +
include/linux/atmel-ssc.h | 2 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc
Add single-pin LRCLK source options for Atmel SSC module.
Signed-off-by: Michał Mirosław
---
v2: split from implementation patch
---
Documentation/devicetree/bindings/misc/atmel-ssc.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/misc/atmel
SSC driver allows only synchronous TX and RX. In slave mode for BCLK
it uses only one of TK or RK pin, but for LRCLK it configured separate
inputs from TF and RF pins. Allow configuration with common FS signal.
Signed-off-by: Michał Mirosław
---
v2: use alternate DT binding
split DT
is not used anyway.
Signed-off-by: Michał Mirosław
---
v2: added note about extended modes' status
incorporated common FS (LRCLK) configuration
---
sound/soc/atmel/atmel_ssc_dai.c | 286 +---
1 file changed, 80 insertions(+), 206 deletions(-)
diff --git a/sound/soc
Allow SSC to be used on platforms described using audio-graph-card
in Device Tree.
Signed-off-by: Michał Mirosław
---
v2: extended to PDC mode
reworked and fixed Kconfig option dependencies
---
sound/soc/atmel/Kconfig | 30 ++
1 file changed, 18 insertions
Enable support for left-justified data mode for SSC-codec link.
Signed-off-by: Michał Mirosław
---
v2: rebased
---
sound/soc/atmel/atmel_ssc_dai.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 7dc6ec9b8c7a
against tiwai/sound/for-next tree. You can also pull from
https://rere.qmqm.pl/git/linux
branch:
atmel-ssc
Michał Mirosław (6):
ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig
ASoC: atmel_ssc_dai: rework DAI format configuration
ASoC: atmel_ssc_dai: implement left-justified
ot; commit just
promoted the message from DEBUG to ERROR.
Cc: sta...@vger.kernel.org
Fixes: 8c3d52fc393b ("HID: make parser more verbose about parsing errors by
default")
Signed-off-by: Michał Mirosław
---
v2: fixed printf() warning spotted by Jiri Kosina
* against v5.2.9
Signed-off
Make '* Capture Mode' a mux. This makes DAPM know that in single-ended
mode only inverting mux paths need to be enabled.
Signed-off-by: Michał Mirosław
Acked-by: Charles Keepax
---
v2: fixed 'right' to be 'Right'
---
sound/soc/codecs/wm8904.c | 52 +--
1
Trivial fix for typo in "Capture Inverting Mux"es' name.
Signed-off-by: Michał Mirosław
Acked-by: Charles Keepax
---
v2: no changes
---
sound/soc/codecs/wm8904.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm89
Trivial fix for typo in "Capture Inverting Mux"es' name.
Signed-off-by: Michał Mirosław
---
sound/soc/codecs/wm8904.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index 5ebdd1d9afde..525e4ef654a1 100644
-
Make '* Capture Mode' a mux. This makes DAPM know that in single-ended
mode only inverting mux paths need to be enabled.
Signed-off-by: Michał Mirosław
---
sound/soc/codecs/wm8904.c | 52 +--
1 file changed, 33 insertions(+), 19 deletions(-)
diff --git
K_DFLL) += clk-tegra124-dfll-fcpu.o
Doesn't it complain when both CONFIG_ARCH_TEGRA_2x_SOC and
CONFIG_ARCH_TEGRA_3x_SOC are enabled at the same time?
Best Regards,
Michał Mirosław
Dear Developers
Since upgrading to v5.2.2 from v5.1.x I keep getting lockdep complaints
(below) from clk initialization on SAMA5D2 board. Have you seen this?
Can you help me in finding a fix?
Best Regards,
Michał Mirosław
--- dmesg START --
[0.00] Booting Linux on physical CPU
Rename act8865_ldo_ops to act8865_fixed_ldo_ops to make room for
variable-output LDO ops change.
Signed-off-by: Michał Mirosław
---
v2: split ops rename from main patch
drivers/regulator/act8865-regulator.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers
AC8865 has internal 1.5k pull-down resistor that can be enabled when LDO
is shut down.
Signed-off-by: Michał Mirosław
---
v2: split ops rename from main patch
drivers/regulator/act8865-regulator.c | 41 ---
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git
On Tue, Jul 23, 2019 at 11:54:32AM +0100, Mark Brown wrote:
> On Mon, Jul 22, 2019 at 08:13:29PM +0200, Michał Mirosław wrote:
> > AC8865 has internal 1.5k pull-down resistor that can be enabled when LDO
> > is shut down.
>
> This changelog...
>
> > sta
AC8865 has internal 1.5k pull-down resistor that can be enabled when LDO
is shut down.
Signed-off-by: Michał Mirosław
---
* against broonie/regulator/for-next tree
---
drivers/regulator/act8865-regulator.c | 45 ---
1 file changed, 33 insertions(+), 12 deletions
ot; commit just
promoted the message from DEBUG to ERROR.
Cc: sta...@vger.kernel.org
Fixes: 8c3d52fc393b ("HID: make parser more verbose about parsing errors by
default")
Signed-off-by: Michał Mirosław
---
* against v5.2.2
Signed-off-by: Michał Mirosław
---
drivers/hid/hid-core.c
ight make it clearer to people that a bare 'default n' is
> redundant.
> ...
>
> Signed-off-by: Bartlomiej Zolnierkiewicz
[...]
> drivers/misc/cb710/Kconfig|1 -
Acked-by: Michał Mirosław
disabled.\n");
> +#if IS_ENABLED(CONFIG_CACHE_L2X0)
> + pr_err("L2X0 cache will be disabled.\n");
[...]
I guess this is redundant since tf_dummy_write_sec() will say the same
thing when trying to enable the cache.
Best Regards,
Michał Mirosław
-by on the patches where
apropriate, and thanks for your work!
Best Regards,
Michał Mirosław
[0.00] Booting Linux on physical CPU 0x0
[0.00] Linux version 5.0.0-rc8mq-00034-g83dcf8d77845 (mirq@qmqm) (gcc
version 8.2.0 (Debian 8.2.0-20)) #16 SMP Mon Feb 25 04:45:43 CET 2019
[0.
ekend. Which
kernel tree do you suggest as base?
Best Regards,
Michał Mirosław
On Thu, Jun 21, 2018 at 02:28:20PM -0700, Matthew Wilcox wrote:
> Eliminates the custom spinlock and the call to ida_pre_get.
>
> Signed-off-by: Matthew Wilcox
Acked-by: Michał Mirosław
On Thu, Jun 21, 2018 at 02:28:20PM -0700, Matthew Wilcox wrote:
> Eliminates the custom spinlock and the call to ida_pre_get.
>
> Signed-off-by: Matthew Wilcox
Acked-by: Michał Mirosław
Abuse llseek(SEEK_END) to return max /proc/pid/comm length.
This is needed for pthread_getname_np to be able to return ERANGE
without modifying thread's name.
Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl>
---
fs/proc/base.c | 11 ++-
1 file changed, 10 insertions
Abuse llseek(SEEK_END) to return max /proc/pid/comm length.
This is needed for pthread_getname_np to be able to return ERANGE
without modifying thread's name.
Signed-off-by: Michał Mirosław
---
fs/proc/base.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/fs
Keeps truncation working, but also signals to writing process
when that happens.
Fixes: 830e0fc967a7 ("fs, proc: truncate /proc/pid/comm writes to first
TASK_COMM_LEN bytes")
Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl>
---
fs/proc/base.c | 11 ++-
1
Keeps truncation working, but also signals to writing process
when that happens.
Fixes: 830e0fc967a7 ("fs, proc: truncate /proc/pid/comm writes to first
TASK_COMM_LEN bytes")
Signed-off-by: Michał Mirosław
---
fs/proc/base.c | 11 ++-
1 file changed, 10 insertions(+),
These two patches are preparation for extending TASK_COMM_LEN above
current 16-byte limit.
Michał Mirosław (2):
procfs: signal /proc/pid/comm write truncation
procfs: let userspace find out max /proc/pid/comm length
fs/proc/base.c | 22 --
1 file changed, 20 insertions
These two patches are preparation for extending TASK_COMM_LEN above
current 16-byte limit.
Michał Mirosław (2):
procfs: signal /proc/pid/comm write truncation
procfs: let userspace find out max /proc/pid/comm length
fs/proc/base.c | 22 --
1 file changed, 20 insertions
Linux prctl(PR_SET/GET_NAME) is documented and assumed to use 16-byte
fixed-size buffers for thread name. There is /proc/[pid]/comm interface
that has no such limit.
This is one step to removing TASK_COMM_LEN 16-byte limit.
Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl>
---
Linux prctl(PR_SET/GET_NAME) is documented and assumed to use 16-byte
fixed-size buffers for thread name. There is /proc/[pid]/comm interface
that has no such limit.
This is one step to removing TASK_COMM_LEN 16-byte limit.
Signed-off-by: Michał Mirosław
---
kernel/sys.c | 11 ---
1
On Mon, Jun 19, 2017 at 05:47:33PM +0100, Mark Brown wrote:
> On Mon, Jun 19, 2017 at 06:41:34PM +0200, Michał Mirosław wrote:
> > On Mon, Jun 19, 2017 at 11:17:41AM +0100, Mark Brown wrote:
> > > On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote:
> > > >
On Mon, Jun 19, 2017 at 05:47:33PM +0100, Mark Brown wrote:
> On Mon, Jun 19, 2017 at 06:41:34PM +0200, Michał Mirosław wrote:
> > On Mon, Jun 19, 2017 at 11:17:41AM +0100, Mark Brown wrote:
> > > On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote:
> > > >
On Mon, Jun 19, 2017 at 11:17:41AM +0100, Mark Brown wrote:
> On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote:
> > Extend regulator's info line with enabled/disabled status.
> Why is the use count not enough information here?
Regulators can be enabled without any us
On Mon, Jun 19, 2017 at 11:17:41AM +0100, Mark Brown wrote:
> On Sat, Jun 17, 2017 at 11:30:12PM +0200, Michał Mirosław wrote:
> > Extend regulator's info line with enabled/disabled status.
> Why is the use count not enough information here?
Regulators can be enabled without any us
Extend regulator's info line with enabled/disabled status.
Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl>
---
v2:
- include commit message
drivers/regulator/core.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/core.c b/d
0mV 0mV
Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl>
---
v2:
- extend commit message
drivers/regulator/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index ba4d121ae07f..a9bfabd132cf
Extend regulator's info line with enabled/disabled status.
Signed-off-by: Michał Mirosław
---
v2:
- include commit message
drivers/regulator/core.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index
0mV 0mV
Signed-off-by: Michał Mirosław
---
v2:
- extend commit message
drivers/regulator/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index ba4d121ae07f..a9bfabd132cf 100644
--- a/drivers/regulator
This enables configuring the PMIC's sleep mode via device-tree.
A pointer indirection to sleep mode data is removed, as it simplifies
the implementation slightly. In current kernel tree, platform data
structure is not used outside MFD cell drivers.
Signed-off-by: Michał Mirosław <mirq
This enables configuring the PMIC's sleep mode via device-tree.
A pointer indirection to sleep mode data is removed, as it simplifies
the implementation slightly. In current kernel tree, platform data
structure is not used outside MFD cell drivers.
Signed-off-by: Michał Mirosław
---
v2
On Wed, Jun 14, 2017 at 06:15:18PM +0100, Mark Brown wrote:
> On Wed, Jun 14, 2017 at 05:13:29PM +0200, Michał Mirosław wrote:
> > On Wed, Jun 14, 2017 at 03:42:08PM +0100, Mark Brown wrote:
> > > On Wed, Jun 14, 2017 at 02:25:13PM +0200, Michał Mirosław wrote:
On Wed, Jun 14, 2017 at 06:15:18PM +0100, Mark Brown wrote:
> On Wed, Jun 14, 2017 at 05:13:29PM +0200, Michał Mirosław wrote:
> > On Wed, Jun 14, 2017 at 03:42:08PM +0100, Mark Brown wrote:
> > > On Wed, Jun 14, 2017 at 02:25:13PM +0200, Michał Mirosław wrote:
On Wed, Jun 14, 2017 at 03:42:08PM +0100, Mark Brown wrote:
> On Wed, Jun 14, 2017 at 02:25:13PM +0200, Michał Mirosław wrote:
> > References: 201cf052810d20814a77ca0e0045a2c1a3508a1f
> I have no idea what you mean by this, sorry.
This is a commit id which introduced the feat
201 - 300 of 384 matches
Mail list logo