[PATCH v3 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

2015-11-19 Thread Adam Thomson
Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- Documentation/devicetree/bindings/sound/da7218.txt | 104 + 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/da7218.txt diff --git a/Documentation/devi

[PATCH 3/3] ASoC: da7219: Add initial ACPI id for device

2016-06-10 Thread Adam Thomson
This adds "DLGS7219" ACPI id for the codec. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> Tested-by: Sathyanarayana Nujella <sathyanarayana.nuje...@intel.com> --- sound/soc/codecs/da7219.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound

[PATCH 2/3] ASoC: da7219: Add ACPI parsing support

2016-06-10 Thread Adam Thomson
This update allows for parsing of ACPI, in addition to existing DT support. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> Tested-by: Sathyanarayana Nujella <sathyanarayana.nuje...@intel.com> --- sound/soc/codecs/da7219-aad.c | 32 ---

[PATCH 1/3] ASoC: da7219: Convert driver to use generic device/fwnode functions

2016-06-10 Thread Adam Thomson
This change converts the driver from using the of_* functions to using the device_* and fwnode_* functions for accssing DT related data. This is in preparation for updates to support ACPI based initialisation. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

[PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver

2016-06-10 Thread Adam Thomson
This patch set updates the driver to use generic device property & fwnode related functions to read in either DT and ACPI data for driver initialisation. Changes are based on v4.6-rc6 Linux Kernel. Adam Thomson (3): ASoC: da7219: Convert driver to use generic device/fwnode functions

[PATCH] tools/testing: Fix misspellings in comments.

2016-02-24 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbin...@gmail.com> --- tools/testing/selftests/memfd/fuse_test.c | 2 +- tools/testing/selftests/net/psock_tpacket.c | 2 +- tools/testing/selftests/powerpc/tm/tm-signal-msr-resv.c | 2 +- tools/testing/selftests/powerpc/vph

[PATCH] tools/perf: Fix misspellings in comments.

2016-02-24 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbin...@gmail.com> --- tools/perf/tests/openat-syscall-all-cpus.c | 2 +- tools/perf/util/evsel.c| 2 +- tools/perf/util/machine.c | 2 +- tools/perf/util/parse-events.c | 2 +- tools/perf/util/ses

[PATCH] ext4: Fix misspellings in comments.

2016-02-23 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbin...@gmail.com> --- fs/ext4/ext4_extents.h | 2 +- fs/ext4/extents.c | 2 +- fs/ext4/ialloc.c | 2 +- fs/ext4/mballoc.c | 2 +- fs/ext4/migrate.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/f

[PATCH] include/linux: Fix misspellings in comments.

2016-02-23 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbin...@gmail.com> --- include/linux/amba/mmci.h| 2 +- include/linux/bio.h | 2 +- include/linux/bpf.h | 2 +- include/linux/cgroup-defs.h | 2 +- include/lin

Re: Nokia N900: musb is in wrong state after boot

2016-02-22 Thread Adam Ford
when I have more time to see if it's still there. Once I realized the stable kernel worked, I stoped since I was just testing some device tree stuff. adam On Mon, Feb 22, 2016 at 9:36 AM, Bin Liu <b-...@ti.com> wrote: > Hi, > > On Mon, Feb 22, 2016 at 10:54:21AM +0200, Fel

Re: clang --target=bpf missing on f23 was: Re: [PATCH 1/2] perf test: Add libbpf relocation checker

2016-01-22 Thread Adam Jackson
On Fri, 2016-01-22 at 14:22 -0300, Arnaldo Carvalho de Melo wrote: > the 'bpf' target for clang is being used together with perf to > build scriptlets into object code that then gets uploaded to the kernel > via sys_bpf(), was the decision not to include 'bpf' just an accident? I wouldn't

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Adam Borowski
On Wed, 6 Apr 2016, Geert Uytterhoeven wrote: > On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov wrote: >> v6: >> - time_t, __kenel_off_t and other types turned to be 32-bit >>for compatibility reasons (after v5 discussion); Introducing a new arch today with y2038

Re: [PATCH v18 00/22] Richacls (Core and Ext4)

2016-03-21 Thread Michael Adam
On 2016-03-15 at 21:17 +0100, Volker Lendecke wrote: > On Tue, Mar 15, 2016 at 08:45:14AM -0700, Jeremy Allison wrote: > > On Tue, Mar 15, 2016 at 12:11:03AM -0700, Christoph Hellwig wrote: > > > People have long learned that we only have 'alloc' permissions. Any > > > model that mixes allow and

[PATCH] tile: Fix misspellings in comments.

2016-03-04 Thread Adam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbin...@gmail.com> --- arch/tile/include/hv/drv_mpipe_intf.h | 26 +- arch/tile/kernel/kgdb.c | 4 ++-- arch/tile/kernel/pci_gx.c | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff

[PATCH] ASoC: da7218: Update PLL ranges and dividers to improve locking

2016-04-22 Thread Adam Thomson
The expected MCLK frequency ranges and the associated dividers are updated to improve PLL locking in a corner scenario, with low MCLK frequency near an input divider change boundary. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- This patch is based on v4.6-rc1

[PATCH] perf/x86/amd: Explicitly define PERF_COUNT_HW_REF_CPU_CYCLES as undefined.

2016-04-26 Thread Adam Borowski
81c021c8 with insufficient space for an object of type 'const u64' Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/events/amd/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/amd/core.c b/arch/x86/events/amd/core.c index 86a9bec..5fa1b8e 100644 --- a/ar

Re: [PATCH] perf/x86/amd: Explicitly define PERF_COUNT_HW_REF_CPU_CYCLES as undefined.

2016-04-27 Thread Adam Borowski
On Wed, Apr 27, 2016 at 10:03:45AM +0200, Ingo Molnar wrote: > * Adam Borowski <kilob...@angband.pl> wrote: > > diff --git a/arch/x86/events/amd/core.c b/arch/x86/events/amd/core.c > > index 86a9bec..5fa1b8e 100644 > > --- a/arch/x86/events/amd/core.c > >

[PATCH] perf/x86/amd: Set the size of event map array to PERF_COUNT_HW_MAX.

2016-04-27 Thread Adam Borowski
/x86/events/amd/core.c:132:9 load of address 81c021c8 with insufficient space for an object of type 'const u64' Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/events/amd/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/amd/co

[PATCH] Tolerate signal > 32 in sig_fatal (apparent bug detected by UBSAN)

2016-04-29 Thread Adam Richter
siginmask already have the check, so I propose the following patch, which moves that test into the siginmask macro and removes it from the callers of siginmask. Signed-off-by: Adam Richter <adamricht...@gmail.com> --- diff --git a/include/linux/signal.h b/include/linux/signal.h

[PATCH 1/3] ASoC: da7219: Convert driver to use generic device/fwnode functions

2016-05-05 Thread Adam Thomson
This change converts the driver from using the of_* functions to using the device_* and fwnode_* functions for accssing DT related data. This is in preparation for updates to support ACPI based initialisation. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

[PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver

2016-05-05 Thread Adam Thomson
This patch set updates the driver to use generic device property & fwnode related functions to read in either DT and ACPI data for driver initialisation. Changes are based on v4.6-rc6 Linux Kernel. Adam Thomson (3): ASoC: da7219: Convert driver to use generic device/fwnode functions

[PATCH 3/3] ASoC: da7219: Add initial ACPI id for device

2016-05-05 Thread Adam Thomson
This adds "DLGS7219" ACPI id for the codec. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> Tested-by: Sathyanarayana Nujella <sathyanarayana.nuje...@intel.com> --- sound/soc/codecs/da7219.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound

[PATCH 2/3] ASoC: da7219: Add ACPI parsing support

2016-05-05 Thread Adam Thomson
This update allows for parsing of ACPI, in addition to existing DT support. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> Tested-by: Sathyanarayana Nujella <sathyanarayana.nuje...@intel.com> --- sound/soc/codecs/da7219-aad.c | 32 ---

[PATCH 0/5] ASoC: da7213: clocking related improvements for codec

2016-05-10 Thread Adam Thomson
This is a collection of updates with regards to clocking on da7213 codec, including power efficiency & stability improvements. Patches are based on v4.6-rc7 kernel. Adam Thomson (5): ASoC: da7213: Add DAI DAPM event to control DAI clocks ASoC: da7213: Add checking of SRM lock status be

[PATCH 5/5] ASoC: da7213: Allow PLL disable/bypass when using 32KHz sysclk

2016-05-10 Thread Adam Thomson
Current checking for PLL 32KHz mode fails in driver code when bypassing the PLL. This is due to an incorrect check of PLL source type when 32KHz clock is provided. Removal of this check resolves the issue. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/

[PATCH 1/5] ASoC: da7213: Add DAI DAPM event to control DAI clocks

2016-05-10 Thread Adam Thomson
Currently, when Codec is I2S master DAI clocks are continuously generated even if all audio streams have stopped. To improve efficiency, control of the DAI clocks for master mode have been moved to a DAPM widget event so they're only enabled as required. Signed-off-by: Adam Thomson

[PATCH 4/5] ASoC: da7213: Update PLL ranges to improve locking at frequency boundary

2016-05-10 Thread Adam Thomson
This update changes the dividers used for ranges of input MCLK frequencies, to improve PLL locking for a corner case when at edge of MCLK frequency input divider range. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7213.

[PATCH 2/5] ASoC: da7213: Add checking of SRM lock status before enabling DAI

2016-05-10 Thread Adam Thomson
occur within a given time. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7213.c | 23 +++ sound/soc/codecs/da7213.h | 4 2 files changed, 27 insertions(+) diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c

[PATCH 3/5] ASoC: da7213: Default PC counter to free-running when DAI disabled

2016-05-10 Thread Adam Thomson
Currently PC counter is always synchronised to DAI which means that when the DAI is disabled, features such as ALC calibration cannot be executed successfully. This patch makes sure that when the DAI is disabled, PC counter is set to free-running. Signed-off-by: Adam Thomson <adam.thomson.open

[PATCH 1/2] ASoC: da7219: Update PLL ranges and dividers to improve locking

2016-04-19 Thread Adam Thomson
The expected MCLK frequency ranges and the associated dividers are updated to improve PLL locking in a corner scenario, with low MCLK frequency near an input divider change boundary. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7219.

[PATCH 2/2] ASoC: da7219: Disallow unsupported 32KHz clock setting in set_dai_sysclk()

2016-04-19 Thread Adam Thomson
The PLL function was updated to disallow 32KHz in commit 501f72e9c520 ("ASoC: da7219: Remove support for 32KHz PLL mode"), but set_dai_sysclk() was missed and still permits it. This patch resolves that discrepancy. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

[PATCH 0/2] ASoC: da7219: Small clocking related updates for PLL and sysclk

2016-04-19 Thread Adam Thomson
to the set_dai_pll() function. Patches are based on v4.6-rc4 kernel version. Adam Thomson (2): ASoC: da7219: Update PLL ranges and dividers to improve locking ASoC: da7219: Disallow unsupported 32KHz clock setting in set_dai_sysclk() sound/soc/codecs/da7219.c | 30

[PATCH] ASoC: da7219: Make more efficient use of MCLK within driver

2016-07-29 Thread Adam Thomson
moving between the STANDBY and PREPARE bias level, and when a 3-pole jack is inserted and HP detection is required, thus saving power at all other times. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7219-aad.c | 18 +- sound/soc/

[PATCH 1/4] ASoC: da7213: Default to 64 BCLKs per WCLK to support all formats

2016-08-04 Thread Adam Thomson
Previously code defaulted to 32 BCLKS per WCLK which meant 24 and 32 bit DAI formats would not work properly. This patch fixes the issue by defaulting to 64 BCLKs per WCLK. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7213.c | 4 ++-- 1 file chan

[PATCH 4/4] ASoC: da7213: Improve 32KHz mode PLL locking

2016-08-04 Thread Adam Thomson
To aid PLL in locking on to a 32KHz MCLK, some register mods are made during PLL configuration, and when enabling the DAI, to achieve the full range of sample rates. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7213.c | 25 ++

[PATCH 2/4] ASoC: da7213: Improve driver efficiency with regards to MCLK usage

2016-08-04 Thread Adam Thomson
Currently MCLK remains enabled during bias STANDBY state, and this is not necessary. This patch updates the code to handle enabling and disabling of MCLK, if provided, when moving between STANDBY and PREPARE states, therefore saving power when no active streams present. Signed-off-by: Adam

[PATCH 0/4] ASoC: da7213: Device clocking updates and fixes

2016-08-04 Thread Adam Thomson
DAI is enabled. Patches are based on v4.7 Linux kernel Adam Thomson (4): ASoC: da7213: Default to 64 BCLKs per WCLK to support all formats ASoC: da7213: Improve driver efficiency with regards to MCLK usage ASoC: da7213: Refactor sysclk(), pll() functions to improve handling ASoC: da7213

[PATCH 3/4] ASoC: da7213: Refactor sysclk(), pll() functions to improve handling

2016-08-04 Thread Adam Thomson
and correct MCLK rates, to avoid incorrect usage of PLL for this operation. - For 32KHz mode, SRM flag now correctly enabled and fout set to sensible value to achieve appropriate PLL dividers. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7213.

[PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-07-17 Thread Adam Borowski
for root/cap. Tested on btrfs and not-yet-merged xfs, as only them implement this ioctl. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index 933b53a..df59dc6

Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-07-17 Thread Adam Borowski
On Mon, Jul 18, 2016 at 12:13:38AM +0200, Adam Borowski wrote: > Instead of checking the mode of the file descriptor, let's check whether it > could have been opened rw. This allows fixing intermittent exec failures > when deduping a live system: anyone trying to exec a file curren

[PATCH 0/2] ASoC: da7218: Small clocking related updates for driver

2016-08-08 Thread Adam Thomson
This patch set contains two updates relating to clocking. The first removes the 32KHz PLL feature as this is no longer supported, and the second provides MCLK effciency improvements to avoid unnecessary MCLK enabling. Changes are based on v4.8-rc1 Linux kernel. Adam Thomson (2): ASoC: da7218

[PATCH 2/2] ASoC: da7218: Improve driver efficiency with regards to MCLK usage

2016-08-08 Thread Adam Thomson
Currently MCLK remains enabled during bias STANDBY state, and this is not necessary. This patch updates the code to handle enabling and disabling of MCLK, if provided, when moving between STANDBY and PREPARE states, therefore saving power when no active streams present. Signed-off-by: Adam

[PATCH 1/2] ASoC: da7218: Remove 32KHz PLL mode from driver

2016-08-08 Thread Adam Thomson
Functionality has been removed in latest silicon variants. This patch removes the feature from the driver to align. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7218.c | 12 +++- sound/soc/codecs/da7218.h | 2 -- 2 files changed, 3 inse

RE: [alsa-devel] [PATCH 3/4] ASoC: da7213: Refactor sysclk(), pll() functions to improve handling

2016-08-08 Thread Adam Thomson
On 08 August 2016 08:43, Peter Meerwald-Stadler wrote: > > Currently the handling of the PLL in the driver is a little clunky, > > and not ideal for all modes. This patch updates the code to make it > > cleaner and more sensible for the various PLL states. > > > > Key items of note are: > > -

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-02-03 Thread Adam Borowski
On Fri, Feb 03, 2017 at 05:04:15PM +0100, Manuel Schölling wrote: > On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote: > > On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling > > wrote: > > > The impact of the persistent scrollback feature on the code size is > > >

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > > > On Fri, Ja

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 02:31:56PM +0100, Greg KH wrote: > On Fri, Jan 20, 2017 at 02:16:11PM +0100, Adam Borowski wrote: > > On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > > > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > > >

Re: [ibm-acpi-devel] [PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED

2017-02-12 Thread Adam Goode
On Sun, Feb 12, 2017 at 1:22 PM, Sebastian Reichel <s...@kernel.org> wrote: > Hi, > > On Tue, Feb 07, 2017 at 11:01:32PM -0200, Henrique de Moraes Holschuh wrote: >> Hello Adam, >> >> I apologise for the delay on answering you. >> >> On Tue, 31 Jan 2017

RE: [PATCH 11/62] watchdog: da9052_wdt: Convert to use device managed functions

2017-01-17 Thread Adam Thomson
om> > Signed-off-by: Guenter Roeck <li...@roeck-us.net> > --- Acked-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

RE: [PATCH 12/62] watchdog: da9055_wdt: Convert to use device managed functions

2017-01-17 Thread Adam Thomson
ion > - Drop platform_set_drvdata() > - Use devm_watchdog_register_driver() to register watchdog device > > Cc: Support Opensource <support.opensou...@diasemi.com> > Signed-off-by: Guenter Roeck <li...@roeck-us.net> > --- Acked-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

RE: [PATCH 14/62] watchdog: da9063_wdt: Convert to use device managed functions

2017-01-17 Thread Adam Thomson
herwise unused variables > - Drop unused variables > - Drop remove function > - Drop dev_set_drvdata() > - Use devm_watchdog_register_driver() to register watchdog device > > Cc: Support Opensource <support.opensou...@diasemi.com> > Signed-off-by: Guen

RE: [PATCH 13/62] watchdog: da9062_wdt: Convert to use device managed functions

2017-01-17 Thread Adam Thomson
gt; - Drop dev_set_drvdata() > - Use devm_watchdog_register_driver() to register watchdog device > > Cc: Support Opensource <support.opensou...@diasemi.com> > Signed-off-by: Guenter Roeck <li...@roeck-us.net> > --- Acked-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

[PATCH 1/1] thinkpad_acpi: Add support for status (external cover) LED

2017-01-19 Thread Adam Goode
en the two, so I chose "status" as the LED name. Signed-off-by: Adam Goode <ago...@google.com> diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index cacb43fb1df7..6577bf8e5635 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/pla

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-19 Thread Adam Borowski
On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > > On Fri, Jan 13, 2017 at 09:07:57PM +0100, Manuel Schölling wrote: > > > > +   This feature might break your

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-19 Thread Adam Borowski
On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > On Fri, Jan 13, 2017 at 09:07:57PM +0100, Manuel Schölling wrote: > > > Add a scrollback buffers for each VGA console. The benefit is that > > > the scrollback history is not

RE: [PATCH] ASoC: da7219: make sure the valid event when startup

2016-09-09 Thread Adam Thomson
On 09 September 2016 15:02, Xing Zheng wrote: > We need to ensure the master bias and jack detection to be enabled > before reporting event at the da7219_aad_irq_thread. Otherwise, we > may acquire the incorrect the unplug event when the DUT startup > with a plugged headphone. For this device,

[PATCH] ASoC: da7219: Support HP detect procedure when MCLK not present

2016-09-12 Thread Adam Thomson
support for the HP detect procedure when running from the device's internal oscillator, to ensure all platforms can make use of this feature correctly. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- sound/soc/codecs/da7219-aad.c | 34 --

[PATCH resend] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-10-05 Thread Adam Borowski
for root/cap. Tested on btrfs and not-yet-merged xfs, as only them implement this ioctl. Signed-off-by: Adam Borowski <kilob...@angband.pl> Reviewed-by: Mark Fasheh <mfas...@suse.de> --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_

[PATCH V2] OMAPDSS: Kconfig: Add HDMI for OMAP4 and OMAP5 dependencies

2016-10-04 Thread Adam Ford
Make "HDMI for OMAP4" and "HDMI for OMAP5" depend on ARCH_OMAP4 and SOC_OMAP5/DRA7XX respectively. Signed-off-by: Adam Ford <aford...@gmail.com> Changes in v2: Add dependancy for DRA7XX or OMAP5 diff --git a/drivers/gpu/drm/omapdrm/dss/Kconfig b/drivers/gpu/drm

[PATCH] ASoC: da7219: Improve pop/click performance for sensitive HPs

2016-10-03 Thread Adam Thomson
. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- Changes are based on top of commit: ASoC: da7219: Disable AAD if codec is not a wake-up source sound/soc/codecs/da7219-aad.c | 18 -- sound/soc/codecs/da7219.c | 139 --

[PATCH 1/2] ASoC: da7219: Reset codec gracefully, if still active

2016-09-26 Thread Adam Thomson
Currently the reset code in i2c_probe only resets the AAD part of the device and not the entire codec. This patch updates the driver to resolve this and ensures that if the codec is still active from a previous boot then the audio paths are powered down prior to reset. Signed-off-by: Adam Thomson

[PATCH 2/2] ASoC: da7219: Disable AAD if codec is not a wake-up source

2016-09-26 Thread Adam Thomson
system suspend aren't captured. This patch updates the driver to disable AAD during suspend, if we're not a wake-up source, and then re-enables this on resume. Signed-off-by: Adam Thomson <adam.thomson.opensou...@diasemi.com> --- include/sound/da7219.h| 2 ++ sound/soc/codecs/

[PATCH 0/2] ASoC: da7219: Codec soft reset and AAD improvements

2016-09-26 Thread Adam Thomson
under the following commits: ASoC: da7219: software reset codec at probe ASoC: da7219: Support HP detect procedure when MCLK not present Adam Thomson (2): ASoC: da7219: Reset codec gracefully, if still active ASoC: da7219: Disable AAD if codec is not a wake-up source include/sound/da7219.h

Re: [PATCH v6 3/3] ata: ATA Command Priority Disabled By Default

2016-10-19 Thread Adam Manzanares
tion > reject prio enabling if the device doesn't support it? > I'll send something out shortly. Take care, Adam > Thanks. > > -- 8< -- > From 84f95243b5439a20c33837075b88926bfa00c4ec Mon Sep 17 00:00:00 2001 > From: Adam Manzanares <adam.manzana...@hgst.com> &

Re: x32 is broken in 4.9-rc1 due to "x86/signal: Add SA_{X32,IA32}_ABI sa_flags"

2016-10-19 Thread Adam Borowski
_pt_regs())) > - return; > - > if (in_ia32_syscall()) > act->sa.sa_flags |= SA_IA32_ABI; > if (in_x32_syscall()) > -- > 2.10.0 Works for me. Tested on general operation, a few by-hand checks and several random package builds.

[PATCH] ata: set ncq_prio_enabled if device has support

2016-10-19 Thread Adam Manzanares
enabling one check in ata_build_rw_tf in order to determine whether or not to send a prioritized command. This patch depends on ata: ATA Command Priority Disabled By Default Signed-off-by: Adam Manzanares <adam.manzana...@wdc.com> --- drivers/ata/libata-core.c | 3 +-- drivers/ata/libata-scsi

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 05:59:51PM +1100, Nicholas Piggin wrote: > On Mon, 17 Oct 2016 08:51:31 +0200 > Adam Borowski <kilob...@angband.pl> wrote: > > On Mon, Oct 17, 2016 at 02:57:09PM +1100, Nicholas Piggin wrote: > > > On Sat, 15 Oct 2016 17:22:05 -0700 Omar Sa

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 02:57:09PM +1100, Nicholas Piggin wrote: > On Sat, 15 Oct 2016 17:22:05 -0700 Omar Sandoval wrote: > > On Fri, Oct 14, 2016 at 10:12:46PM +0200, Michal Marek wrote: > > > please pull these kbuild changes for v4.9-rc1: > > > > > > - EXPORT_SYMBOL for

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 02:22:34PM +0200, Mathieu OTHACEHE wrote: > > +#include > > +#include > > Included twice. D'oh! > > +#include > > +#include > > +#include > > + > > +#include > > + > > +#include > > +#include > > +#include > > +#include > > No for __sw_hweight32 and

[PATCH v6 1/3] block: Add iocontext priority to request

2016-10-17 Thread Adam Manzanares
to see if the ioprio of the bio is valid and if so then the request prio comes from the bio. Signed-off-by: Adam Manzananares <adam.manzana...@wdc.com> --- block/blk-core.c | 4 +++- include/linux/blkdev.h | 14 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a

[PATCH v6 0/3] Enabling ATA Command Priorities

2016-10-17 Thread Adam Manzanares
in ata_ncq_prio_enabled function. Adam Manzanares (3): block: Add iocontext priority to request ata: Enabling ATA Command Priorities ata: ATA Command Priority Disabled By Default block/blk-core.c | 4 ++- drivers/ata/libahci.c | 1 + drivers/ata/libata-core.c | 35

[PATCH v6 3/3] ata: ATA Command Priority Disabled By Default

2016-10-17 Thread Adam Manzanares
Add a sysfs entry to turn on priority information being passed to a ATA device. By default this feature is turned off. This patch depends on ata: Enabling ATA Command Priorities Signed-off-by: Adam Manzanares <adam.manzana...@hgst.com> --- drivers/ata/libahci.c | 1 + drivers/ata/

Re: 4.6.4, 3w_sas: timeout too small?

2016-10-18 Thread adam radford
would need to adjust any timeout values in the controller reset sequence code, i.e. twl_reset_sequence(). -Adam On Mon, Oct 17, 2016 at 6:09 AM, Harald Dunkel <harald.dun...@aixigo.de> wrote: > Hi folks, > > Question about the reset timeout of the 3w_sas: > > For an unknow

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-21 Thread Adam Borowski
On Fri, Oct 21, 2016 at 01:16:00PM +0200, Sebastian Andrzej Siewior wrote: > Debian started to build the gcc with --enable-default-pie by default To be exact: this is since gcc-6 6.2.0-7 dated Tue, 18 Oct 2016 13:53:00 +0200 on amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x. >

Re: [PATCH v6 3/3] ata: ATA Command Priority Disabled By Default

2016-10-19 Thread Adam Manzanares
The 10/19/2016 14:05, Tejun Heo wrote: > On Mon, Oct 17, 2016 at 11:27:30AM -0700, Adam Manzanares wrote: > > Add a sysfs entry to turn on priority information being passed > > to a ATA device. By default this feature is turned off. > > > > This patch depends o

Re: 784d5699eddc ("x86: move exports to actual definitions")

2016-10-18 Thread Adam Borowski
On Tue, Oct 18, 2016 at 10:29:15PM +0200, Markus Trippelsdorf wrote: > On 2016.10.18 at 22:23 +0200, Borislav Petkov wrote: > > I see the gazillion warnings below when building -rc1 here. > > > > When I revert > > > > 784d5699eddc ("x86: move exports to actual definitions") > > > > the warnings

[PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-23 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. User impact: kernels may fail to load modules at all when CONFIG_MODVERSIONS=y. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> Acked-by: Nicholas Piggin <

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-21 Thread Adam Borowski
On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote: > Add a scrollback buffers for each VGA console. The benefit is that > the scrollback history is not flushed when switching between consoles > but is persistent. > The buffers are allocated on demand when a new console is opened. >

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-23 Thread Adam Borowski
On Tue, Nov 22, 2016 at 05:56:42PM +0100, Manuel Schölling wrote: > On Mo, 2016-11-21 at 21:17 +0100, Adam Borowski wrote: > > On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote: > > > Add a scrollback buffers for each VGA console. The benefit is that > >

Re: BUG: 4.9-rc6 Still "no symbol version" on boot

2016-11-23 Thread Adam Borowski
types.h-for-x86.patch: > https://patchwork.kernel.org/patch/9408985/raw/ > > @Adam, Nick: Was this patch not yet sent to Linus? The patch stewed in a kbuild-targetted thread since the morning after -rc1, Nick has recently requested that it should go through x86 maintainers instead. I've

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
ot; allows. Tested-by: Adam Borowski <kilob...@angband.pl> Meow! -- The bill declaring Jesus as the King of Poland fails to specify whether the addition is at the top or end of the list of kings. What should the historians do?

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
On Sun, Nov 27, 2016 at 09:37:30PM +, Andrey Utkin wrote: > I've just patched next-20161125 with this set and given it a run. > > Scrollback persistence works fine, just as in earlier versions. > > This time I didn't forget to test clear operation. > > The only important concern is that

[PATCH reworded] x86/kbuild: enable modversions for symbols exported from asm

2016-11-21 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. User impact: kernels may fail to load modules at all when CONFIG_MODVERSIONS=y. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> Acked-by: Nicholas Piggin <

Re: Linux 4.9: Reported regressions as of Sunday, 2016-11-20

2016-11-20 Thread Adam Borowski
On Sun, Nov 20, 2016 at 04:09:51PM +0100, Thorsten Leemhuis wrote: > Hi! Here is my fourth regression report for Linux 4.9. > == Current regressions == > > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04

Re: [GIT PULL] kbuild post v4.9-rc1 fixes

2016-11-20 Thread Adam Borowski
On Fri, Nov 18, 2016 at 09:50:51PM +0100, Michal Marek wrote: > Hi Linus, > > Here are some regression fixes for kbuild: > - modversion support for exported asm symbols (Nick Piggin). The > affected architectures need separate patches adding asm-prototypes.h. As the pull request's comment

[PATCH resend] kbuild: provide include/asm/asm-prototypes.h for x86

2016-11-20 Thread Adam Borowski
ion there. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> --- arch/x86/include/asm/asm-prototypes.h | 12 include/asm-generic/asm-prototypes.h | 7 +++ 2 files changed, 19 insertions(+) create mode 100644 arch/x86/includ

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-11-02 Thread Adam Borowski
On Tue, Nov 01, 2016 at 04:48:48PM +0100, Michal Marek wrote: > > Adam Borowski <kilob...@angband.pl> wrote: > > > >> On Mon, Oct 17, 2016 at 02:22:34PM +0200, Mathieu OTHACEHE wrote: > >>>> +#include > >>>> +#include > >>>

[PATCH] kbuild: provide include/asm/asm-prototypes.h for x86

2016-11-02 Thread Adam Borowski
ion there. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/include/asm/asm-prototypes.h | 12 include/asm-generic/asm-prototypes.h | 7 +++ 2 files changed, 19 insertions(+) create mode 100644 arch/x86/include/asm/asm-prototypes.h create mode 100644

RE: [PATCH] ASoC: da7219: Connect output enable register to DAIOUT

2016-10-28 Thread Adam Thomson
OPM, 0, 0), > + SND_SOC_DAPM_AIF_OUT("DAIOUT", "Capture", 0, > DA7219_DAI_TDM_CTRL, > + DA7219_DAI_OE_SHIFT, DA7219_NO_INVERT), > SND_SOC_DAPM_AIF_IN("DAIIN", "Playback", 0, SND_SOC_NOPM, 0, 0), > > /* Output Muxes */ > -- > 2.8.0.rc3.226.g39d4020 Acked-by: Adam Thomson <adam.thomson.opensou...@diasemi.com>

Re: [PATCH 2/2] kbuild: add -fno-PIE

2016-11-04 Thread Adam Borowski
On Fri, Nov 04, 2016 at 04:58:55PM +0100, Sebastian Andrzej Siewior wrote: > On 2016-11-04 15:54:27 [+], Al Viro wrote: > > Christoph, would you mind rereading what I posted upthread? I *am* aware of > > that clusterfuck, including the Balint's charming games with the > > reassignments, > >

[PATCH v4 4/4] ata: ATA Command Priority Disabled By Default

2016-10-13 Thread Adam Manzanares
Add a sysfs entry to turn on priority information being passed to a ATA device. By default this feature is turned off. This patch depends on ata: Enabling ATA Command Priorities Signed-off-by: Adam Manzanares <adam.manzana...@wdc.com> --- drivers/ata/libahci.c | 1 + drivers/ata/

[PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Adam Manzanares
. In init_request_from_bio a check is made to see if the ioprio of the bio is valid and if so then the request prio comes from the bio. Signed-off-by: Adam Manzananares <adam.manzana...@wdc.com> --- block/blk-core.c | 4 +++- include/linux/blkdev.h | 14 ++ 2 files changed, 17 insertions

[PATCH v4 3/4] ata: Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
This patch checks to see if an ATA device supports NCQ command priorities. If so and the user has specified an iocontext that indicates IO_PRIO_CLASS_RT then we build a tf with a high priority command. Signed-off-by: Adam Manzanares <adam.manzana...@wdc.com> --- drivers/ata/libata-core.

[PATCH v4 2/4] fusion: remove iopriority handling

2016-10-13 Thread Adam Manzanares
The request priority is now by default coming from the ioc. It was not clear what this code was trying to do based upon the iopriority class or data. The driver should check that a device supports priorities and use them according to the specificiations of ioprio. Signed-off-by: Adam Manzanares

[PATCH v4 0/4] Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
- If queue flag set, send iopriority class to ata_build_rw_tf - Remove redundant code in ata_ncq_prio_enabled function. Adam Manzanares (4): block: Add iocontext priority to request fusion: remove iopriority handling ata: Enabling ATA Command Priorities ata: ATA Command Priority Disabled

Re: [PATCH v4 2/4] fusion: remove iopriority handling

2016-10-13 Thread Adam Manzanares
this should be some #define in the includes of the fusion driver with some documentation. > -Original Message----- > From: Adam Manzanares [mailto:adam.manzana...@hgst.com] > Sent: Thursday, October 13, 2016 1:54 PM > To: ax...@kernel.dk; t...@kernel.org; dan.j.willi...@intel.com; >

Re: [PATCH v4 1/4] block: Add iocontext priority to request

2016-10-13 Thread Adam Manzananares
The 10/13/2016 14:09, Jens Axboe wrote: > On 10/13/2016 02:06 PM, Dan Williams wrote: > >On Thu, Oct 13, 2016 at 12:53 PM, Adam Manzanares > ><adam.manzana...@hgst.com> wrote: > >>Patch adds an association between iocontext ioprio and the ioprio of a

[PATCH v5 3/4] ata: Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
to the device. Signed-off-by: Adam Manzanares <adam.manzana...@wdc.com> --- drivers/ata/libata-core.c | 35 ++- drivers/ata/libata-scsi.c | 6 +- drivers/ata/libata.h | 2 +- include/linux/ata.h | 6 ++ include/linux/libata.h

Re: [PATCH v5 4/4] ata: ATA Command Priority Disabled By Default

2016-10-13 Thread Adam Manzanares
Hello Tejun, The 10/13/2016 19:22, Tejun Heo wrote: > Hello, Adam. > > Sorry about late reply. Was on vacation. NP I was on vacation at the end of the week last week. > > On Thu, Oct 13, 2016 at 04:00:31PM -0700, Adam Manzanares wrote: > > Add a sysfs entry to turn on

[PATCH v5 0/4] Enabling ATA Command Priorities

2016-10-13 Thread Adam Manzanares
documentation for sysfs queue entry v2: - Add queue flag to set iopriority going to the request - If queue flag set, send iopriority class to ata_build_rw_tf - Remove redundant code in ata_ncq_prio_enabled function. Adam Manzanares (4): block: Add iocontext priority to request fusion: remove

<    3   4   5   6   7   8   9   10   11   12   >