[PATCH v2 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Igor Opaniuk
Add support of cancellation request to the TEE kernel internal client interface. Can be used by software TPM drivers, that leverage TEE under the hood (for instance TPM2.0 mobile profile), for requesting cancellation of time-consuming operations (RSA key-pair generation etc.). Signed-off-by: Igor

Re: [PATCH] x86/kvm/hyper-v: tweak HYPERV_CPUID_ENLIGHTMENT_INFO

2019-01-24 Thread Liran Alon
> On 24 Jan 2019, at 19:15, Vitaly Kuznetsov wrote: > > We shouldn't probably be suggesting using Enlightened VMCS when it's not > enabled (not supported from guest's point of view). System reset through > synthetic MSR is not recommended neither by genuine Hyper-V nor my QEMU. > > Windows

Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Moritz Fischer
Hi Colin, sorry dropped of my radar. On Thu, Jan 24, 2019 at 9:17 AM Alan Tull wrote: > > On Thu, Nov 29, 2018 at 5:10 PM Colin King wrote: > > Hi Colin, > > Thanks! > > > > > From: Colin Ian King > > > > Don't populate the const array dummy on the stack but instead > > make it static. Makes

Re: [PATCH] drm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON

2019-01-24 Thread Colin Ian King
ping? On 25/11/2018 17:09, Colin King wrote: > From: Colin Ian King > > Currently, the expression for calculating RON is always going to result > in zero no matter the value of ram->mr[1] because the ! operator has > higher precedence than the shift >> operator. I believe the missing >

Re: [alsa-devel] [PATCH][next] ASoC: Intel: bytcht_es8316: make mic_name static, reduces object code size

2019-01-24 Thread Colin Ian King
On 24/01/2019 17:27, Pierre-Louis Bossart wrote: > >> diff --git a/sound/soc/intel/boards/bytcht_es8316.c >> b/sound/soc/intel/boards/bytcht_es8316.c >> index fa9c4cf97686..1364e4e601d8 100644 >> --- a/sound/soc/intel/boards/bytcht_es8316.c >> +++ b/sound/soc/intel/boards/bytcht_es8316.c >> @@

Re: [PATCH] cpufreq: e_powersaver: Use struct_size() in kzalloc()

2019-01-24 Thread Gustavo A. R. Silva
On 1/24/19 4:34 AM, Rafael J. Wysocki wrote: > On Tuesday, January 8, 2019 6:00:56 AM CET Viresh Kumar wrote: >> On 07-01-19, 11:33, Gustavo A. R. Silva wrote: >>> One of the more common cases of allocation size calculations is finding the >>> size of a structure that has a zero-sized array at

Re: [PATCH 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Igor Opaniuk
right, missed that. Thanks! Addressed this issue + also fixed the description and sent v2. On Thu, 24 Jan 2019 at 18:19, Jens Wiklander wrote: > > On Thu, Jan 24, 2019 at 2:11 PM Igor Opaniuk wrote: > > > > Add support of cancellation request to the TEE kernel internal > > client interface. Can

Re: [PATCH v5 1/4] acpi: arm64: add iort support for PMCG

2019-01-24 Thread Robin Murphy
On 30/11/2018 15:47, Shameer Kolothum wrote: From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil Leeder Signed-off-by: Hanjun Guo Signed-off-by: Shameer Kolothum

Re: [PATCH] drm/nouveau/pmu: don't print reply values if exec is false

2019-01-24 Thread Colin Ian King
ping? On 19/12/2018 15:29, Colin King wrote: > From: Colin Ian King > > Currently the uninitialized values in the array reply are printed out > when exec is false and nvkm_pmu_send has not updated the array. Avoid > confusion by only dumping out these values if they have been actually >

Re: [alsa-devel] [PATCH][next] ASoC: Intel: bytcht_es8316: make mic_name static, reduces object code size

2019-01-24 Thread Pierre-Louis Bossart
diff --git a/sound/soc/intel/boards/bytcht_es8316.c b/sound/soc/intel/boards/bytcht_es8316.c index fa9c4cf97686..1364e4e601d8 100644 --- a/sound/soc/intel/boards/bytcht_es8316.c +++ b/sound/soc/intel/boards/bytcht_es8316.c @@ -437,7 +437,7 @@ static const struct acpi_gpio_mapping

Re: [PATCH v14 02/12] powerpc/irq: use memblock functions returning virtual address

2019-01-24 Thread Mike Rapoport
On Thu, Jan 24, 2019 at 04:51:53PM +, Mark Rutland wrote: > On Thu, Jan 24, 2019 at 04:19:33PM +, Christophe Leroy wrote: > > Since only the virtual address of allocated blocks is used, > > lets use functions returning directly virtual address. > > > > Those functions have the advantage

Re: [PATCH] drm/nouveau/bios/dp: make array vsoff static, shrinks object size

2019-01-24 Thread Colin Ian King
ping? On 04/09/2018 16:23, Colin King wrote: > From: Colin Ian King > > Don't populate the array vsoff on the stack but instead make it > static. Makes the object code smaller by 67 bytes: > > Before: >text data bss dec hex filename >5753 112 0

Re: [PATCH] Add Cyclone-10 support to altera-ps-spi.c.

2019-01-24 Thread Moritz Fischer
Hi Dick, On Fri, Jan 18, 2019 at 03:41:04PM -0600, Dick Hollenbeck wrote: > Add Cyclone-10 support to altera-ps-spi.c. > Invert logic involving nCONFIG, nSTATUS, and CONFIG_DONE so it matches > datasheets > by going with GPIO_ACTIVE_HIGH instead of GPIO_ACTIVE_LOW in the device > tree. Add

[PATCH] Bluetooth: make hw_err static, reduces object code size

2019-01-24 Thread Colin King
From: Colin Ian King Don't populate the const array hw_err on the stack but instead make it static. Makes the object code smaller by 45 bytes: Before: textdata bss dec hex filename 100880 210901088 123058 1e0b2 linux/net/bluetooth/hci_core.o After: textdata

Re: [PATCH v14 07/12] powerpc: Activate CONFIG_THREAD_INFO_IN_TASK

2019-01-24 Thread Mark Rutland
On Thu, Jan 24, 2019 at 04:19:43PM +, Christophe Leroy wrote: > This patch activates CONFIG_THREAD_INFO_IN_TASK which > moves the thread_info into task_struct. > > Moving thread_info into task_struct has the following advantages: > - It protects thread_info from corruption in the case of

Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Alan Tull
On Thu, Nov 29, 2018 at 5:10 PM Colin King wrote: Hi Colin, Thanks! > > From: Colin Ian King > > Don't populate the const array dummy on the stack but instead > make it static. Makes the object code smaller by 26 bytes: > > Before: >textdata bss dec hex filename >7371

[PATCH] x86/kvm/hyper-v: tweak HYPERV_CPUID_ENLIGHTMENT_INFO

2019-01-24 Thread Vitaly Kuznetsov
We shouldn't probably be suggesting using Enlightened VMCS when it's not enabled (not supported from guest's point of view). System reset through synthetic MSR is not recommended neither by genuine Hyper-V nor my QEMU. Windows seems to be fine either way but let's be consistent. Fixes:

Re: [PATCH 6/8] power: reset: at91-reset: add support for sam9x60 SoC

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 24, 2019 at 10:34:50AM +, nicolas.fe...@microchip.com wrote: > Hi Sebastian, > > On 23/01/2019 at 19:34, Sebastian Reichel wrote: > > Hi, > > > > On Wed, Jan 16, 2019 at 10:57:42AM +0100, Nicolas Ferre wrote: > >> Add support for additional reset causes and the proper

Re: [GIT PULL] Ceph fixes for 5.0-rc4

2019-01-24 Thread pr-tracker-bot
The pull request you sent on Thu, 24 Jan 2019 16:49:58 +0100: > https://github.com/ceph/ceph-client.git tags/ceph-for-5.0-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/22a89a6b88e6db7328292491f564b54b13cc15fb Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] Inotify fix for v5.0-rc4

2019-01-24 Thread pr-tracker-bot
The pull request you sent on Thu, 24 Jan 2019 17:35:27 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git > fsnotify_for_v5.0-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c04e2a780caf7073c31c4289c4b7c3d62f9c0130 Thank you! --

Re: [GIT PULL] sound fixes for 5.0-rc4

2019-01-24 Thread pr-tracker-bot
The pull request you sent on Thu, 24 Jan 2019 10:13:07 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-5.0-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/aa7b98459f15bf45d0610c8acfa7929a8641864a Thank you! -- Deet-doot-dot,

Re: [PATCH V4] livepatch: non static warnings fix

2019-01-24 Thread Joe Lawrence
On 1/23/19 8:48 PM, Nicholas Mc Guire wrote: Sparse reported warnings about non-static symbols. For the variables a simple static attribute is fine - for the functions referenced by livepatch via klp_func the symbol-names must be unmodified in the symbol table and the patchable code has to be

[PATCH][next] ASoC: Intel: bytcht_es8316: make mic_name static, reduces object code size

2019-01-24 Thread Colin King
From: Colin Ian King Don't populate the const array mic_name on the stack but instead make it static. Makes the object code smaller by 28 bytes: Before: textdata bss dec hex filename 141078832 224 231635a7b bytcht_es8316.o After: textdata bss

Re: [PATCH 2/2] mm: Consider subtrees in memory.events

2019-01-24 Thread Michal Hocko
On Thu 24-01-19 11:00:10, Johannes Weiner wrote: [...] > We cannot fully eliminate a risk for regression, but it strikes me as > highly unlikely, given the extremely young age of cgroup2-based system > management and surrounding tooling. I am not really sure what you consider young but this

Re: [PATCH v14 05/12] powerpc: prep stack walkers for THREAD_INFO_IN_TASK

2019-01-24 Thread Mark Rutland
On Thu, Jan 24, 2019 at 04:19:39PM +, Christophe Leroy wrote: > [text copied from commit 9bbd4c56b0b6 > ("arm64: prep stack walkers for THREAD_INFO_IN_TASK")] > > When CONFIG_THREAD_INFO_IN_TASK is selected, task stacks may be freed > before a task is destroyed. To account for this, the

Re: [PATCH] mm: Move maxable seq_file logic into a single place

2019-01-24 Thread Chris Down
Johannes Weiner writes: I think this increases complexity more than it saves LOC, unfortunately. The current situation is a bit repetitive, but much more obviously correct. And we're not planning on adding many more of those memcg interface files, so I this doesn't seem to be an improvement re:

Re: [PATCH] HID: elan: Make array buf static, shrinks object size

2019-01-24 Thread Colin Ian King
ping? On 26/09/2018 09:41, Colin King wrote: > From: Colin Ian King > > Don't populate the array buf on the stack but instead make it > static. Makes the object code smaller by 43 bytes: > > Before: >text data bss dec hex filename >7769 1520 0

Re: GRSec is vital to Linux security

2019-01-24 Thread linuxgpletc
There is ample standing to sue. GRSec made it's "access agreement" public, which included terms to prevent redistribution (if you redistribute, we punish you). Which is a direct violation of the "no additional restrictive terms" clause in the GPL. Why won't anyone bring a copyright lawsuit?

Re: [ 1/1] scsi: qcom-ufs: Add support for bus voting using ICB framework

2019-01-24 Thread Evan Green
On Wed, Jan 23, 2019 at 11:02 PM Asutosh Das wrote: > > Adapt to the new ICB framework for bus bandwidth voting. > > This requires the source/destination port ids. > Also this requires a tuple of values. > > The tuple is for two different paths - from UFS master > to BIMC slave. The other is from

Re: [PATCH] staging: android: ion: Allocate from heap ID directly without mask

2019-01-24 Thread Brian Starkey
On Thu, Jan 24, 2019 at 10:12:10AM -0600, Andrew F. Davis wrote: > On 1/24/19 9:24 AM, Brian Starkey wrote: [snip] > > > > What do you think about renaming ion_allocation_data.unused to heap_id > > and adding a flag instead? It's adding cruft to a staging API, but it > > might soften the

Re: [PATCH v14 02/12] powerpc/irq: use memblock functions returning virtual address

2019-01-24 Thread Mark Rutland
On Thu, Jan 24, 2019 at 04:19:33PM +, Christophe Leroy wrote: > Since only the virtual address of allocated blocks is used, > lets use functions returning directly virtual address. > > Those functions have the advantage of also zeroing the block. > > Suggested-by: Mike Rapoport > Acked-by:

Re: [PATCH v3 6/7] arm64: dts: xilinx: ultra96: Standardize LED labels and triggers

2019-01-24 Thread Rob Herring
On Fri, Dec 21, 2018 at 12:51 AM Michal Simek wrote: > > On 21. 12. 18 3:37, Manivannan Sadhasivam wrote: > > On Mon, Oct 29, 2018 at 03:12:44PM +0530, Manivannan Sadhasivam wrote: > >> For all 96Boards, the following standard is used for onboard LEDs. > >> > >> green:user1 default-trigger:

Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Colin Ian King
ping? On 29/11/2018 23:10, Colin King wrote: > From: Colin Ian King > > Don't populate the const array dummy on the stack but instead > make it static. Makes the object code smaller by 26 bytes: > > Before: >text data bss dec hex filename >7371 2032

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-24 Thread Brian Starkey
On Thu, Jan 24, 2019 at 10:04:46AM -0600, Andrew F. Davis wrote: > On 1/23/19 11:11 AM, Brian Starkey wrote: [snip] > > I'm very new to all this, so any pointers to history in this area are > appreciated. > [snip] > > > In case you didn't come across it already, the effort which seems to >

[PATCH v14 03/12] book3s/64: avoid circular header inclusion in mmu-hash.h

2019-01-24 Thread Christophe Leroy
When activating CONFIG_THREAD_INFO_IN_TASK, linux/sched.h includes asm/current.h. This generates a circular dependency. To avoid that, asm/processor.h shall not be included in mmu-hash.h In order to do that, this patch moves into a new header called asm/task_size_user64.h the information from

Re: GRSec is vital to Linux security -- SFConservancy = legal malpractice. Use own lawyer.

2019-01-24 Thread linuxgpletc
One note: If you are going to defend your copyrights and the idea of the GPL, do not rely on the "free software legal groups". The "free software legal groups" exist only to commit legal malpractice. The guy who ran the SFConservancy (Bradly Kuhn IIRC) isn't even a lawyer. He advises

[PATCH v14 04/12] powerpc: Only use task_struct 'cpu' field on SMP

2019-01-24 Thread Christophe Leroy
When moving to CONFIG_THREAD_INFO_IN_TASK, the thread_info 'cpu' field gets moved into task_struct and only defined when CONFIG_SMP is set. This patch ensures that TI_CPU is only used when CONFIG_SMP is set and that task_struct 'cpu' field is not used directly out of SMP code. Signed-off-by:

[PATCH v14 12/12] powerpc: clean stack pointers naming

2019-01-24 Thread Christophe Leroy
Some stack pointers used to also be thread_info pointers and were called tp. Now that they are only stack pointers, rename them sp. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/irq.c | 17 +++-- arch/powerpc/kernel/setup_64.c | 11 +++ 2 files changed, 10

[PATCH v14 01/12] powerpc/32: Fix CONFIG_VIRT_CPU_ACCOUNTING_NATIVE for 40x/booke

2019-01-24 Thread Christophe Leroy
40x/booke have another path to reach 3f from transfer_to_handler, so ACCOUNT_CPU_USER_ENTRY() have to be moved there. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

[PATCH v14 05/12] powerpc: prep stack walkers for THREAD_INFO_IN_TASK

2019-01-24 Thread Christophe Leroy
[text copied from commit 9bbd4c56b0b6 ("arm64: prep stack walkers for THREAD_INFO_IN_TASK")] When CONFIG_THREAD_INFO_IN_TASK is selected, task stacks may be freed before a task is destroyed. To account for this, the stacks are refcounted, and when manipulating the stack of another task, it is

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Russell King - ARM Linux admin
On Thu, Jan 24, 2019 at 05:15:35PM +0100, Andrew Lunn wrote: > On Thu, Jan 24, 2019 at 04:07:41PM +, Russell King - ARM Linux admin > wrote: > > On Thu, Jan 24, 2019 at 04:51:37PM +0100, Andrew Lunn wrote: > > > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > > > Set

[PATCH v14 02/12] powerpc/irq: use memblock functions returning virtual address

2019-01-24 Thread Christophe Leroy
Since only the virtual address of allocated blocks is used, lets use functions returning directly virtual address. Those functions have the advantage of also zeroing the block. Suggested-by: Mike Rapoport Acked-by: Mike Rapoport Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/irq.c

Re: [PATCH v1] : Switch to use new generic UUID API

2019-01-24 Thread Andy Shevchenko
On Thu, Jan 24, 2019 at 4:36 PM Javier González wrote: > It is not pushed anywhere yet, but I have been working on a tool to make > a pblk recovery tool to enable FTL repairs if something fails in the > kernel recovery path. Here, I use this uuid to identify the > instance - is there a way to

Re: [PATCH 1/1] tee: add cancellation support to client interface

2019-01-24 Thread Jens Wiklander
On Thu, Jan 24, 2019 at 2:11 PM Igor Opaniuk wrote: > > Add support of cancellation request to the TEE kernel internal > client interface. Can be used by software TPM drivers, that leverage > TEE under the hood (for instance in TPM2.0 mobile profile), for requesting > cancellation of

Re: [Qestion] Softlockup when send IPI to other CPUs

2019-01-24 Thread Catalin Marinas
Hi Shijith, On Thu, Jan 24, 2019 at 07:00:42AM +, Shijith Thotton wrote: > On 01/23/2019 11:45 PM, Catalin Marinas wrote: > > diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c > > index 30695a868107..5c9073bace83 100644 > > --- a/arch/arm64/mm/flush.c > > +++ b/arch/arm64/mm/flush.c

Re: [PATCH v4 RESEND] drm/panel: add Kingdisplay kd097d04 panel driver

2019-01-24 Thread Thierry Reding
On Thu, Jan 24, 2019 at 12:01:55PM -0300, Ezequiel Garcia wrote: > On Tue, 2018-10-30 at 10:15 +0100, Heiko Stuebner wrote: > > From: Nickey Yang > > > > Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, > > it is a MIPI dual-DSI panel. > > > > v4-resend: > > - Thierry noted missing

Re: [PATCH: linux-next] ARM: dts: am33xx: Remove unnecessary properties

2019-01-24 Thread Tony Lindgren
* Tony Lindgren [190121 17:13]: > * Felix Brack [190119 17:38]: > > Hi Tony, > > On 18.12.18 15:39, Felix Brack wrote: > > > Remove the unnecessary properties #address-cells and #size-cells > > > of node pinmux as there are no child-nodes with property reg. > > > > > > Signed-off-by: Felix

[PATCH] qede: Don't implicitly cast enumerated types in __qede_probe

2019-01-24 Thread Nathan Chancellor
Clang warns: drivers/net/ethernet/qlogic/qede/qede_main.c:1183:29: warning: implicit conversion from enumeration type 'enum qede_rdma_probe_mode' to different enumeration type 'enum qede_rdma_remove_mode' [-Wenum-conversion] qede_rdma_dev_remove(edev, QEDE_RDMA_PROBE_MODE(mode));

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Thomas Bogendoerfer
On Thu, 24 Jan 2019 16:51:37 +0100 Andrew Lunn wrote: > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > Set up link interrupt if connection is handled by phylink otherwise > > link state change detection for in-band-status doesn't work. > > Hi Thomas > > Please ensure

[GIT PULL] Inotify fix for v5.0-rc4

2019-01-24 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify_for_v5.0-rc4 to get a fix of fd refcount leak in inotify error path. Top of the tree is 125892edfe69. The full shortlog is: Tetsuo Handa (1): inotify: Fix fd refcount

Re: [PATCH 0/3] serdev support for n_gsm

2019-01-24 Thread Johan Hovold
Hi Tony, and sorry about the reply latency. This is quite a lot to think about. I'm also adding Kishon and Mark on CC (e.g. for the phy and ASoC bits). On Mon, Jan 21, 2019 at 09:01:16AM -0800, Tony Lindgren wrote: > Hi, > > * Johan Hovold [190121 10:57]: > > Adding Marcel on CC. > > > > On

Re: GRSec is vital to Linux security

2019-01-24 Thread linuxgpletc
On 2019-01-24 15:31, Enrico Weigelt, metux IT consult wrote: Do you have some actual proposals / patches ? Sue Open Source Security / Bradly Spengler for copyright infringement. Seek his profits as damages. I doubt you'll be able to get specific performance since the GPL is not a contact in

Re: [PATCH v2] ARC: [scripted] fix node name and address spelling

2019-01-24 Thread Vineet Gupta
Hi Alexey, Rob, On 1/24/19 8:28 AM, Rob Herring wrote: > On Thu, Jan 24, 2019 at 6:17 AM Alexey Brodkin > wrote: >> >> From: Alexey Brodkin >> >> 1. Remove "0x" prefix from unit-address of node names >> --->8 >> sed -i 's/@0x/@/g'

Re: [PATCH v2] ARC: [scripted] fix node name and address spelling

2019-01-24 Thread Rob Herring
On Thu, Jan 24, 2019 at 6:17 AM Alexey Brodkin wrote: > > From: Alexey Brodkin > > 1. Remove "0x" prefix from unit-address of node names > --->8 > sed -i 's/@0x/@/g' arch/arc/boot/dts/*.dts* > --->8 > > 2.

[PATCH] ARM: hammerhead_defconfig: new defconfig for LG Nexus 5 phone

2019-01-24 Thread Brian Masney
Introduce hammerhead_defconfig for the LG Nexus 5 phone. Includes options for USG OTG, WiFi, charger, serial console, gyroscope, accelerometer, magnetometer, temperature, and pressure sensors. The necessary options for the display are also included, however the necessary device tree changes, plus

Re: [PATCH] blk-mq: fix the cmd_flag_name array

2019-01-24 Thread Bart Van Assche
On Thu, 2019-01-24 at 09:22 -0700, Jens Axboe wrote: > On 1/24/19 8:09 AM, Jeff Moyer wrote: > > Jianchao Wang writes: > > > > > Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. > > > > > > Signed-off-by: Jianchao Wang > > > --- > > > block/blk-mq-debugfs.c | 3 ++- > > > 1 file changed, 2

Re: [PATCH] blk-mq: fix the cmd_flag_name array

2019-01-24 Thread Jens Axboe
On 1/24/19 8:09 AM, Jeff Moyer wrote: > Jianchao Wang writes: > >> Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. >> >> Signed-off-by: Jianchao Wang >> --- >> block/blk-mq-debugfs.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/block/blk-mq-debugfs.c

[PATCH v14 08/12] powerpc: regain entire stack space

2019-01-24 Thread Christophe Leroy
thread_info is not anymore in the stack, so the entire stack can now be used. There is also no risk anymore of corrupting task_cpu(p) with a stack overflow so the patch removes the test. When doing this, an explicit test for NULL stack pointer is needed in validate_sp() as it is not anymore

Re: [PATCH v1] : Switch to use new generic UUID API

2019-01-24 Thread Javier González
> On 24 Jan 2019, at 17.38, Andy Shevchenko wrote: > > On Thu, Jan 24, 2019 at 4:36 PM Javier González wrote: > >> It is not pushed anywhere yet, but I have been working on a tool to make >> a pblk recovery tool to enable FTL repairs if something fails in the >> kernel recovery path. Here, I

Fwd: Re: GRSec is vital to Linux security

2019-01-24 Thread linuxgpletc
Original Message Subject: Re: GRSec is vital to Linux security Date: 2019-01-24 16:25 From: Boris Lukashev To: linuxgpl...@redchan.it You've never heard of VMware, I take it? Its a proprietary half Linux which beats GPL suits with strong arm tactics and technicalities.

Re: [PATCH] blk-mq: fix the cmd_flag_name array

2019-01-24 Thread Jens Axboe
On 1/24/19 9:28 AM, Bart Van Assche wrote: > On Thu, 2019-01-24 at 09:22 -0700, Jens Axboe wrote: >> On 1/24/19 8:09 AM, Jeff Moyer wrote: >>> Jianchao Wang writes: >>> Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. Signed-off-by: Jianchao Wang ---

Want to start it?

2019-01-24 Thread Denna
Please let me know the status of your photos, waiting to retouching them. Do your photos need white background? sharpen? retouching? We can do it for you. Send us the test photos today and we can start to work on them. Thanks, Denna

Re: [PATCH v1 1/2] ARM: dts: am335x-shc.dts: Switch to SPDX identifier

2019-01-24 Thread Tony Lindgren
* Heiko Schocher [190121 21:26]: > Adopt the SPDX license identifier headers to ease license > compliance management. Applying into omap-for-v5.1/dt thanks. Tony

Re: [PATCH] blk-mq: fix the cmd_flag_name array

2019-01-24 Thread Jens Axboe
On 1/24/19 3:28 AM, Jianchao Wang wrote: > Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. Applied, thanks. -- Jens Axboe

[PATCH v14 06/12] powerpc: Prepare for moving thread_info into task_struct

2019-01-24 Thread Christophe Leroy
This patch cleans the powerpc kernel before activating CONFIG_THREAD_INFO_IN_TASK: - The purpose of the pointer given to call_do_softirq() and call_do_irq() is to point the new stack ==> change it to void* and rename it 'sp' - Don't use CURRENT_THREAD_INFO() to locate the stack. - Fix a few

[PATCH v14 11/12] powerpc/64: Remove CURRENT_THREAD_INFO

2019-01-24 Thread Christophe Leroy
Now that current_thread_info is located at the beginning of 'current' task struct, CURRENT_THREAD_INFO macro is not really needed any more. This patch replaces it by loads of the value at PACACURRENT(r13). Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/exception-64s.h | 4

[PATCH v14 10/12] powerpc/32: Remove CURRENT_THREAD_INFO and rename TI_CPU

2019-01-24 Thread Christophe Leroy
Now that thread_info is similar to task_struct, its address is in r2 so CURRENT_THREAD_INFO() macro is useless. This patch removes it. At the same time, as the 'cpu' field is not anymore in thread_info, this patch renames it to TASK_CPU. Signed-off-by: Christophe Leroy ---

[PATCH v14 07/12] powerpc: Activate CONFIG_THREAD_INFO_IN_TASK

2019-01-24 Thread Christophe Leroy
This patch activates CONFIG_THREAD_INFO_IN_TASK which moves the thread_info into task_struct. Moving thread_info into task_struct has the following advantages: - It protects thread_info from corruption in the case of stack overflows. - Its address is harder to determine if stack addresses are

[PATCH v14 09/12] powerpc: 'current_set' is now a table of task_struct pointers

2019-01-24 Thread Christophe Leroy
The table of pointers 'current_set' has been used for retrieving the stack and current. They used to be thread_info pointers as they were pointing to the stack and current was taken from the 'task' field of the thread_info. Now, the pointers of 'current_set' table are now both pointers to

[PATCH v14 00/12] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2019-01-24 Thread Christophe Leroy
The purpose of this serie is to activate CONFIG_THREAD_INFO_IN_TASK which moves the thread_info into task_struct. Moving thread_info into task_struct has the following advantages: - It protects thread_info from corruption in the case of stack overflows. - Its address is harder to determine if

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Thomas Bogendoerfer
On Thu, 24 Jan 2019 16:07:41 + Russell King - ARM Linux admin wrote: > On Thu, Jan 24, 2019 at 04:51:37PM +0100, Andrew Lunn wrote: > > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > > Set up link interrupt if connection is handled by phylink otherwise > > > link

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Andrew Lunn
On Thu, Jan 24, 2019 at 04:07:41PM +, Russell King - ARM Linux admin wrote: > On Thu, Jan 24, 2019 at 04:51:37PM +0100, Andrew Lunn wrote: > > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > > Set up link interrupt if connection is handled by phylink otherwise > > >

Re: [PATCH v6 09/16] sched/cpufreq: uclamp: Add utilization clamping for RT tasks

2019-01-24 Thread Patrick Bellasi
On 24-Jan 16:31, Peter Zijlstra wrote: > On Thu, Jan 24, 2019 at 12:30:09PM +, Patrick Bellasi wrote: > > > So I'll have to go over the code again, but I'm wondering why you're > > > changing uclamp_se::bucket_id on a runnable task. > > > > We change only the "requested" value, not the

Re: [PATCH] staging: android: ion: Allocate from heap ID directly without mask

2019-01-24 Thread Andrew F. Davis
On 1/24/19 9:24 AM, Brian Starkey wrote: > Hi Andrew, > > On Wed, Jan 23, 2019 at 01:28:35PM -0600, Andrew F. Davis wrote: >> Previously the heap to allocate from was selected by a mask of allowed >> heap types. This may have been done as a primitive form of constraint >> solving, the first heap

Re: [PATCH] mm: Move maxable seq_file logic into a single place

2019-01-24 Thread Johannes Weiner
On Thu, Jan 24, 2019 at 01:17:18AM -0500, Chris Down wrote: > memcg has a significant number of files exposed to kernfs where their > value is either exposed directly or is "max" in the case of > PAGE_COUNTER_MAX. > > There's a fair amount of duplicated code here, since each file involves >

Re: [PATCHv4 1/4] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-24 Thread Mathieu Poirier
Good day Sai, On Wed, 23 Jan 2019 at 13:18, Sai Prakash Ranjan wrote: > > Hi Mathieu, > > On 1/24/2019 12:44 AM, Mathieu Poirier wrote: > > On Wed, 23 Jan 2019 at 05:12, Sai Prakash Ranjan > > wrote: > > > > That depends on whether the ETMs have been modified at all, something > > Suzuki has

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Russell King - ARM Linux admin
On Thu, Jan 24, 2019 at 04:51:37PM +0100, Andrew Lunn wrote: > On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > > Set up link interrupt if connection is handled by phylink otherwise > > link state change detection for in-band-status doesn't work. > > Hi Thomas > > Please

Re: [PATCHv4 1/4] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-24 Thread Marc Gonzalez
On 23/01/2019 21:17, Sai Prakash Ranjan wrote: > On 1/24/2019 12:44 AM, Mathieu Poirier wrote: > >> What version of the Kryo CPU? > > There is no Kryo version for MSM8996 (its only given as Kryo), MSM8998 > onwards we have Kryo versions like Kryo 280 and so on. Hence I skipped > for this one and

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-24 Thread Andrew F. Davis
On 1/23/19 11:11 AM, Brian Starkey wrote: > Hi Andrew, > > On Wed, Jan 23, 2019 at 10:51:24AM -0600, Andrew F. Davis wrote: >> On 1/22/19 11:33 AM, Sumit Semwal wrote: >>> Hello everyone, >>> >>> Sincere apologies for chiming in a bit late here, but was off due to >>> some health issues. >>> >>

Re: [PATCH v6 09/16] sched/cpufreq: uclamp: Add utilization clamping for RT tasks

2019-01-24 Thread Patrick Bellasi
On 24-Jan 16:15, Peter Zijlstra wrote: > On Tue, Jan 15, 2019 at 10:15:06AM +, Patrick Bellasi wrote: > > Add uclamp_default_perf, a special set of clamp values to be used > > for tasks requiring maximum performance, i.e. by default all the non > > clamped RT tasks. > > Urgh... why though?

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Michel Dänzer
On 2019-01-24 12:45 p.m., Ard Biesheuvel wrote: > On Thu, 24 Jan 2019 at 12:37, Koenig, Christian > wrote: >> Am 24.01.19 um 12:26 schrieb Ard Biesheuvel: >>> On Thu, 24 Jan 2019 at 12:23, Koenig, Christian >>> wrote: Am 24.01.19 um 10:59 schrieb Ard Biesheuvel: > [SNIP] > This is

Re: [PATCH 0/3] kbuild: Add wilddt function instead of listing dtbs

2019-01-24 Thread Masahiro Yamada
On Tue, Jan 22, 2019 at 1:17 AM Leonard Crestez wrote: > > On 1/7/2019 9:31 PM, Leonard Crestez wrote: > > The dts makefiles go through a lot of pointless churn when boards are > > added. Many SOCs (such as imx) have very simple naming conventions for > > all boards using a certain chip and board

Re: [PATCH] ALSA: hda: runtime PM is always active

2019-01-24 Thread Takashi Iwai
On Thu, 24 Jan 2019 16:57:11 +0100, Sameer Pujar wrote: > > The runtime PM count is incremented and set to active during hda codec > device init, but it is decremented and set to suspend during exit only. > Hence the runtime PM status is always active and hda device cannot be > put to runtime

Re: GRSec is vital to Linux security

2019-01-24 Thread Adam Borowski
On Thu, Jan 24, 2019 at 04:31:10PM +0100, Enrico Weigelt, metux IT consult wrote: > On 23.01.19 21:46, Ivan Ivanov wrote: > > > Linux really needs to stop adding new features and > > refactor itself to a smaller and more secure codebase before going > > forward. Maybe 1 year break would be nice.

Re: [PATCH v6 09/16] sched/cpufreq: uclamp: Add utilization clamping for RT tasks

2019-01-24 Thread Patrick Bellasi
On 24-Jan 16:12, Peter Zijlstra wrote: > On Thu, Jan 24, 2019 at 12:38:35PM +, Patrick Bellasi wrote: > > On 24-Jan 12:30, Patrick Bellasi wrote: > > > On 23-Jan 21:11, Peter Zijlstra wrote: > > > > On Wed, Jan 23, 2019 at 02:40:11PM +, Patrick Bellasi wrote: > > > > > On 23-Jan 11:49,

Re: [PATCH 2/2] mm: Consider subtrees in memory.events

2019-01-24 Thread Johannes Weiner
On Thu, Jan 24, 2019 at 09:22:52AM +0100, Michal Hocko wrote: > On Wed 23-01-19 17:31:44, Chris Down wrote: > > Acked-by: Johannes Weiner > > btw. I do not see this patch posted anywhere yet it already comes with > an ack. Have I just missed a previous version? I reviewed it offline before

Re: [PATCH v13 00/10] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2019-01-24 Thread Christophe Leroy
Le 24/01/2019 à 16:01, Christophe Leroy a écrit : Le 24/01/2019 à 10:43, Christophe Leroy a écrit : On 01/24/2019 01:06 AM, Michael Ellerman wrote: Christophe Leroy writes: Le 12/01/2019 à 10:55, Christophe Leroy a écrit : The purpose of this serie is to activate

[PATCH] ALSA: hda: runtime PM is always active

2019-01-24 Thread Sameer Pujar
The runtime PM count is incremented and set to active during hda codec device init, but it is decremented and set to suspend during exit only. Hence the runtime PM status is always active and hda device cannot be put to runtime suspend. Keeping device usage active for entire period, though nothing

cpu/hotplug: broken sibling thread hotplug

2019-01-24 Thread Igor Mammedov
In case guest is booted with one CPU present and then later a sibling CPU is hotplugged [1], it stays offline since SMT is disabled. Bisects to 73d5e2b47264 ("cpu/hotplug: detect SMT disabled by BIOS") which used __max_smt_threads to decide disabling SMT and in case [1] only primary CPU thread

[PATCH v8 7/7] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-01-24 Thread Roberto Sassu
Currently, tpm_pcr_extend() accepts as an input only a SHA1 digest. This patch replaces the hash parameter of tpm_pcr_extend() with an array of tpm_digest structures, so that the caller can provide a digest for each PCR bank currently allocated in the TPM. tpm_pcr_extend() will not extend banks

[PATCH v8 6/7] KEYS: trusted: explicitly use tpm_chip structure from tpm_default_chip()

2019-01-24 Thread Roberto Sassu
When crypto agility support will be added to the TPM driver, users of the driver have to retrieve the allocated banks from chip->allocated_banks and use this information to prepare the array of tpm_digest structures to be passed to tpm_pcr_extend(). This patch retrieves a tpm_chip pointer from

[PATCH v8 5/7] tpm: move tpm_chip definition to include/linux/tpm.h

2019-01-24 Thread Roberto Sassu
The tpm_chip structure contains the list of PCR banks currently allocated in the TPM. When support for crypto agility will be added to the TPM driver, users of the driver have to provide a digest for each allocated bank to tpm_pcr_extend(). With this patch, they can obtain the PCR bank algorithms

I need your Help

2019-01-24 Thread Capt. Aston Scholz
Greetings, I am CAPT. Aston Scholz, United State Army here in Afghanistan, am seeking your help to evacuate the sum of $7,000,000 to you as long as I am assured it will be safe That in your care Until I complete my service here in Afghanistan. This is not stolen money and there are no dangers

[PATCH v8 4/7] tpm: retrieve digest size of unknown algorithms with PCR read

2019-01-24 Thread Roberto Sassu
Currently, the TPM driver retrieves the digest size from a table mapping TPM algorithms identifiers to identifiers defined by the crypto subsystem. If the algorithm is not defined by the latter, the digest size can be retrieved from the output of the PCR read command. The patch modifies the

[PATCH v8 3/7] tpm: rename and export tpm2_digest and tpm2_algorithms

2019-01-24 Thread Roberto Sassu
Rename tpm2_* to tpm_* and move the definitions to include/linux/tpm.h so that these can be used by other kernel subsystems (e.g. IMA). Signed-off-by: Roberto Sassu Reviewed-by: Jarkko Sakkinen Acked-by: Mimi Zohar --- drivers/char/tpm/tpm-interface.c | 2 +- drivers/char/tpm/tpm.h

[PATCH v8 2/7] tpm: add _head suffix to tcg_efi_specid_event and tcg_pcr_event2

2019-01-24 Thread Roberto Sassu
TCG defines two structures, TCG_EfiSpecIDEventStruct and TCG_PCR_EVENT2, which contain variable-sized arrays in the middle of the definition. Since these structures are not suitable for type casting, this patch removes structure members after the variable-sized arrays and adds the _head suffix to

Re: kernel: xhci_hcd 0000:00:14.0: ERROR unknown event type 37 - Kernel 4.19.13

2019-01-24 Thread Mathias Nyman
On 10.01.2019 00:11, Nathan Royce wrote: Wow, my system got wrecked (exaggeration) during this latest stretch... Pulseaudio was stretched to the limit and beyond and was forced to restart. Anything that was producing audio had to be restarted to get it back. This time was much like the first

[PATCH v8 1/7] tpm: dynamically allocate the allocated_banks array

2019-01-24 Thread Roberto Sassu
This patch renames active_banks (member of tpm_chip) to allocated_banks, stores the number of allocated PCR banks in nr_allocated_banks (new member of tpm_chip), and replaces the static array with a pointer to a dynamically allocated array. tpm2_get_pcr_allocation() determines if a PCR bank is

[PATCH v8 0/7] tpm: retrieve digest size of unknown algorithms from TPM

2019-01-24 Thread Roberto Sassu
Update This version of the patch set includes three additional patches (5-7/7) that allow users of the TPM driver to provide a digest for each PCR bank to tpm_pcr_extend(). The new patches have been included to facilitate the review of all the changes to support TPM 2.0 crypto agility for reading

Re: [PATCH net] net: mvpp2: fix condition for setting up link interrupt

2019-01-24 Thread Andrew Lunn
On Thu, Jan 24, 2019 at 02:18:03PM +0100, Thomas Bogendoerfer wrote: > Set up link interrupt if connection is handled by phylink otherwise > link state change detection for in-band-status doesn't work. Hi Thomas Please ensure the maintainers of the driver are at least on Cc: Thanks

<    6   7   8   9   10   11   12   13   14   15   >