Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-29 Thread Hans Verkuil
On 01/25/2018 05:15 PM, Tim Harvey wrote: > On Mon, Jan 15, 2018 at 4:56 AM, Hans Verkuil wrote: >> On 12/28/2017 09:09 PM, Tim Harvey wrote: >>> Add support for the TDA1997x HDMI receivers. >>> >> >> This looks good. >> >> But there is one corner case that isn't handled in this driver: what if th

Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:52, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:17AM +0100, Philipp Rossak wrote: This patch enables the the sid controller in the H3. It can be used for thermal calibration data. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ 1 file

[PATCHv7 3/4] x86/boot/compressed/64: Prepare trampoline memory

2018-01-29 Thread Kirill A. Shutemov
If a bootloader enables 64-bit mode with 4-level paging, we might need to switch over to 5-level paging. The switching requires the disabling paging. It works fine if kernel itself is loaded below 4G. But if the bootloader put the kernel above 4G (not sure if anybody does this), we would lose cont

Re: [0/2] RDMA/bnxt_re: Adjustments for bnxt_qplib_alloc_dpi_tbl()

2018-01-29 Thread Devesh Sharma
On Mon, Jan 29, 2018 at 3:01 PM, SF Markus Elfring wrote: >> You don't need 2 patches when changing same lines of code. > > Are these really the same? > > >> Could you squash both and send your changes in a single patch. > > I prefer to keep the deletion of questionable error messages separate > f

Re: [PATCH 1/2] pps: client: use new parport device model

2018-01-29 Thread Rodolfo Giometti
On 29/01/18 00:22, Sudip Mukherjee wrote: Modify pps client driver to use the new parallel port device model. In that process, added an index to mention the device number when we have more than one parallel port. Signed-off-by: Sudip Mukherjee Acked-by: Rodolfo Giometti -- HCE Engineering

Re: [PATCH 2/2] pps: generator: use new parport device model

2018-01-29 Thread Rodolfo Giometti
On 29/01/18 00:22, Sudip Mukherjee wrote: Modify pps generator driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee Acked-by: Rodolfo Giometti -- HCE Engineering e-mail: giome...@hce-engineering.it GNU/Linux Solutions

Re: [PATCH v2 2/4] x86: vmx: Allow direct access to MSR_IA32_SPEC_CTRL

2018-01-29 Thread KarimAllah Ahmed
On 01/29/2018 11:44 AM, Paolo Bonzini wrote: On 29/01/2018 01:58, KarimAllah Ahmed wrote: Add direct access to MSR_IA32_SPEC_CTRL for guests. This is needed for guests that will only mitigate Spectre V2 through IBRS+IBPB and will not be using a retpoline+IBPB based approach. To avoid the overhe

[PATCH] Documentation: networking: ixgb: Remove reference to IXGB_NAPI

2018-01-29 Thread Corentin Labbe
NAPI is enabled by default and IXGB_NAPI was removed since commit 6d37ab282e24 ("ixgb: make NAPI the only option and the default") Update the doc accordingly. Signed-off-by: Corentin Labbe --- Documentation/networking/ixgb.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

[PATCH] Documentation: mips: Update AU1xxx_IDE Kconfig dependencies

2018-01-29 Thread Corentin Labbe
IDEDMA_AUTO IDEDMA_PCI_AUTO was removed in commit 120b9cfddff2 ("ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config") BLK_DEV_IDEDISK was removed in commit 806f80a6fc20 ("ide: add generic ATA/ATAPI disk driver") BLK_DEV_IDE_AU1XXX_BURSTABLE_ON was removed in commit 8f29e650bffc ("ide: AU1200 IDE up

[PATCH] netfilter: fix pointer leaks to userspace

2018-01-29 Thread Dmitry Vyukov
Several netfilter matches and targets put kernel pointers into info objects, but don't set usersize in descriptors. This leads to kernel pointer leaks if a match/target is set and then read back to userspace. Properly set usersize for these matches/targets. Found with manual code inspection. Sig

[PATCH] Asoc: samsung: clean makefile about inexistant files

2018-01-29 Thread Corentin Labbe
Clean makefile rules about inexistant files. Thoses files were removed in commit a076d418235f ("ASoC: samsung: Drop AC97 drivers") Signed-off-by: Corentin Labbe --- sound/soc/samsung/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/samsung/Makefile b/sound/soc/samsung/Ma

Re: [PATCH v2] staging: media: remove remains of VIDEO_ATOMISP_OV8858

2018-01-29 Thread Andy Shevchenko
On Mon, 2018-01-29 at 12:16 +, Corentin Labbe wrote: > OV8858 files are left unusable since commit 3a81c7660f80 ("media: > staging: atomisp: Remove IMX sensor support") > They are uncompilable since they depends on dw9718.c and vcm.c which > was removed. > > Remove the OV8858 kconfig and files

[GIT PULL] inode->i_version rework for v4.16

2018-01-29 Thread Jeff Layton
The following changes since commit 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36: Linux 4.15-rc3 (2017-12-10 17:56:26 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/iversion-v4.16-1 for you to fetch changes up to f02a9ad1f15da

Re: [PATCH] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-29 Thread Dominik Brodowski
On Mon, Jan 29, 2018 at 11:33:28AM +, David Woodhouse wrote: > From: Tim Chen > > Flush indirect branches when switching into a process that marked itself > non dumpable. This protects high value processes like gpg better, > without having too high performance overhead. > > If done naïvely,

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Code Kipper
On 29 January 2018 at 12:32, Mark Brown wrote: > On Mon, Jan 29, 2018 at 08:34:00AM +0100, Code Kipper wrote: > >> I'm not sure..I was looking for a clean example of being able to >> override the number of bclks in the lrclk width and some other >> devices(Rpi) were doing it this way. I open to s

[PATCH] ASoC: remove dead makefile about sn95031

2018-01-29 Thread Corentin Labbe
All sn95031 stuff was removed in commit 987da3fe1759 ("ASoC: sn95031: remove this code") Since SND_SOC_SN95031 was gone, remove makefile about it. Signed-off-by: Corentin Labbe --- sound/soc/codecs/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/Makefile b/sound/soc

Re: [PATCH] MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS

2018-01-29 Thread James Hogan
On Mon, Jan 29, 2018 at 11:26:45AM +, Matt Redfearn wrote: > When commit b27311e1cace ("MIPS: TXx9: Add RBTX4939 board support") > added board support for the RBTX4939, it added a call to > led_classdev_register even if the LED class is built as a module. > Built-in arch code cannot call module

[PATCH] scsi: remove dead makefile about oktagon files

2018-01-29 Thread Corentin Labbe
Remove line using inexistant files which were removed in commit 642978beb483 ("[SCSI] remove m68k NCR53C9x based drivers") Signed-off-by: Corentin Labbe --- drivers/scsi/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index fcfd28d2884c..

Re: [PATCH v2 01/16] dt-bindings: update the Allwinner GPADC device tree binding for H3 & A83T

2018-01-29 Thread Philipp Rossak
+Example for A33: ths: ths@1c25000 { compatible = "allwinner,sun8i-a33-ths"; reg = <0x01c25000 0x100>; @@ -17,6 +40,27 @@ Example: #io-channel-cells = <0>; }; +Example for H3: + ths: thermal-sensor@1c25000 { +

Re: [linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-29 Thread Mark Brown
On Mon, Jan 29, 2018 at 01:28:51PM +0100, Code Kipper wrote: > On 29 January 2018 at 12:32, Mark Brown wrote: > > You're looking for set_bclk_ratio() I think. > I'm looking for a mechanism to be able to override the bclk width > (usually it's based on param_width) from the device tree. The tdm s

Re: [PATCH] Asoc: samsung: clean makefile about inexistant files

2018-01-29 Thread Krzysztof Kozlowski
On Mon, Jan 29, 2018 at 1:26 PM, Corentin Labbe wrote: > Clean makefile rules about inexistant files. > Thoses files were removed in commit a076d418235f ("ASoC: samsung: Drop AC97 > drivers") > > Signed-off-by: Corentin Labbe > --- > sound/soc/samsung/Makefile | 3 --- > 1 file changed, 3 delet

Re: [PATCH v2 07/16] iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data

2018-01-29 Thread Philipp Rossak
On 29.01.2018 10:40, Maxime Ripard wrote: On Mon, Jan 29, 2018 at 12:29:10AM +0100, Philipp Rossak wrote: This patch reworks the driver to support nvmem calibration cells. The driver checks if the nvmem calibration is supported and reads out the nvmem. Signed-off-by: Philipp Rossak --- dri

Re: [PATCH] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-29 Thread David Woodhouse
On Mon, 2018-01-29 at 13:28 +0100, Dominik Brodowski wrote: > The commit message is much more about the A->idle-> improvement than > on the basic design decisions to limit this to non-dumpable processes. Yeah, I collapsed the commit messages from the three commits into one. But the resulting comm

Re: [PATCH 2/2] drm/sun4i: Handle DRM_MODE_FLAG_**SYNC_POSITIVE correctly

2018-01-29 Thread Maxime Ripard
Hi, On Fri, Jan 26, 2018 at 04:55:54PM +0100, Giulio Benetti wrote: > > > > > It behaves the same way as A20, so as I mean IO polarity, > > > > > all signals(except D0-D23), are inverted. > > > > > For A33 I've used A33-OLinuXino. > > > > > For A20 our LiNova1. > > > > > > > > Indeed, HSYNC and V

Re: [PATCH v2 0/3] Per-VCPU MSR bitmaps patches - topic branch for x86/pti

2018-01-29 Thread David Woodhouse
On Sat, 2018-01-27 at 09:50 +0100, Paolo Bonzini wrote: > David and others, > > the following changes since commit ba804bb4b72e57374b5f567b783aa0298fba0ce6: > >   Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-26 > 09:03:16 -0800) > > are available in the git repositor

Re: [PATCH] ACPI: Parse entire table as a term_list for Dell XPS 9570 and Precision M5530

2018-01-29 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 8:10 AM, Kai-Heng Feng wrote: > The i2c touchpad on Dell XPS 9570 and Precision M5530 doesn't work out > of box. > > The touchpad relies on its _INI method to update its _HID value from > to SYNA2393. > Also, the _STA relies on value of I2CN to report correct statu

[PATCH 3.18 33/52] reiserfs: dont preallocate blocks for extended attributes

2018-01-29 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Mahoney commit 54930dfeb46e978b447af0fb8ab4e181c1bf9d7a upstream. Most extended attributes will fit in a single block. More importantly, we drop the reference to the inode while holding

[PATCH 3.18 12/52] Input: twl4030-vibra - fix ERROR: Bad of_node_put() warning

2018-01-29 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marek Belisko commit e661d0a04462dd98667f8947141bd8defab5b34a upstream. Fix following: [8.862274] ERROR: Bad of_node_put() on /ocp/i2c@4807/twl@48/audio [8.869293] CPU: 0 PID: 1003

[PATCH 3.18 36/52] um: link vmlinux with -no-pie

2018-01-29 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Meyer commit 883354afbc109c57f925ccc19840055193da0cc0 upstream. Debian's gcc defaults to pie. The global Makefile already defines the -fno-pie option. Link UML dynamic kernel image als

[GIT PULL] SPI updates for v4.16

2018-01-29 Thread Mark Brown
The following changes since commit 0c5b9b5d9adbad4b60491f9ba0d2af38904bb4b9: Linux 4.15-rc9 (2018-01-21 13:51:26 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v4.16 for you to fetch changes up to 35a8f1a94d12631afcd55

Re: [PATCH] x86/kexec: Make kexec work in 5-level paging mode

2018-01-29 Thread Baoquan He
On 01/29/18 at 07:19pm, Baoquan He wrote: > On 01/29/18 at 02:08pm, Kirill A. Shutemov wrote: > > I've missed that we need to change relocate_kernel() to set CR4.LA57 > > flag if the kernel has 5-level paging enabled. > > > > I avoided to use ifdef CONFIG_X86_5LEVEL here and inferred if we need to

[PATCH 4.4 06/74] x86/cpu/intel: Introduce macros for Intel family numbers

2018-01-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 970442c599b22ccd644ebfe94d1d303bf6f87c05 upstream. Problem: We have a boatload of open-coded family-6 model numbers. Half of them have these model numbers in hex and the ot

[PATCH 4.4 36/74] netfilter: nf_conntrack_sip: extend request line validation

2018-01-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ulrich Weber commit 444f901742d054a4cd5ff045871eac5131646cfb upstream. on SIP requests, so a fragmented TCP SIP packet from an allow header starting with INVITE,NOTIFY,OPTIONS,REFER,REGISTER,

Re: [PATCH 3/3] fs: fat: add ioctl method in fat filesystem driver

2018-01-29 Thread OGAWA Hirofumi
ChenGuanqiao writes: > +static int fat_check_d_characters(char *label, unsigned long len) > +{ > + int i; > + > + for (i = 0; i < len; ++i) { > + switch (label[i]) { > + case 'a' ... 'z': > + label[i] = __toupper(label[i]); > + case

[resend, PATCH v2] perf tools: substitute yet another strtoull()

2018-01-29 Thread Andy Shevchenko
Instead of home grown function let's use what library provides us. Signed-off-by: Andy Shevchenko --- - recend after couple of years of silence - hopefully it will be commented / accepted now tools/perf/util/util.c | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-)

Re: [PATCH 1/2] tools lib symbol: Use strtoul instead of hex2u64 in kallsyms__parse

2018-01-29 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 9:18 AM, Jiri Olsa wrote: > On Fri, Jan 26, 2018 at 07:27:06PM +0200, Andy Shevchenko wrote: >> On Fri, Jan 26, 2018 at 7:22 PM, Andy Shevchenko >> wrote: >> > https://patchwork.kernel.org/patch/4087681/ >> >> Even second attempt including recent ping left without conside

[PATCH 4.9 09/66] KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2

2018-01-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Punit Agrawal commit c507babf10ead4d5c8cca704539b170752a8ac84 upstream. KVM only supports PMD hugepages at stage 2 but doesn't actually check that the provided hugepage memory pagesize is PMD_S

Re: [PATCH v2 05/19] drm/vc4: Use the alpha format field in drm_format_info

2018-01-29 Thread Maxime Ripard
Hi Eric, On Tue, Jan 23, 2018 at 07:35:10AM +1100, Eric Anholt wrote: > Maxime Ripard writes: > > > Now that the drm_format_info has a alpha field to tell if a format embeds > > an alpha component in it, let's use it. > > > > Cc: Eric Anholt > > Reviewed-by: Daniel Vetter > > Signed-off-by: Ma

[PATCH 4.9 59/66] x86: bpf_jit: small optimization in emit_bpf_tail_call()

2018-01-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ upstream commit 84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c ] Saves 4 bytes replacing following instructions : lea rax, [rsi + rdx * 8 + offsetof(...)] mov rax, qword ptr [rax] cmp

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > On 24/01/18 11:59, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 400 > > + > > 1 file changed,

[PATCH 4.9 41/66] pppoe: take ->needed_headroom of lower device into account on xmit

2018-01-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 02612bb05e51df8489db5e94d0cf8d1c81f87b0c ] In pppoe_sendmsg(), reserving dev->hard_header_len bytes of headroom was probably fine before the introduction of -

Re: [PATCH v2 16/19] drm/sun4i: backend: Assign the pipes automatically

2018-01-29 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 10:22:54AM +0800, Chen-Yu Tsai wrote: > On Mon, Jan 22, 2018 at 6:35 PM, Maxime Ripard > wrote: > > Since we now have a way to enforce the zpos, check for the number of alpha > > planes, the only missing part is to assign our pipe automatically instead > > of hardcoding it.

[PATCH 4.14 60/71] perf/x86/amd/power: Do not load AMD power module on !AMD platforms

2018-01-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xiao Liang commit 40d4071ce2d20840d224b4a77b5dc6f752c9ab15 upstream. The AMD power module can be loaded on non AMD platforms, but unload fails with the following Oops: BUG: unable to handle

[GIT PULL] regulator updates for v4.16

2018-01-29 Thread Mark Brown
The following changes since commit 0c5b9b5d9adbad4b60491f9ba0d2af38904bb4b9: Linux 4.15-rc9 (2018-01-21 13:51:26 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.16 for you to fetch changes up to 4e79f3f1

Re: Avoiding information leaks between users and between processes by default? [Was: : [PATCH 1/5] prctl: add PR_ISOLATE_BP process control]

2018-01-29 Thread Pavel Machek
On Wed 2018-01-24 20:46:22, Alan Cox wrote: > > Anyway, no need to add prctl(), if A can ptrace B and B can ptrace A, > > leaking info between them should not be a big deal. You can probably > > find existing macros doing neccessary checks. > > Until one of them is security managed so it shouldn't

Re: [PATCH v2] dmaengine: dmatest: fix container_of member in dmatest_callback

2018-01-29 Thread Adam Wallis
Yang, On 1/29/2018 1:40 AM, Yang Shunyong wrote: > The type of arg passed to dmatest_callback is struct dmatest_done. > It refers to test_done in struct dmatest_thread, not done_wait. > > Fixes: 6f6a23a213be ("dmaengine: dmatest: move callback wait ...") > Signed-off-by: Yang Shunyong > Signed-o

Re: [PATCH 3/3] fs: fat: add ioctl method in fat filesystem driver

2018-01-29 Thread Andy Shevchenko
+Cc: Pali, who AFAIRC is interested in FAT labeling mess. On Wed, Jan 17, 2018 at 12:43 PM, ChenGuanqiao wrote: Commit message? > Signed-off-by: ChenGuanqiao > #include > #include > #include > +#include It would be better to squeeze it to have order (to some extent) preserved. > +sta

Re: [PATCH] x86/retpoline/entry: Disable the entire SYSCALL64 fast path with retpolines on

2018-01-29 Thread Will Deacon
Hi Andy, On Fri, Jan 26, 2018 at 10:23:23AM -0800, Andy Lutomirski wrote: > On Fri, Jan 26, 2018 at 10:13 AM, Linus Torvalds > wrote: > > On Fri, Jan 26, 2018 at 10:07 AM, Al Viro wrote: > >> > >> Umm... What about other architectures? Or do you want SYSCALL_DEFINE... > >> to be per-arch? I w

Re: [PATCH] staging: media: atomisp2: remove unused headers

2018-01-29 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 3:11 PM, Corentin Labbe wrote: > All thoses headers are not used by any source files. > Lets just remove them. How did you test this? P.S. I like the patch, but since driver in a state of coma vigil, I'm afraid you may do something which shouldn't be done for working driv

Re: [PATCH][next] hwrng: exynos: check for -ve error return from readl_poll_timeout

2018-01-29 Thread Łukasz Stelmach
It was <2018-01-12 pią 17:30>, when Colin King wrote: > From: Colin Ian King > > Currently, the return from readl_poll_timeout is being assigned to > a u32 and this is being checked for a -ve return which is always > false since a u32 cannot be less than zero. Fix this by changing > val to an int

Re: ppc elf_map breakage with MAP_FIXED_NOREPLACE

2018-01-29 Thread Michal Hocko
On Mon 29-01-18 11:02:09, Anshuman Khandual wrote: > On 01/29/2018 08:17 AM, Anshuman Khandual wrote: > > On 01/26/2018 07:34 PM, Michal Hocko wrote: > >> On Fri 26-01-18 18:04:27, Anshuman Khandual wrote: > >> [...] > >>> I tried to instrument mmap_region() for a single instance of 'sed' > >>> bin

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Hans Verkuil
On 01/29/2018 01:42 PM, Smitha T Murthy wrote: > On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: >> On 24/01/18 11:59, Smitha T Murthy wrote: >>> Added V4l2 controls for HEVC encoder >>> >>> Signed-off-by: Smitha T Murthy >>> --- >>> Documentation/media/uapi/v4l/extended-controls.rst | 400

Re: [PATCH] staging: media: atomisp2: remove unused headers

2018-01-29 Thread LABBE Corentin
On Mon, Jan 29, 2018 at 03:22:33PM +0200, Andy Shevchenko wrote: > On Mon, Jan 29, 2018 at 3:11 PM, Corentin Labbe wrote: > > All thoses headers are not used by any source files. > > Lets just remove them. > > How did you test this? > > P.S. I like the patch, but since driver in a state of coma

Re: [PATCH 3/3] i2c: add ACPI support for i2c-piix4

2018-01-29 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 5:54 AM, Andrew Cooks wrote: > This enables the i2c-piix4 SMBus controller driver to enumerate I2C > slave devices using ACPI. It builds on the related I2C mux device work > in commit 8eb5c87a92c0 ("i2c: add ACPI support for I2C mux ports") > > In the i2c-piix4 driver the a

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Mon, 2018-01-29 at 14:27 +0100, Hans Verkuil wrote: > On 01/29/2018 01:42 PM, Smitha T Murthy wrote: > > On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > >> On 24/01/18 11:59, Smitha T Murthy wrote: > >>> Added V4l2 controls for HEVC encoder > >>> > >>> Signed-off-by: Smitha T Murthy >

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Mon, 2018-01-29 at 14:27 +0100, Hans Verkuil wrote: > On 01/29/2018 01:42 PM, Smitha T Murthy wrote: > > On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > >> On 24/01/18 11:59, Smitha T Murthy wrote: > >>> Added V4l2 controls for HEVC encoder > >>> > >>> Signed-off-by: Smitha T Murthy >

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Hans Verkuil
On 01/29/2018 02:15 PM, Smitha T Murthy wrote: >>> The values set in V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP and >>> V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP will give the limits for the L0-L6 QP >>> values that can be set. >> >> OK. If you can clarify this in the documentation, then I can Ack this. >> >> Note

Re: [RFC PATCH 2/2] gpio: provide a consumer when requesting a gpio

2018-01-29 Thread Ludovic Desroches
On Fri, Jan 26, 2018 at 07:13:32PM +0200, Andy Shevchenko wrote: > On Fri, Jan 26, 2018 at 9:32 AM, Ludovic Desroches > wrote: > > On Wed, Jan 24, 2018 at 05:42:15PM +0200, Andy Shevchenko wrote: > >> On Wed, Jan 24, 2018 at 3:07 PM, Ludovic Desroches > >> wrote: > >> > On Thu, Jan 18, 2018 at 04

Re: [PATCH] scsi: remove dead makefile about oktagon files

2018-01-29 Thread Geert Uytterhoeven
On Mon, Jan 29, 2018 at 1:30 PM, Corentin Labbe wrote: > Remove line using inexistant files which were removed in > commit 642978beb483 ("[SCSI] remove m68k NCR53C9x based drivers") > > Signed-off-by: Corentin Labbe Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert

Re: [PATCH] x86/kexec: Make kexec work in 5-level paging mode

2018-01-29 Thread Kirill A. Shutemov
On Mon, Jan 29, 2018 at 03:59:27AM -0800, Matthew Wilcox wrote: > On Mon, Jan 29, 2018 at 02:08:45PM +0300, Kirill A. Shutemov wrote: > > I've missed that we need to change relocate_kernel() to set CR4.LA57 > > flag if the kernel has 5-level paging enabled. > > > > I avoided to use ifdef CONFIG_X8

Re: NFS: regression in stable kernel 4.9.78 from 4.9.75

2018-01-29 Thread Wolfgang Walter
Hello! Am Montag, 29. Januar 2018, 13:22:49 schrieb Wolfgang Walter: > Hello, > > after upgrading our nfs-server from 4.9.75 to 4.9.78 group permissions stop > working (for clients). If you need group permissions to access a file or > directory, sometimes access is granted, but rather often deni

Re: [RFC] apparent bogosity in unregister_ftrace_function_probe_func()

2018-01-29 Thread Masami Hiramatsu
On Sat, 27 Jan 2018 03:17:06 + Al Viro wrote: > It contains something very odd: > > func_g.type = filter_parse_regex(glob, strlen(glob), > &func_g.search, ¬); > func_g.len = strlen(func_g.search); >

Re: dvb usb issues since kernel 4.9

2018-01-29 Thread Mauro Carvalho Chehab
Em Fri, 26 Jan 2018 17:37:39 -0200 Mauro Carvalho Chehab escreveu: > Em Fri, 26 Jan 2018 12:17:37 -0200 > Mauro Carvalho Chehab escreveu: > > > Hi Alan, > > > > Em Mon, 8 Jan 2018 14:15:35 -0500 (EST) > > Alan Stern escreveu: > > > > > On Mon, 8 Jan 2018, Linus Torvalds wrote: > > > >

[GIT pull] x86/mm updates for 4.16

2018-01-29 Thread Thomas Gleixner
Linus, please pull the latest x86-mm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus A single patch which excludes the GART aperture from vmcore as accessing that area from a dump kernel can crash the kernel. Not necessarily the nicest way t

Re: [4.15-rc9] fs_reclaim lockdep trace

2018-01-29 Thread Peter Zijlstra
On Mon, Jan 29, 2018 at 08:47:20PM +0900, Tetsuo Handa wrote: > Peter Zijlstra wrote: > > On Sun, Jan 28, 2018 at 02:55:28PM +0900, Tetsuo Handa wrote: > > > This warning seems to be caused by commit d92a8cfcb37ecd13 > > > ("locking/lockdep: Rework FS_RECLAIM annotation") which moved the > > > loca

Re: [PATCH] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-29 Thread Dominik Brodowski
On Mon, Jan 29, 2018 at 12:44:59PM +, David Woodhouse wrote: > On Mon, 2018-01-29 at 13:28 +0100, Dominik Brodowski wrote: > > > The commit message is much more about the A->idle-> improvement than > > on the basic design decisions to limit this to non-dumpable processes. > > Yeah, I collapse

[PATCH v2 1/2] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB board

2018-01-29 Thread Stefan Mavrodiev
This is new System-On-Module platform with universal dimm socket for easy insertation. The EVB board is designed to be universal with future modules. Product page is located here [1]. There are two dts files - one for base model and another for eMMC variant. Base features of A20-SOM204 board incl

Re: [PATCH arm/aspeed/ast2500 v2] ipmi: add an Aspeed KCS IPMI BMC driver

2018-01-29 Thread Wang, Haiyue
On 2018-01-26 22:48, Corey Minyard wrote: On 01/26/2018 12:08 AM, Wang, Haiyue wrote: On 2018-01-25 01:48, Corey Minyard wrote: On 01/24/2018 10:06 AM, Haiyue Wang wrote: The KCS (Keyboard Controller Style) interface is used to perform in-band IPMI communication between a server host and i

[PATCH v2 2/2] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB-eMMC board

2018-01-29 Thread Stefan Mavrodiev
A20-SOM204 board has option with onboard 16GB eMMC. The chip is wired to MMC2 slot. Signed-off-by: Stefan Mavrodiev --- Changes for v2: - Replaced license header with SPDX-License-Identifier arch/arm/boot/dts/Makefile | 1 + .../boot/dts/sun7i-a20-olimex-som204-evb-

Re: [RFC] apparent bogosity in unregister_ftrace_function_probe_func()

2018-01-29 Thread Masami Hiramatsu
On Sat, 27 Jan 2018 17:07:48 + Al Viro wrote: > On Sat, Jan 27, 2018 at 01:59:56PM +, Dmitry Safonov wrote: > > > > > Incidentally, shouldn't filter_parse_regex("*[ab]", 5, &s, ¬) > > > end up with s = "*[ab]"? We are returning MATCH_GLOB, after all, > > > so we want the entire pattern

[GIT pull] x86/pti updates for 4.16

2018-01-29 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Another set of melted spectrum related changes: - Code simplifications and cleanups for RSB and retpolines. - Make the indirect calls in KVM speculati

Re: [PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200

2018-01-29 Thread Andy Shevchenko
On Sun, Jan 28, 2018 at 11:40 AM, Jonathan Cameron wrote: > On Sun, 14 Jan 2018 10:43:30 + > Jonathan Cameron wrote: >> On Tue, 9 Jan 2018 21:24:01 + >> Jeremy Cline wrote: >> > On 12/10/2017 12:21 PM, Jonathan Cameron wrote: >> > > On Wed, 6 Dec 2017 17:52:34 + >> > > Jeremy Cline

Re: [PATCH 0/2] of: change overlay apply input data from EDT to FDT

2018-01-29 Thread Geert Uytterhoeven
Hi Frank, On Mon, Jan 29, 2018 at 3:53 AM, wrote: > From: Frank Rowand > > Move duplicating and unflattening of an overlay flattened devicetree > (FDT) into the overlay application code. To accomplish this, > of_overlay_apply() is replaced by of_overlay_fdt_apply(). > > The copy of the FDT (ak

Re: [RFC 04/10] x86/mm: Only flush indirect branches when switching into non dumpable process

2018-01-29 Thread Peter Zijlstra
On Mon, Jan 29, 2018 at 01:35:30AM -0500, Jon Masters wrote: > > So if I understand it right, this is only needed if the 'other' > > executable itself is susceptible to spectre. If say someone audited gpg > > for spectre-v1 and build it with retpoline, it would be safe to not > > issue the IBPB, ri

Re: [PATCH v2] irqchip: stm32: Fix copyright

2018-01-29 Thread Benjamin Gaignard
2017-11-30 10:15 GMT+01:00 Maxime Coquelin : > 2017-11-30 9:45 GMT+01:00 Benjamin Gaignard : >> Uniformize STMicroelectronics copyrights header >> Add SPDX identifier >> >> Signed-off-by: Benjamin Gaignard >> Acked-by: Alexandre TORGUE >> CC: Maxime Coquelin >> --- >> drivers/irqchip/irq-stm32-

Re: [perf] perf probe fails sometimes on 4.9

2018-01-29 Thread Masami Hiramatsu
On Mon, 29 Jan 2018 13:40:34 +0530 Pintu Kumar wrote: > Hi All, > > 'perf probe' is failing sometimes on 4.9.20 with AMD-64. > # perf probe --add schedule > schedule is out of .text, skip it. > Error: Failed to add events. > > If any one have come across this problem please let me know the ca

RE: [PATCH v2 4/4] x86: vmx: Allow direct access to MSR_IA32_ARCH_CAPABILITIES

2018-01-29 Thread Van De Ven, Arjan
> On 29/01/2018 01:58, KarimAllah Ahmed wrote: > > Add direct access to MSR_IA32_SPEC_CTRL for guests. Future intel processors > > will use this MSR to indicate RDCL_NO (bit 0) and IBRS_ALL (bit 1). > > This has to be customizable per-VM (similar to the patches Amazon posted > a while ago for UCOD

Re: [PATCH] Coccinelle: memdup: drop spurious line

2018-01-29 Thread Masahiro Yamada
2018-01-28 3:23 GMT+09:00 Julia Lawall : > The kmemdup line in the non-patch case was left over from the added kmemdup > line in the patch case. > > Signed-off-by: Julia Lawall > > --- > scripts/coccinelle/api/memdup.cocci |1 - > 1 file changed, 1 deletion(-) > > diff --git a/scripts/coccine

Re: [PATCH 0/2] RDMA/bnxt_re: Adjustments for bnxt_qplib_alloc_dpi_tbl()

2018-01-29 Thread Jonathan Toppins
On 01/27/2018 03:15 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 27 Jan 2018 21:10:12 +0100 > > Two update suggestions were taken into account > from static source code analysis. > > Markus Elfring (2): > Delete two error messages for a failed memory allocation > Use comm

Re: [PATCH v2 0/3] Per-VCPU MSR bitmaps patches - topic branch for x86/pti

2018-01-29 Thread Paolo Bonzini
On 29/01/2018 13:53, David Woodhouse wrote: > Hm, we are pushing the other bits through tip/x86/pti, which is still > based on 4.14 so that everything can be backported easily. I was > expecting to be able to pull a clean 4.14-based tree Anything 4.14-based would have had conflicts all over due to

[PATCH 0/3] crypto: stm32/hash: Correction to improve robustness

2018-01-29 Thread Lionel Debieve
From: Lionel Debieve Hi, This patch serie will improve global robustness for stm32-hash driver. Patch #1 is fixing dma-burst issue when configuration is not set. Patch #2 solves issue that occurs when irq append during final req processing. Patch #3 is fixing an issue that have been introduced

[PATCH 3/3] crypto: stm32/hash: rework padding length

2018-01-29 Thread Lionel Debieve
From: Lionel Debieve Due to another patch, the dma fails when padding is needed as the given length is not correct. Signed-off-by: Lionel Debieve --- drivers/crypto/stm32/stm32-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/stm32/stm32-hash.c b/drive

[PATCH 1/3] crypto: stm32/hash: avoid error if maxburst not defined

2018-01-29 Thread Lionel Debieve
From: Lionel Debieve dma-maxburst is an optional value and must not return error in case of dma not used (or max-burst not defined). Signed-off-by: Lionel Debieve --- drivers/crypto/stm32/stm32-hash.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/crypt

[PATCH 2/3] crypto: stm32/hash: fix performance issues

2018-01-29 Thread Lionel Debieve
From: Lionel Debieve Fixing bugs link to stress tests. Bad results are detected during testmgr selftests executing in a faster environment. bufcnt value may be resetted and false IT are sometimes detected. Signed-off-by: Lionel Debieve --- drivers/crypto/stm32/stm32-hash.c | 8 ++-- 1 file

[patch v18 0/4] JTAG driver introduction

2018-01-29 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general JTA

[patch v18 4/4] Documentation: jtag: Add ABI documentation

2018-01-29 Thread Oleksandr Shamray
Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v17->v18 v16->v17 v15->v16 v14->v15 v13->v14 v12->v13 v11->v12 Tobias Klauser - rename /Documentation/ABI/testing/jatg-dev -> jtag-dev - Typo: s/interfase/interface v10->v11

[patch v18 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2018-01-29 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v17->v18 v16->v17 v15->v16 Comments pointed by Joel Stanley - change clocks = <&clk_apb> to proper clo

[patch v18 1/4] drivers: jtag: Add JTAG core driver

2018-01-29 Thread Oleksandr Shamray
Initial patch for JTAG driver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

[patch v18 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2018-01-29 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Ole

Re: [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-29 Thread Arnd Bergmann
On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij wrote: > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard > wrote: >> On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linus Walleij wrote: >> However, in DT systems, that >> field is filled only with the parent's node dma-ranges property. In >> our case, an

Re: [PATCH 1/2] of: change overlay apply input data from EDT to FDT

2018-01-29 Thread Rob Herring
On Sun, Jan 28, 2018 at 8:53 PM, wrote: > From: Frank Rowand > > Move duplicating and unflattening of an overlay flattened devicetree > (FDT) into the overlay application code. To accomplish this, > of_overlay_apply() is replaced by of_overlay_fdt_apply(). > > The copy of the FDT (aka "duplicat

Re: [PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-29 Thread Sean Paul
On Mon, Jan 29, 2018 at 4:11 AM, Lee Jones wrote: > On Fri, 26 Jan 2018, Randy Dunlap wrote: > >> On 01/26/2018 01:48 AM, Lee Jones wrote: >> > On Wed, 24 Jan 2018, Meghana Madhyastha wrote: >> > >> >> Add of_find_backlight, a helper function which is a generic version >> >> of tinydrm_of_find_bac

[PATCH] mtd: nand: gpmi: fall back to legacy mode if no ECC information present

2018-01-29 Thread Stefan Agner
In case fsl,use-minimum-ecc is set, the driver tries to determine ECC layout by using the ECC information provided by the MTD stack. However, in case the NAND chip does not provide any information, the driver currently fails with: nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1 nand: M

[PATCH] Staging: iio: ade7758: Remove iio_dev mlock

2018-01-29 Thread Shreeya Patel
In the ade7758 file, read raw does not require iio_dev->mlock for reads. It can run concurrently as resource protection is handled by buf_lock in ade7758_spi_read_reg_8() Signed-off-by: Shreeya Patel --- drivers/staging/iio/meter/ade7758_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Crypto Update for 4.16

2018-01-29 Thread Herbert Xu
Hi Linus: Here is the crypto update for 4.16: API: - Enforce the setting of keys for keyed aead/hash/skcipher algorithms. - Add multibuf speed tests in tcrypt. Algorithms: - Improve performance of sha3-generic. - Add native sha512 support on arm64. - Add v8.2 Crypto Extentions version of sha3

Re: [PATCH v2] irqchip: stm32: Fix copyright

2018-01-29 Thread Thomas Gleixner
On Mon, 29 Jan 2018, Benjamin Gaignard wrote: > 2017-11-30 10:15 GMT+01:00 Maxime Coquelin : > > 2017-11-30 9:45 GMT+01:00 Benjamin Gaignard : > >> Uniformize STMicroelectronics copyrights header > >> Add SPDX identifier > >> > >> Signed-off-by: Benjamin Gaignard > >> Acked-by: Alexandre TORGUE >

Re: [PATCH v2 0/3] Per-VCPU MSR bitmaps patches - topic branch for x86/pti

2018-01-29 Thread David Woodhouse
On Mon, 2018-01-29 at 15:28 +0100, Paolo Bonzini wrote: > On 29/01/2018 13:53, David Woodhouse wrote: > > > > Hm, we are pushing the other bits through tip/x86/pti, which is still > > based on 4.14 so that everything can be backported easily. I was > > expecting to be able to pull a clean 4.14-b

Re: [PATCH v2] irqchip: stm32: Fix copyright

2018-01-29 Thread Marc Zyngier
On 29/01/18 14:51, Thomas Gleixner wrote: > On Mon, 29 Jan 2018, Benjamin Gaignard wrote: >> 2017-11-30 10:15 GMT+01:00 Maxime Coquelin : >>> 2017-11-30 9:45 GMT+01:00 Benjamin Gaignard : Uniformize STMicroelectronics copyrights header Add SPDX identifier Signed-off-by: Benjamin

Re: [PATCH 1/2] of: change overlay apply input data from EDT to FDT

2018-01-29 Thread Geert Uytterhoeven
On Mon, Jan 29, 2018 at 3:42 PM, Rob Herring wrote: > On Sun, Jan 28, 2018 at 8:53 PM, wrote: >> From: Frank Rowand >> >> Move duplicating and unflattening of an overlay flattened devicetree >> (FDT) into the overlay application code. To accomplish this, >> of_overlay_apply() is replaced by of

[PATCHv7 5/4] x86/boot/compressed/64: Support switching from 5- to 4-level paging

2018-01-29 Thread Kirill A. Shutemov
If a bootloader enabled 5-level paging before handing off control to kernel, we may want to switch it to 4-level paging when kernel is compiled with CONFIG_X86_5LEVEL=n. Let's modify decompression code to handle the situation. This will fail if the kernel image is loaded above 64TiB since 4-level

<    1   2   3   4   5   6   7   8   9   10   >