Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-13 Thread Richard Guy Briggs
On 2018-03-13 09:35, Steve Grubb wrote: > On Mon, 12 Mar 2018 11:52:56 -0400 > Richard Guy Briggs wrote: > > > On 2018-03-12 11:53, Paul Moore wrote: > > > On Mon, Mar 12, 2018 at 11:26 AM, Richard Guy Briggs > > > wrote: > > > > On 2018-03-12 11:12, Paul

Re: BUG: corrupted list in sctp_association_free

2018-03-13 Thread Xin Long
On Tue, Mar 13, 2018 at 3:34 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on net-next commit > fd372a7a9e5e9d8011a0222d10edd3523abcd3b1 (Thu Mar 8 19:43:48 2018 +) > Merge tag 'mlx5-updates-2018-02-28-2' of >

Re: [PATCH 4.4 031/193] ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context

2018-03-13 Thread Greg Kroah-Hartman
On Mon, Mar 05, 2018 at 11:45:51PM +, Ben Hutchings wrote: > On Fri, 2018-02-23 at 19:24 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Tony Lindgren > > > > > > [

Re: [tip:locking/core 9/11] include/asm-generic/atomic-instrumented.h:288:24: sparse: cast truncates bits from constant value (100 becomes 0)

2018-03-13 Thread Dmitry Vyukov
On Tue, Mar 13, 2018 at 1:46 PM, Peter Zijlstra wrote: > On Tue, Mar 13, 2018 at 11:49:17AM +0300, Dmitry Vyukov wrote: >> On Mon, Mar 12, 2018 at 6:17 PM, Dmitry Vyukov wrote: >> > On Mon, Mar 12, 2018 at 5:52 PM, kbuild test robot >> >>

Re: [PATCH v1 2/2] usb: dwc3: Add Qualcomm DWC3 glue driver

2018-03-13 Thread Felipe Balbi
Hi, +Andy Manu Gautam writes: > DWC3 controller on Qualcomm SOCs has a Qscratch wrapper. > Some of its uses are described below resulting in need to > have a separate glue driver instead of using dwc3-of-simple: > - It exposes register interface to override

Re: [PATCH 5/5] arm64: allwinner: a64: Add support for TERES I laptop

2018-03-13 Thread Harald Geyer
Hi, > Maxime Ripard writes: > > Hi, > > On Mon, Mar 12, 2018 at 04:10:50PM +, Harald Geyer wrote: >> The TERES I is an open hardware laptop built by Olimex using the >> Allwinner A64 SoC. >> >> Add the board specific .dts file, which includes the A64 .dtsi and >> enables the peripherals

Re: [PATCH] EDAC, sb_edac: Remove VLA usage

2018-03-13 Thread Gustavo A. R. Silva
On 03/13/2018 05:48 AM, Borislav Petkov wrote: On Mon, Mar 12, 2018 at 05:52:13PM -0500, Gustavo A. R. Silva wrote: Do you mean just adding a code comment? No, I mean #define MAX_INTERLEAVE (max_t(unsigned int, ARRAY_SIZE(knl_interleave_list), ... which computes the max of all three array

Re: [alsa-devel] [PATCH v4 07/24] ASoC: qdsp6: q6afe: Add q6afe driver

2018-03-13 Thread Rohit Kumar
On 3/10/2018 7:54 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. [..] + if (res->status) { + dev_err(afe->dev, "cmd = 0x%x returned

Re: [PATCH] ipmi:pci: Blacklist a Realtek "IPMI" device

2018-03-13 Thread Corey Minyard
On 03/13/2018 02:27 AM, Daniel Drake wrote: Hi, On Mon, Feb 26, 2018 at 10:50 AM, wrote: From: Corey Minyard Realtek has some sort of "Virtual" IPMI device on the PCI bus as a KCS controller, but whatever it is, it's not one. Ignore it if seen.

Re: [linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

2018-03-13 Thread Julian Calaby
Hi Marcus, On Tue, Mar 13, 2018 at 2:57 AM, wrote: > From: Marcus Cooper > > Some codecs require a different amount of a bit clocks per frame > than what is calculated by using the sample width. Use a slot > width override property to provide this

[PATCH] drm/i915/pmu: avoid -Wmaybe-uninitialized warning

2018-03-13 Thread Arnd Bergmann
The conditional spinlock confuses gcc into thinking the 'flags' value might contain uninitialized data: drivers/gpu/drm/i915/i915_pmu.c: In function '__i915_pmu_event_read': arch/x86/include/asm/paravirt_types.h:573:3: error: 'flags' may be used uninitialized in this function

[PATCH 24/31] perf vendor events arm64: Enable JSON events for ThunderX2 B0

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Ganapatrao Kulkarni There is MIDR change on ThunderX2 B0, adding an entry to mapfile to enable JSON events for B0. Signed-off-by: Ganapatrao Kulkarni Acked-by: Will Deacon Cc: Alexander Shishkin

[PATCH][next] scsi: lpfc: make several unions static, fix non-ANSI prototype

2018-03-13 Thread Colin King
From: Colin Ian King There are several unions that are local to the source and do not need to be in global scope, so make them static. Also add in a missing void parameter to functions lpfc_nvme_cmd_template and lpfc_nvmet_cmd_template to clean up non-ANSI warning.

[PATCH 25/31] perf unwind: Unwind with libdw doesn't take symfs into account

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Martin Vuille Path passed to libdw for unwinding doesn't include symfs path if specified, so unwinding fails because ELF file is not found. Similar to unwinding with libunwind, pass symsrc_filename instead of long_name. If there is no symsrc_filename, fallback to

[PATCH] h8300: remove extranous __BIG_ENDIAN definition

2018-03-13 Thread Arnd Bergmann
A bugfix I did earlier caused a build regression on h8300, which defines the __BIG_ENDIAN macro in a slightly different way than the generic code: arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined We don't need to define it here, as the same macro is already provided by

[PATCH] media: cxd2880-spi: avoid out-of-bounds access warning

2018-03-13 Thread Arnd Bergmann
The -Warray-bounds warning in gcc-8 triggers for a newly added file: drivers/media/spi/cxd2880-spi.c: In function 'cxd2880_write_reg': drivers/media/spi/cxd2880-spi.c:111:3: error: 'memcpy' forming offset [133, 258] is out of the bounds [0, 132] of object 'send_data' with type 'u8[132]' {aka

[PATCH 22/31] perf stat: Fix core dump when flag T is used

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Executing command 'perf stat -T -- ls' dumps core on x86 and s390. Here is the call back chain (done on x86): # gdb ./perf (gdb) r stat -T -- ls ... Program received signal SIGSEGV, Segmentation fault. 0x756d1963 in vasprintf ()

[PATCH 27/31] perf top: Fix top.call-graph config option reading

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Yisheng Xie When trying to add the "call-graph" variable for top into the .perfconfig file, like: [top] call-graph = fp I that perf_top_config() do not parse this variable. Fix it by calling perf_default_config() when the top.call-graph variable

Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible

2018-03-13 Thread Ming Lei
On Tue, Mar 13, 2018 at 09:38:41AM +0200, Artem Bityutskiy wrote: > On Tue, 2018-03-13 at 11:11 +0800, Dou Liyang wrote: > > I also > > met the situation that BIOS told to ACPI that it could support > > physical > > CPUs hotplug, But actually, there was no hardware slots in the > > machine. > >

Re: [PATCH V4] thermal: Add cooling device's statistics in sysfs

2018-03-13 Thread Viresh Kumar
On 13-03-18, 15:02, Zhang Rui wrote: > Hi, Viresh, > > I will queue it for 4.17, with just one minor fix below. > > On 二, 2018-01-16 at 15:22 +0530, Viresh Kumar wrote: > > + cdev->stats = stats; > > + stats->last_time = ktime_get(); > > + stats->max_states = states; > > + cdev->stats =

[PATCH V2] Input: pm8941-pwrkey: add resin key capabilities

2018-03-13 Thread Tirupathi Reddy
Add resin key support to handle different types of key events defined in different platforms. Signed-off-by: Tirupathi Reddy --- .../bindings/input/qcom,pm8941-pwrkey.txt | 20 ++- drivers/input/misc/pm8941-pwrkey.c | 65

[PATCH] clk: Add driver for the si544 clock generator chip

2018-03-13 Thread Mike Looijmans
This patch adds the driver and devicetree documentation for the Silicon Labs SI544 clock generator chip. This is an I2C controlled oscillator capable of generating clock signals ranging from 200kHz to 1500MHz. Signed-off-by: Mike Looijmans ---

Re: Atheros 1525/QCA6174 BT issue

2018-03-13 Thread Takashi Iwai
On Tue, 13 Mar 2018 09:38:30 +0100, Marcel Holtmann wrote: > > Hi Takashi, > > >> we've got a but report about the broken Atheros BT on the recent > >> kernels: > >> http://bugzilla.opensuse.org/show_bug.cgi?id=1082504 > >> > >> In short, btusb can't load the patch

Re: [PATCH 1/2] infiniband: qplib_fp: fix pointer cast

2018-03-13 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 11:12 AM, Arnd Bergmann wrote: > On Wed, Mar 7, 2018 at 10:05 AM, Arnd Bergmann wrote: > >> A small complication is that I wrote the changelog for the build warning >> on 32-bit architectures, which is more elaborate. kernelci.org for >> some

Re: [tip:locking/core 9/11] include/asm-generic/atomic-instrumented.h:288:24: sparse: cast truncates bits from constant value (100 becomes 0)

2018-03-13 Thread Dmitry Vyukov
On Mon, Mar 12, 2018 at 6:17 PM, Dmitry Vyukov wrote: > On Mon, Mar 12, 2018 at 5:52 PM, kbuild test robot > wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git >> locking/core >> head:

[PATCH 03/11] RISC-V: Support GOT_HI20/CALL_PLT relocation type in kernel module

2018-03-13 Thread Zong Li
For CALL_PLT, emit the plt entry only when offset is more than 32-bit. For PCREL_LO12, it uses the location of corresponding HI20 to get the address of external symbol. It should check the HI20 type is the PCREL_HI20 or GOT_HI20, because sometime the location will have two or more relocation

[PATCH 06/11] RISC-V: Support RVC_BRANCH/JUMP relocation type in kernel modulewq

2018-03-13 Thread Zong Li
Signed-off-by: Zong Li --- arch/riscv/kernel/module.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/riscv/kernel/module.c b/arch/riscv/kernel/module.c index 654fe7dcd38d..e23c051dfc62 100644 --- a/arch/riscv/kernel/module.c +++

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-13 Thread Greg Kroah-Hartman
On Mon, Mar 12, 2018 at 10:22:00AM -0700, Alexei Starovoitov wrote: > On 3/10/18 7:34 AM, Luis R. Rodriguez wrote: > > Also, > > > > Alexei you never answered my questions out aliases with the umh modules. > > Long term this important to consider. > > aliases always felt like a crutch to me. > I

[PATCH 07/11] RISC-V: Support ALIGN relocation type in kernel module

2018-03-13 Thread Zong Li
Just ignore align type. The nop instructions cannot be removed in kernel module. Kernel modules is not doing relax. Signed-off-by: Zong Li --- arch/riscv/kernel/module.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/kernel/module.c

[PATCH 05/11] RISC-V: Support HI20/LO12_I/LO12_S relocation type in kernel module

2018-03-13 Thread Zong Li
HI20 and LO12_I/LO12_S relocate the absolute address, the range of offset must in 32-bit. Signed-off-by: Zong Li --- arch/riscv/kernel/module.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/arch/riscv/kernel/module.c

Re: [PATCH v3 05/11] clk: tegra: prepare dfll driver for PWM regulator

2018-03-13 Thread Peter De Schrijver
On Mon, Mar 12, 2018 at 11:08:51AM +, Jon Hunter wrote: > > On 12/03/18 09:14, Peter De Schrijver wrote: > > On Thu, Mar 08, 2018 at 10:50:06PM +, Jon Hunter wrote: > >> > >> On 06/02/18 16:34, Peter De Schrijver wrote: > >>> This patch prepares the dfll driver to work with PWM

Re: [PATCHv2 2/2] zram: drop max_zpage_size and use zs_huge_class_size()

2018-03-13 Thread Minchan Kim
Hi Sergey, Sorry for being late. I love this patchset! Just a minor below. On Tue, Mar 06, 2018 at 04:06:39PM +0900, Sergey Senozhatsky wrote: > This patch removes ZRAM's enforced "huge object" value and uses > zsmalloc huge-class watermark instead, which makes more sense. > > TEST > - I used a

[PATCH v3 05/11] kconfig: tests: test if new symbols in choice are asked

2018-03-13 Thread Masahiro Yamada
If new choice values are added with new dependency, and they become visible during user configuration, oldconfig should recognize them as (NEW), and ask the user for choice. This issue was fixed by commit 5d09598d488f ("kconfig: fix new choices being skipped upon config update"). This is a

[PATCH v3 02/11] kconfig: tests: add framework for Kconfig unit testing

2018-03-13 Thread Masahiro Yamada
Many parts in Kconfig are so cryptic and need refactoring. However, its complexity prevents us from moving forward. There are several naive corner cases where it is difficult to notice breakage. If those are covered by unit tests, we will be able to touch the code with more confidence. Here is

[PATCH v3 07/11] kconfig: tests: check visibility of tristate choice values in y choice

2018-03-13 Thread Masahiro Yamada
If tristate choice values depend on symbols set to 'm', they should be hidden when the choice containing them is changed from 'm' to 'y' (i.e. exclusive choice). This issue was fixed by commit fa64e5f6a35e ("kconfig/symbol.c: handle choice_values that depend on 'm' symbols"). Add a test case to

[PATCH v3 03/11] kconfig: tests: add basic choice tests

2018-03-13 Thread Masahiro Yamada
The calculation of 'choice' is a bit complicated part in Kconfig. The behavior of 'y' choice is intuitive. If choice values are tristate, the choice can be 'm' where each value can be enabled independently. Also, if a choice is marked as 'optional', the whole choice can be invisible. Test basic

[PATCH v3 08/11] kconfig: tests: test defconfig when two choices interact

2018-03-13 Thread Masahiro Yamada
Commit fbe98bb9ed3d ("kconfig: Fix defconfig when one choice menu selects options that another choice menu depends on") fixed defconfig when two choices interact (i.e. calculating the visibility of a choice requires to calculate another choice). The test code in that commit log was based on the

Re: [PATCH v3 09/11] cpufreq: tegra124-cpufreq: extend to support Tegra210

2018-03-13 Thread Peter De Schrijver
On Mon, Mar 12, 2018 at 10:14:17AM +, Jon Hunter wrote: > > On 09/03/18 08:14, Peter De Schrijver wrote: > > On Thu, Mar 08, 2018 at 11:25:04PM +, Jon Hunter wrote: > >> > >> On 06/02/18 16:34, Peter De Schrijver wrote: > >>> Tegra210 has a very similar CPU clocking scheme than Tegra124.

Re: [PATCHv3 0/8] hw_breakpoint: Breakpoint modification fixes and new modify ioctl

2018-03-13 Thread Jiri Olsa
On Tue, Mar 13, 2018 at 07:37:47AM +0100, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > Jiri Olsa (7): > > hw_breakpoint: Pass bp_type directly as find_slot_idx argument > > hw_breakpoint: Pass bp_type argument to > > __reserve_bp_slot|__release_bp_slot > >

Re: [PATCH 2/3] drm/meson: Use drm_dev_put() instead of drm_dev_unref()

2018-03-13 Thread Neil Armstrong
On 12/03/2018 21:15, Christophe JAILLET wrote: > According to 'drivers/gpu/drm/drm_drv.c', 'drm_dev_unref()' is just a > compatibility alias for 'drm_dev_put()'. So use the latter instead. > > Signed-off-by: Christophe JAILLET > --- >

[PATCH] ACPI / PM: Reduce LPI constraints logging noise

2018-03-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If a device referred to by ACPI LPI constrains (coming from function 1 of the Low Power S0 Idle _DSM interface) is not power-manageable via ACPI (no _PS0 method and no power resources), the code generating diagnostic information for the LPI

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 3:10 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: >> The lists managing the device-links can be traversed to >> find the link between two devices. The device_link_add() APIs >> does traverse these lists to

RE: [PATCH 2/3] bus: fsl-mc: add root dprc rescan attribute

2018-03-13 Thread Ioana Ciornei
> > Introduce the rescan attribute as a device attribute to synchronize > > the fsl-mc bus objects and the MC firmware. > > > > To rescan the root dprc only, e.g. > > echo 1 > /sys/bus/fsl-mc/devices/dprc.1/rescan > > > > Signed-off-by: Ioana Ciornei > > --- > >

[PATCH] staging: wilc1000: replace switch statement by simple if condition

2018-03-13 Thread hariprasath . elango
From: HariPrasath Elango In this case,there is only a single switch case statement.So replacing by a simple if condition. Signed-off-by: HariPrasath Elango --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 +--- 1 file

Re: [RFCv4,19/21] media: vim2m: add request support

2018-03-13 Thread Alexandre Courbot
On Fri, Mar 9, 2018 at 11:35 PM, Paul Kocialkowski wrote: > Hi, > > On Thu, 2018-03-08 at 22:48 +0900, Alexandre Courbot wrote: >> Hi Paul! >> >> Thanks a lot for taking the time to try this! I am also working on >> getting it to work with an actual driver, but you

Re: [PATCH v5 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-03-13 Thread Sudeep Holla
On 12/03/18 23:05, Jolly Shah wrote: > [...] >> >> OK, what are the types you are referring here ? or why PSCI is not >> sufficient ? >> How do you plan to use these APIs in Linux ? > > It supports system/subsystem restart as types. For example, only APU > restart, system restart, PS

Re: [PATCHv2 2/2] zram: drop max_zpage_size and use zs_huge_class_size()

2018-03-13 Thread Sergey Senozhatsky
Hello Minchan, On (03/13/18 18:02), Minchan Kim wrote: > Sorry for being late. > I love this patchset! Just a minor below. :) [..] > > + if (!huge_class_size) > > + huge_class_size = zs_huge_class_size(); > > If it is static, we can do this in zram_init? I believe it's more

Re: Regression from efi: call get_event_log before ExitBootServices

2018-03-13 Thread Ard Biesheuvel
On 13 March 2018 at 10:23, Thiebaud Weksteen wrote: > On Tue, Mar 13, 2018 at 8:59 AM Ard Biesheuvel > wrote: > >> On 13 March 2018 at 07:47, Hans de Goede wrote: ... >> > Could the problem perhaps be that the new code for the

Re: [PATCH v2] usb: core: introduce per-port over-current counters

2018-03-13 Thread Richard Leitner
Hi Greg, On 03/09/2018 06:19 PM, Greg KH wrote: >> diff --git a/Documentation/ABI/testing/sysfs-bus-usb >> b/Documentation/ABI/testing/sysfs-bus-usb >> index 0bd731cbb50c..27020293c85b 100644 >> --- a/Documentation/ABI/testing/sysfs-bus-usb >> +++ b/Documentation/ABI/testing/sysfs-bus-usb >> @@

[PATCH][next] lib: make function test_ubsan_misaligned_access static

2018-03-13 Thread Colin King
From: Colin Ian King The function test_ubsan_misaligned_access is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: lib/test_ubsan.c:91:6: warning: symbol 'test_ubsan_misaligned_access' was not declared. Should it

[PATCH 4/5] MODSIGN: checking the blacklisted hash before loading a kernel module

2018-03-13 Thread Lee, Chun-Yi
This patch adds the logic for checking the kernel module's hash base on blacklist. The hash must be generated by sha256 and enrolled to dbx/mokx. For example: sha256sum sample.ko mokutil --mokx --import-hash $HASH_RESULT Whether the signature on ko file is stripped or not, the

[PATCH 2/5] MODSIGN: print appropriate status message when getting UEFI certificates list

2018-03-13 Thread Lee, Chun-Yi
When getting certificates list from UEFI variable, the original error message shows the state number from UEFI firmware. It's hard to be read by human. This patch changed the error message to show the appropriate string. The message will be showed as: [0.788529] MODSIGN: Couldn't get UEFI

Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9

2018-03-13 Thread Greg KH
On Tue, Mar 13, 2018 at 10:13:26AM +, Ard Biesheuvel wrote: > On 13 March 2018 at 10:04, Greg KH wrote: > > On Wed, Mar 07, 2018 at 06:24:09PM +, Ard Biesheuvel wrote: > >> On 2 March 2018 at 16:54, Greg KH wrote: > >> > On Fri, Mar 02, 2018 at 05:14:50PM

[PATCH 3/5] MODSIGN: load blacklist from MOKx

2018-03-13 Thread Lee, Chun-Yi
This patch adds the logic to load the blacklisted hash and certificates from MOKx which is maintained by shim bootloader. Cc: David Howells Cc: Josh Boyer Cc: James Bottomley Signed-off-by: "Lee, Chun-Yi"

[PATCH 5/5] MODSIGN: check the attributes of db and mok

2018-03-13 Thread Lee, Chun-Yi
That's better for checking the attributes of db and mok variables before loading certificates to kernel keyring. For db and dbx, both of them are authenticated variables. Which means that they can only be modified by manufacturer's key. So the kernel should checks

Re: [PATCH V3] nvme-pci: assign separate irq vectors for adminq and ioq1

2018-03-13 Thread Ming Lei
On Tue, Mar 13, 2018 at 05:58:08PM +0800, Jianchao Wang wrote: > Currently, adminq and ioq1 share the same irq vector which is set > affinity to cpu0. If a system allows cpu0 to be offlined, the adminq > will not be able work any more. > > To fix this, assign separate irq vectors for adminq and

Re: linux-next: manual merge of the net-next tree with the net tree

2018-03-13 Thread Petr Machata
Stephen Rothwell writes: > Today's linux-next merge of the net-next tree got conflicts in: > > drivers/net/ethernet/mellanox/mlxsw/spectrum.h > drivers/net/ethernet/mellanox/mlxsw/spectrum.c > > between commit: > > 663f1b26f9c1 ("mlxsw: spectrum: Prevent duplicate

[PATCH][next] power: reset: make function sc27xx_poweroff_shutdown static

2018-03-13 Thread Colin King
From: Colin Ian King The function sc27xx_poweroff_shutdown is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: drivers/power/reset/sc27xx-poweroff.c:28:6: warning: symbol 'sc27xx_poweroff_shutdown' was not

Re: [PATCH v5 1/2] of: Documentation: Specify local APIC ID in "reg"

2018-03-13 Thread Mark Rutland
On Mon, Mar 12, 2018 at 03:21:48PM -0700, Ivan Gorinov wrote: > Set the "reg" property to the processor's local APIC ID. > Local APIC ID is assigned by hardware and may differ from CPU number. > > Signed-off-by: Ivan Gorinov > --- >

Please Reply

2018-03-13 Thread Gerald Johnson
Hello My name is Gerald Johnson, Operations manager UBS Investment bank London.Please contact me in my private email for a private business i want to do with you, it will also have a legal back up.This transaction will be covered up by me with my status here in the bank. I will give you a

Re: [PATCH] powerpc/powernv : Add support to enable sensor groups

2018-03-13 Thread Michael Ellerman
Shilpasri G Bhat writes: > On 12/04/2017 10:11 AM, Stewart Smith wrote: >> Shilpasri G Bhat writes: >>> On 11/28/2017 05:07 PM, Michael Ellerman wrote: Shilpasri G Bhat writes: > Adds

[PATCH] x86: i8237: Register based on FADT legacy boot flag

2018-03-13 Thread Rajneesh Bhardwaj
>From Skylake onwards, the platform controller hub (Sunrisepoint PCH) does not support legacy DMA operations to IO ports 81h-83h, 87h, 89h-8Bh, 8Fh. Currently this driver registers as syscore ops and its resume function is called on every resume from S3. On Skylake and Kabylake, this causes a

Re: [PATCHv2] staging: wilc1000: use pre-defined macro is_broadcast_ether_addr

2018-03-13 Thread Ajay Singh
On Tue, 13 Mar 2018 10:58:16 +0100 Greg Kroah-Hartman wrote: > On Tue, Mar 13, 2018 at 01:00:51PM +0530, Ajay Singh wrote: > > > > Reviewed-by: Ajay Singh > > > > On Mon, 12 Mar 2018 15:09:03 +0530 > >

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Tomasz Figa
On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam wrote: > Hi Tomasz, > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: >> Hi Vivek, >> >> Thanks for the patch. >> >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam >>

[PATCH v3 2/2] media: ov2680: Add Omnivision OV2680 sensor driver

2018-03-13 Thread Rui Miguel Silva
This patch adds V4L2 sub-device driver for OV2680 image sensor. The OV2680 is a 1/5" CMOS color sensor from Omnivision. Supports output format: 10-bit Raw RGB. The OV2680 has a single lane MIPI interface. The driver exposes following V4L2 controls: - auto/manual exposure, - exposure, -

[PATCH v3 1/2] media: ov2680: dt: Add bindings for OV2680

2018-03-13 Thread Rui Miguel Silva
Add device tree binding documentation for the OV2680 camera sensor. Reviewed-by: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Rui Miguel Silva --- .../devicetree/bindings/media/i2c/ov2680.txt | 40 ++ 1 file changed,

[PATCH 1/1] f2fs: release locks before return in f2fs_ioc_gc_range()

2018-03-13 Thread sunqiuyang
From: Qiuyang Sun Currently, we will leave the kernel with locks still held when the gc_range is invalid. This patch fixes the bug. Signed-off-by: Qiuyang Sun --- fs/f2fs/file.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[PATCH] platform/x86: dell-smbios: fix DCDBAS dependency, better

2018-03-13 Thread Arnd Bergmann
The rework of the dell laptop modules caused a link error: drivers/platform/x86/dell-smbios-smm.o: In function `dell_smbios_smm_call': dell-smbios-smm.c:(.text+0x77): undefined reference to `dcdbas_smi_request' We already have a fix for that, but this was only a partial solution, since

Re: [PATCH v1 1/1] mm/ksm: fix interaction with THP

2018-03-13 Thread Claudio Imbrenda
On Mon, 12 Mar 2018 14:22:10 -0700 Andrew Morton wrote: > On Mon, 12 Mar 2018 17:42:17 +0100 Claudio Imbrenda > wrote: > > > This patch fixes a corner case for KSM. When two pages belong or > > belonged to the same transparent hugepage,

[GIT PULL 00/31] perf/core improvements and fixes

2018-03-13 Thread Arnaldo Carvalho de Melo
at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.17-20180313 for you to fetch changes up to 1b442ed71f0b32d07db03efba150d4592875f988: perf test: Fix exit code for record+probe_libc_inet_pton.sh (2018-03-12 15:25:20 -0300

Re: [PATCH 3/5] arm64: dts: allwinner: a64: add simplefb for A64 SoC

2018-03-13 Thread Maxime Ripard
On Mon, Mar 12, 2018 at 04:10:48PM +, Harald Geyer wrote: > The A64 SoC features two display pipelines, one has a LCD output, the > other has a HDMI output. > > Add support for simplefb for the LCD output. Tested on Teres I. > > This patch was inspired by work of Icenowy Zheng. > >

Re: [pci PATCH v5 3/4] ena: Migrate over to unmanaged SR-IOV support

2018-03-13 Thread David Woodhouse
On Tue, 2018-03-13 at 09:16 +0100, Christoph Hellwig wrote: > On Tue, Mar 13, 2018 at 08:12:52AM +, David Woodhouse wrote: > > > > I'd also *really* like to see a way to enable this for PFs which don't > > have (and don't need) a driver. We seem to have lost that along the > > way. > We've

Re: [PATCH v2 04/10] video: add support of panel OTM8009A

2018-03-13 Thread Patrice CHOTARD
Hi Yannick On 03/02/2018 04:44 PM, yannick fertre wrote: > Support for Orise Tech otm8009a 480p dsi 2dl video mode panel. > > Signed-off-by: yannick fertre > --- > drivers/video/Kconfig | 8 + > drivers/video/Makefile | 1 + >

[PATCH] clk: clk-gpio: Allow GPIO to sleep in set/get_parent

2018-03-13 Thread Mike Looijmans
When changing or retrieving clock parents, the caller is in a sleepable state (like prepare) so the GPIO operation need not be atomic. Replace gpiod_{g|s}et_value with gpiod_{g|s}et_value_cansleep in the {g|s}et_parent calls for the GPIO based clock mux. This fixes a "slowpath" warning when the

Re: [PATCH] scsi: eata: drop VLA in reorder()

2018-03-13 Thread Christoph Hellwig
On Mon, Mar 12, 2018 at 10:35:36PM -0400, Martin K. Petersen wrote: > No objections to Salvatore's patch but I have a slight affinity for > retiring unused code over patching it. So unless there are objections... Lets kill it. And the not DMA capable eata_pio driver with it for good riddance. >

Re: [PATCH 0/3] Fix some error handling paths in 'meson_drv_bind_master()'

2018-03-13 Thread Neil Armstrong
On 12/03/2018 21:15, Christophe JAILLET wrote: > Patch 1 and 3 are fixes. > Patch 2 is just a kind of clean-up noticed while patching this driver. > > If patch 2 is considered as useless, patch 3 can be applied on top of > patch 1, it does nor depend on the 2nd patch. > > Christophe JAILLET

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 9:55:30 AM CET Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two devices. > So, add a new

RE: [PATCH 1/3] bus: fsl-mc: add restool userspace support

2018-03-13 Thread Ioana Ciornei
Hi, Comments inline. > > Adding kernel support for restool, a userspace tool for resource > > management, means exporting an ioctl capable device file representing > > the root resource container. > > This new functionality in the fsl-mc bus driver intends to provide > > restool an interface to

[PATCH V3] nvme-pci: assign separate irq vectors for adminq and ioq1

2018-03-13 Thread Jianchao Wang
Currently, adminq and ioq1 share the same irq vector which is set affinity to cpu0. If a system allows cpu0 to be offlined, the adminq will not be able work any more. To fix this, assign separate irq vectors for adminq and ioq1. Set .pre_vectors == 1 when allocate irq vectors, then assign the

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-13 Thread Vivek Gautam
On Tue, Mar 13, 2018 at 2:25 PM, Vivek Gautam wrote: > The lists managing the device-links can be traversed to > find the link between two devices. The device_link_add() APIs > does traverse these lists to check if there's already a link > setup between the two

[PATCH v4 1/2] kconfig: warn unmet direct dependency of tristate symbols selected by y

2018-03-13 Thread Masahiro Yamada
Commit 246cf9c26bf1 ("kbuild: Warn on selecting symbols with unmet direct dependencies") forcibly promoted ->dir_dep.tri to yes from mod. So, the unmet direct dependencies of tristate symbols are not reported. [Test Case] config MODULES def_bool y option modules config A

Re: Regression from efi: call get_event_log before ExitBootServices

2018-03-13 Thread Thiebaud Weksteen
On Tue, Mar 13, 2018 at 8:59 AM Ard Biesheuvel wrote: > On 13 March 2018 at 07:47, Hans de Goede wrote: > > Hi, > > > > > > On 12-03-18 20:55, Thiebaud Weksteen wrote: > >> > ... > >> > >> Hans, you said you configured the tablet to use the 32-bit

[PATCH v1 2/2] usb: dwc3: Add Qualcomm DWC3 glue driver

2018-03-13 Thread Manu Gautam
DWC3 controller on Qualcomm SOCs has a Qscratch wrapper. Some of its uses are described below resulting in need to have a separate glue driver instead of using dwc3-of-simple: - It exposes register interface to override vbus-override and lane0-pwr-present signals going to hardware. These

[PATCH 0/5 v2] Using the hash in MOKx to blacklist kernel module

2018-03-13 Thread Lee, Chun-Yi
This patch set is base on the efi-lock-down and keys-uefi branchs in David Howells's linux-fs git tree. https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-uefi The main purpose is using the MOKx to blacklist kernel module. As the MOK (Machine Owner Key), MOKx

[PATCH 2/5] MODSIGN: print appropriate status message when getting UEFI certificates list

2018-03-13 Thread Lee, Chun-Yi
When getting certificates list from UEFI variable, the original error message shows the state number from UEFI firmware. It's hard to be read by human. This patch changed the error message to show the appropriate string. The message will be showed as: [0.788529] MODSIGN: Couldn't get UEFI

[PATCH 1/5] MODSIGN: do not load mok when secure boot disabled

2018-03-13 Thread Lee, Chun-Yi
The mok can not be trusted when the secure boot is disabled. Which means that the kernel embedded certificate is the only trusted key. Due to db/dbx are authenticated variables, they needs manufacturer's KEK for update. So db/dbx are secure when secureboot disabled. Cc: David Howells

Re: [PATCH ghak21 V2 3/4] audit: add refused symlink to audit_names

2018-03-13 Thread Steve Grubb
On Tue, 13 Mar 2018 06:11:08 -0400 Richard Guy Briggs wrote: > On 2018-03-13 09:35, Steve Grubb wrote: > > On Mon, 12 Mar 2018 11:52:56 -0400 > > Richard Guy Briggs wrote: > > > > > On 2018-03-12 11:53, Paul Moore wrote: > > > > On Mon, Mar 12, 2018 at

[PATCH] perf trace: __print_array should print hex format instead of dec

2018-03-13 Thread changbin . du
From: Changbin Du The token '__print_array' is to print the array in hex format, but not decimal numbers. The implementation of __print_array in kernel side is: __print_array()->trace_print_array_seq() This patch align the perf's behavior with kernel so we have a

Re: [PATCH] EDAC, sb_edac: Remove VLA usage

2018-03-13 Thread Borislav Petkov
On Mon, Mar 12, 2018 at 05:52:13PM -0500, Gustavo A. R. Silva wrote: > Do you mean just adding a code comment? No, I mean #define MAX_INTERLEAVE (max_t(unsigned int, ARRAY_SIZE(knl_interleave_list), ... which computes the max of all three array sizes. Thx. -- Regards/Gruss, Boris. Good

Re: [PATCH] clk: mvebu: cp110: Fix clock tree representation

2018-03-13 Thread Gregory CLEMENT
Hi, On mer., févr. 28 2018, Gregory CLEMENT wrote: > Thanks to new documentation, we have a better view of the clock tree. > There were few mistakes in the first version of this driver, the main one > being the parental link between the clocks. Actually the tree

RE: [PATCH] scsi: resolve COMMAND_SIZE at compile time

2018-03-13 Thread David Laight
From: Stephen Kitt > Sent: 09 March 2018 22:34 > > COMMAND_SIZE currently uses an array of values in block/scsi_ioctl.c. > A number of device_handler functions use this to initialise arrays, > and this is flagged by -Wvla. > > This patch replaces COMMAND_SIZE with a variant using a formula which

[PATCH v3 0/2] media: Introduce Omnivision OV2680 driver

2018-03-13 Thread Rui Miguel Silva
Add driver and bindings for the OV2680 2 megapixel CMOS 1/5" sensor, which has a single MIPI lane interface and output format of 10-bit Raw RGB. Features supported are described in PATCH 2/2. v2->v3: Rob Herring: - add Reviewed-by tag to dts PATCH 1/1 Sakari Ailus: - align register

[PATCH 2/2] cpufreq: scmi: add thermal dependency

2018-03-13 Thread Arnd Bergmann
A built-in scmi cpufreq driver cannot link against a modular thermal framework: drivers/cpufreq/scmi-cpufreq.o: In function `scmi_cpufreq_ready': scmi-cpufreq.c:(.text+0x40): undefined reference to `of_cpufreq_cooling_register' drivers/cpufreq/scmi-cpufreq.o: In function `scmi_cpufreq_exit':

[PATCH 1/2] cpufreq: scpi: add thermal dependency

2018-03-13 Thread Arnd Bergmann
A built-in scpi cpufreq driver cannot link against a modular thermal framework: drivers/cpufreq/scpi-cpufreq.o: In function `scpi_cpufreq_ready': scpi-cpufreq.c:(.text+0x4c): undefined reference to `of_cpufreq_cooling_register' drivers/cpufreq/scpi-cpufreq.o: In function `scpi_cpufreq_exit':

Re: [alsa-devel] [PATCH v4 15/24] ASoC: qdsp6: q6core: Add q6core driver

2018-03-13 Thread Rohit Kumar
On 3/10/2018 7:54 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla [..] +static int q6core_get_svc_versions(struct q6core *core) +{ + struct apr_device *adev = core->adev; + struct apr_hdr hdr = {0}; + int rc; + +

Re: linux-next: build warning after merge of the net-next tree

2018-03-13 Thread Gustavo A. R. Silva
Hi Stephen, On 03/13/2018 01:11 AM, Stephen Rothwell wrote: Hi all, After merging the net-next tree, today's linux-next build (sparc defconfig) produced this warning: net/core/pktgen.c: In function 'pktgen_if_write': net/core/pktgen.c:1710:1: warning: the frame size of 1048 bytes is larger

[PATCH 31/31] perf test: Fix exit code for record+probe_libc_inet_pton.sh

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Sandipan Das This fixes record+probe_libc_inet_pton.sh from always exiting with code 0 and making the test pass even if the perf script output does not match the expected pattern. The issue can be observed if this test is run with the verbose flags as shown

[PATCH] 40iw: include linux/irq.h

2018-03-13 Thread Arnd Bergmann
We get a build failure on ARM unless the header is included explicitly: drivers/infiniband/hw/i40iw/i40iw_verbs.c: In function 'i40iw_get_vector_affinity': drivers/infiniband/hw/i40iw/i40iw_verbs.c:2747:9: error: implicit declaration of function 'irq_get_affinity_mask'; did you mean

[PATCH 19/31] perf vendor events arm64: Fixup ThunderX2 to use recommended events

2018-03-13 Thread Arnaldo Carvalho de Melo
From: John Garry This patch fixes the Cavium ThunderX2 JSON to use event definitions from the ARMv8 recommended events. Signed-off-by: John Garry Tested-by: Ganapatrao Kulkarni Cc: Alexander Shishkin

[PATCH 29/31] perf stat: Make function perf_stat_evsel_id_init static

2018-03-13 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Function perf_stat_evsel_id_init() has global linkage but is only used in util/stat.c. Make it static. Signed-off-by: Thomas Richter Cc: Heiko Carstens Cc: Hendrik Brueckner

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