On Tue, Dec 19, 2017 at 12:37:47AM -0500, Sinan Kaya wrote:
> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as
> where a PCI device is present. This restricts the device drivers to be
> reused for other domain numbers.
>
> Getting ready to remove pci_get_bus_and_slot() functi
On Wed 2018-01-17 11:18:56, Sergey Senozhatsky wrote:
> On (01/16/18 10:45), Steven Rostedt wrote:
> [..]
> > > [1] https://marc.info/?l=linux-mm&m=145692016122716
> >
> > Especially since Konstantin is working on pulling in all LKML archives,
> > the above should be denoted as:
> >
> > Link:
>
On 09.01.2018 06:17, Jaejoong Kim wrote:
> 2017-12-20 16:09 GMT+09:00 Jaejoong Kim :
>> Ignore the *.gcda files generated by gcov
>>
>> Signed-off-by: Jaejoong Kim
>> ---
>> .gitignore | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/.gitignore b/.gitignore
>> index 0c39aa2..580ef7c 10
On Wed, 2018-01-17 at 13:22 +0100, Paul Menzel wrote:
>
> Yes it does. Thank you. Rebuilding Linux 4.15-rc8+ with this patch
> applied, the UBSAN doesn’t report this issue anymore.
Thanks for testing, the patch is on its way to get to 4.15 (hopefully)
johannes
On 01/17/2018 10:48 AM, Xishi Qiu wrote:
> On 2018/1/17 17:16, Vlastimil Babka wrote:
>
>> On 12/29/2017 09:58 AM, Xishi Qiu wrote:
>>> When calling vfree(), it calls unmap_vmap_area() to clear page table,
>>> but do not free the memory of page table, why? just for performance?
>>
>> I guess it's
In x86 architecture dependend part function
get_cpuid_str() mallocs a 128 byte buffer, but does not
check if the memory allocation succeeded or not.
When the memory allocation fails, function __get_cpuid()
is called with first parameter being a NULL pointer.
However this function references its fir
On Wed, 17 Jan 2018 09:03:48 +
Matt Redfearn wrote:
> Hi,
>
> On Wed, Jan 17, 2018 at 09:51:21AM +0300, Antony Pavlov wrote:
> > The commit b35cd9884fa5 ("lib: Add shared copies of
> > some GCC library routines") makes it possible
> > to share generic GCC library routines by several
> > arch
On 17/01/18 12:25, Dave Martin wrote:
On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
When a CPU is brought up after we have finalised the system
wide capabilities (i.e, features and errata), we make sure the
new CPU doesn't need a new errata work around which has not been
dete
Hi Ayan,
On Fri, Jan 12, 2018 at 04:33:07PM +, Ayan Halder wrote:
> Mali dp needs to disable pixel alpha blending (use layer alpha blending) to
> display color formats that do not contain alpha bits per pixel
In the future, please mention any dependencies on other patches that are
not part of
On 17/01/18 12:25, Dave Martin wrote:
On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
When a CPU is brought up after we have finalised the system
wide capabilities (i.e, features and errata), we make sure the
new CPU doesn't need a new errata work around which has not been
dete
On Tue, Jan 02, 2018 at 04:29:45PM +0100, Geert Uytterhoeven wrote:
> When exposing data access through debugfs, the correct
> debugfs_create_*() functions must be used, depending on data type.
>
> Remove all casts from data pointers passed to debugfs_create_*()
> functions, as such casts prevent
There can be a race, if receive_buf call comes before
tty initialization completes in n_tty_open and tty->disc_data
may be NULL.
CPU0CPU1
000|n_tty_receive_buf_common() n_tty_open()
-001|n_tty_receive_buf2()
On Mon, 2018-01-15 at 13:30:03 UTC, Michal Suchanek wrote:
> Commit 6e032b350cd1 ("powerpc/powernv: Check device-tree for RFI flush
> settings") uses u64 in asm/hvcall.h without including linux/types.h
>
> This breaks hvcall.h users that do not include the header themselves.
>
> Fixes: 6e032b350c
On 1/6/2018 1:20 PM, Kohli, Gaurav wrote:
On 1/6/2018 2:35 AM, Alan Cox wrote:
On Sat, 6 Jan 2018 01:54:36 +0530
"Kohli, Gaurav" wrote:
Hi Alan,
Sorry correcting the typo here:
+retval = tty_ldisc_lock(tty, 5 * HZ);
+if (retval)
+ goto err_release_lock;
tty->port->itty = tty;
/*
* St
On Wed, Jan 17, 2018 at 12:55:06PM +0100, Martin Schwidefsky wrote:
> On Wed, 17 Jan 2018 12:14:52 +0100
> Christian Borntraeger wrote:
>
> > On 01/17/2018 11:03 AM, Florian Weimer wrote:
> > > On 01/17/2018 10:48 AM, Martin Schwidefsky wrote:
> > >> rc = syscall(__NR_s390_modify_bp);
On Wed, Jan 17, 2018 at 11:39 AM, Peter Rosin wrote:
> On 2018-01-17 10:35, Linus Walleij wrote:
>> I would first try to add the gpio range in the DTS. Then the
>> GPIO core will add the range (the code is in drivers/gpio/gpiolib-of.c)
>> and everything will be happy.
>
> If I, in the above menti
On Wed, Jan 03, 2018 at 02:09:20PM +0800, Jeffy Chen wrote:
> The for_each_matching_node_and_match() would return every matching
> nodes including unavailable ones.
>
> It's pointless to init unavailable IOMMUs, so add a sanity check to
> avoid that.
>
> Signed-off-by: Jeffy Chen
> ---
>
> dri
On Wed, Jan 17, 2018 at 10:48:33AM +0100, Martin Schwidefsky wrote:
> @Greg: I have started with the backports for the stable kernel releases,
> but unless the interface for gmp/nospec_ptr/nospec_load is cast in stone
> does it make sense to send them?
No, I can't take anything until it is in Linu
On Wed, 2017-02-01 at 01:54:38 UTC, Dmitry Torokhov wrote:
> Instead of manually coding the loop with of_find_node_by_type(), let's
> switch to the standard macro for iterating over nodes with given type.
>
> Also fixed a couple of refcount leaks in the aforementioned loops.
>
> Signed-off-by: Dm
On Fri, 2018-01-12 at 12:45:19 UTC, Christophe Leroy wrote:
> CPU6 ERRATA affects only MPC860 revisions prior to C.0. Manufacturing
> of those revisiosn was stopped in 1999-2000.
> Therefore, it has been almost 20 years since this ERRATA has been
> fixed in the silicon.
>
> This patch removes the
On Tue, 2018-01-16 at 07:29:49 UTC, Christophe Leroy wrote:
> Since commit 0e6e01ff694ee ("CPM/QE: use genalloc to manage CPM/QE
> muram"), rheap is not used anymore.
>
> Signed-off-by: Christophe Leroy
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9a3b849bfe5cba18492acf5add
On Wed, Jan 17, 2018 at 02:00:28PM +0200, Heikki Krogerus wrote:
> Hi Greg,
>
> On Wed, Jan 17, 2018 at 12:14:02PM +0100, Greg KH wrote:
> > On Wed, Jan 17, 2018 at 01:08:58PM +0200, Heikki Krogerus wrote:
> > > Hi,
> > >
> > > On Wed, Jan 17, 2018 at 09:30:45AM +, shufan_lee(?) wrote
As for today slc_entire_op with OP_FLUSH command flush and invalidate
SLC entry instead of flush only. Fix that.
NOTE:
As for today we use slc_entire_op only with OP_FLUSH_N_INV command,
so it is kinda preventiv fix.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/mm/cache.c | 5 -
1 file chang
On 17/01/18 13:20, Robin Murphy wrote:
On 17/01/18 12:25, Dave Martin wrote:
On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
When a CPU is brought up after we have finalised the system
wide capabilities (i.e, features and errata), we make sure the
new CPU doesn't need a new er
Em Wed, Jan 17, 2018 at 02:16:11PM +0100, Thomas Richter escreveu:
> In x86 architecture dependend part function
> get_cpuid_str() mallocs a 128 byte buffer, but does not
> check if the memory allocation succeeded or not.
> When the memory allocation fails, function __get_cpuid()
> is called with f
Hi Robin,
On 01/17/2018 09:00 PM, Robin Murphy wrote:
On 16/01/18 13:25, Jeffy Chen wrote:
There would be some masters sharing the same IOMMU device. Put them in
the same iommu group and share the same iommu domain.
Signed-off-by: Jeffy Chen
---
Changes in v2: None
drivers/iommu/rockchip-
On Fri, 2017-12-08 at 16:34:29 UTC, Christophe Leroy wrote:
> This patch remove CONFIG_PPC_HTDUMP if not PPC_BOOK3S_64 to avoid
> below compile failure on BOOK3S_32:
>
> CC arch/powerpc/mm/dump_linuxpagetables.o
> CC arch/powerpc/mm/dump_hashpagetable.o
> In file included from arch/p
On Wed, Jan 10, 2018 at 02:59:12PM +0800, ShuFanLee wrote:
> +static inline void rt1711h_poll_ctrl(struct rt1711h_chip *chip)
> +{
> + cancel_delayed_work_sync(&chip->poll_work);
> +
> + if (atomic_read(&chip->poll_count) == 0) {
> + atomic_inc(&chip->poll_count);
> +
Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu:
> On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote:
> > When i use perf to trace the sched_wakeup_new tracepoint, there is
> > a bug that output the same event repetitiously.
> > It can be reproduced by :
> >
> > #./test_f
On Wed, Jan 10, 2018 at 02:59:12PM +0800, ShuFanLee wrote:
> +static inline int rt1711h_reg_write_word(struct rt1711h_chip *chip, uint8_t
> reg,
> + uint16_t data)
> +{
> + data = cpu_to_le16(data);
> + return rt1711h_reg_block_write(chip, reg, 2, (uint8_t *)&data);
> +}
Did you run s
Hi!
This series mainly fixes the gpio interaction, as discussed
in [1]. However, patch 1/3 addresses a problem that was not
mentioned there. It should probably be sent to stable...
Cheers,
Peter
[1] https://lkml.org/lkml/2018/1/16/952
Peter Rosin (3):
pinctrl: sx150x: unregister the pinctrl o
Various gpiolib activity depend on the pinctrl to be up and kicking.
Therefore, register the pinctrl before adding a gpiochip.
Suggested-by: Linus Walleij
Signed-off-by: Peter Rosin
---
drivers/pinctrl/pinctrl-sx150x.c | 35 +--
1 file changed, 21 insertions(+),
Without such a range, gpiolib fails with -EPROBE_DEFER, pending the
addition of the range. So, without a range, gpiolib will keep
deferring indefinitely.
Fixes: e10f72bf4b3e ("gpio: gpiolib: Generalise state persistence beyond sleep")
Suggested-by: Linus Walleij
Signed-off-by: Peter Rosin
---
d
There is no matching call to pinctrl_unregister, so switch to the
managed devm_pinctrl_register to clean up properly when done.
Fixes: 9e80f9064e73 ("pinctrl: Add SX150X GPIO Extender Pinctrl Driver")
Signed-off-by: Peter Rosin
---
drivers/pinctrl/pinctrl-sx150x.c | 2 +-
1 file changed, 1 inser
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.
Signed-off-by: Luis de Bethencourt
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches
suggested I fix it treewide [0].
Best regards,
Luis
[0]
http://dri
As for today slc_entire_op with OP_FLUSH command flush and invalidate
SLC entry instead of flush only. Fix that.
NOTE:
As for today we use slc_entire_op only with OP_FLUSH_N_INV command,
so it is kinda preventiv fix.
Signed-off-by: Eugeniy Paltsev
---
V1 patch is for u-boot (with u-boot AUX regi
From: Colin Ian King
Variable opc is initialized with a value that is never read, opc
is later re-assigned a newer value, hence the initialization can
be removed.
Cleans up clang warning:
drivers/mmc/host/sh_mmcif.c:919:6: warning: Value stored to 'opc'
during its initialization is never read
S
On Wed 2018-01-17 20:32:44, Dave Young wrote:
> Hi,
>
> Thanks for your comments.
> On 01/17/18 at 09:57am, Petr Mladek wrote:
> > On Wed 2018-01-17 12:50:57, Dave Young wrote:
> > > It is useful to print kdump kernel loaded status in dump_stack()
> > > especially when panic happens so that we ca
On Wed, Jan 10, 2018 at 02:59:12PM +0800, ShuFanLee wrote:
> From: ShuFanLee
>
> Richtek RT1711H Type-C chip driver that works with
> Type-C Port Controller Manager to provide USB PD and
> USB Type-C functionalities.
>
> Signed-off-by: ShuFanLee
Minor review of your main structure and your deb
On 17/01/18 13:31, Suzuki K Poulose wrote:
On 17/01/18 13:20, Robin Murphy wrote:
On 17/01/18 12:25, Dave Martin wrote:
On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
When a CPU is brought up after we have finalised the system
wide capabilities (i.e, features and errata), we
On Tue, Jan 9, 2018 at 6:09 PM, Maxime Ripard
wrote:
> The display frontend is an hardware block that can be used to implement
> some more advanced features like hardware scaling or colorspace
> conversions. It can also be used to implement the output format of the VPU.
>
> Let's create a minimal
On Wed, Jan 10, 2018 at 01:51:37PM +0800, Peter Xu wrote:
> after commit a1ddcbe93010 ("iommu/vt-d: Pass dmar_domain directly into
> iommu_flush_iotlb_psi", 2015-08-12), we have domain pointer as parameter
> to iommu_flush_iotlb_psi(), so no need to fetch it from cache again.
>
> More importantly,
On Tue, Jan 9, 2018 at 6:09 PM, Maxime Ripard
wrote:
> Now that we have a driver, we can make use of it. This is done by
> adding a flag to our custom plane state that will trigger whether we should
> use the frontend on that particular plane or not.
>
> The rest is just plumbing to set up the bac
The new firmware interfaces for branch prediction behaviour changes
are transparently available for the guest. Nevertheless, there is
new state attached that should be migrated and properly resetted.
Provide a mechanism for handling reset, migration and VSIE.
Signed-off-by: Christian Borntraeger
Christoph Hellwig writes:
> On Wed, Jan 17, 2018 at 04:27:21AM +, Al Viro wrote:
>> On Tue, Jan 16, 2018 at 07:41:24PM -0500, Jeff Moyer wrote:
>> >if (sigmask) {
>> > - if (copy_from_user(&ksigmask, sigmask, sizeof(ksigmask)))
>> > + if (!access_ok(VERIFY_READ, sigmask,
On 17.01.2018 14:44, Christian Borntraeger wrote:
> The new firmware interfaces for branch prediction behaviour changes
> are transparently available for the guest. Nevertheless, there is
> new state attached that should be migrated and properly resetted.
> Provide a mechanism for handling reset, m
Christoph Hellwig writes:
> On Tue, Jan 16, 2018 at 07:41:24PM -0500, Jeff Moyer wrote:
>> I'd be willing to bet the issue is in your io_syscall6 implementation.
>> You pass in arg5 where arg6 should be used. Don't feel bad, it took me
>> the better part of today to figure that out. :)
>>
>> H
On Tue, Jan 16, 2018 at 10:38:35AM +, Woodhouse, David wrote:
> On Tue, 2018-01-16 at 11:22 +0100, Jiri Slaby wrote:
> > On 01/15/2018, 01:35 PM, Greg Kroah-Hartman wrote:
> > > 4.9-stable review patch. If anyone has any objections, please let me
> > > know.
> >
> > May I ask if somebody has
From: Yossi Kuperman
Current code configures the hardware with a new SA before the state has been
fully initialized. During this time interval, an incoming ESP packet can cause
a crash due to a NULL dereference. More specifically, xfrm_input() considers
the packet as valid, and yet, anti-replay m
On Wed, Dec 13, 2017 at 11:54:56AM +0100, Greg KH wrote:
> On Wed, Dec 13, 2017 at 11:11:16AM +0100, Rabin Vincent wrote:
> > From: Rabin Vincent
> >
> > softirq time accounting is broken on v4.9.x if ksoftirqd runs.
> >
> > With
> > CONFIG_IRQ_TIME_ACCOUNTING=y
> > # CONFIG_VIRT_CPU_ACC
On 17.01.2018 10:48, Martin Schwidefsky wrote:
> To be able to switch off specific CPU alternatives with kernel parameters
> make a copy of the facility bit mask provided by STFLE and use the copy
> for the decision to apply an alternative.
>
> Reviewed-by: Christian Borntraeger
> Signed-off-by:
On Wed, Jan 17, 2018 at 1:24 AM, Joerg Roedel wrote:
> On Tue, Jan 16, 2018 at 02:48:43PM -0800, Andy Lutomirski wrote:
>> On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote:
>> > + /* Restore user %edi and user %fs */
>> > + movl (%edi), %edi
>> > + popl %fs
>>
>> Yikes! We'r
On Monday 08 January 2018 07:47 AM, David Lechner wrote:
> This adds platform-specific declarations for the PSC clocks on TI
> DaVinci 644x based systems.
>
> Signed-off-by: David Lechner
Looks good to me except comments I already gave for similar patches.
Thanks,
Sekhar
On 17.01.2018 10:48, Martin Schwidefsky wrote:
> Implement nospec_load() and nospec_ptr() for s390 with the new
> gmb() barrier between the boundary condition and the load that
> may not be done speculatively.
>
> Acked-by: Christian Borntraeger
> Signed-off-by: Martin Schwidefsky
> ---
> arch/
On Wed, Jan 17, 2018 at 12:24:50AM +0530, Shreeya Patel wrote:
> This patchset removes some warnings generated by checkpatch
> for cleanup of the rtl8723bs driver. Also some additional
> cleanups are introduced in the *[1/4] and *[3/4] patches
> to make the code according to the kernel coding style
Hello Dmitry,
On Tue, Jan 16, 2018 at 03:16:25PM -0800, Dmitry Torokhov wrote:
> Hi Marcus,
>
> On Sat, Jan 13, 2018 at 09:15:32PM +0100, Marcus Folkesson wrote:
> > This driver let you plug in your RC controller to the adapter and
> > use it as input device in various RC simulators.
> >
> > Sig
On Wed, Jan 17, 2018 at 5:57 AM, Brian Gerst wrote:
> On Wed, Jan 17, 2018 at 1:24 AM, Joerg Roedel wrote:
>> On Tue, Jan 16, 2018 at 02:48:43PM -0800, Andy Lutomirski wrote:
>>> On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote:
>>> > + /* Restore user %edi and user %fs */
>>> > +
The backlight power state handling is supremely confusing. We have:
- props.power, using FB_BLANK_* defines
- props.fb_blank, using the same, but deprecated int favour of
props.state
- props.state, using the BL_CORE_* defines
- and finally a bunch of backlight drivers treat brightness == 0 as
o
Leaking driver internal tracking into the already massively confusing
backlight power tracking is really confusing.
Stop that by allocating a tiny driver private data structure instead.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Signed-off-by: Daniel Vetter
---
drivers/video/backlight/
For the same reasons we've added dri-devel for all fbdev patches: Most
of the actively developed drivers using this infrastructure are in
drivers/gpu/. It just makes sense to cross-post patches and keep
aligned. And total activity in the backlight subsystem is miniscule
compared to drm overall.
Cc
Now that the 3 drivers using this are cleaned up we can also remove
this final bit of confusion of leaking driver internals into the
backlight power interface.
The backlight power interface itself is still a massive mess.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Signed-off-by: Daniel V
Leaking driver internal tracking into the already massively confusing
backlight power tracking is really confusing.
Luckily we have already a drvdata structure, so fixing this is really
easy.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Cc: Thomas Petazzoni
Signed-off-by: Daniel Vetter
-
On 01/17/18 at 06:53pm, Chao Fan wrote:
> Since only 'movable_node' specified without 'kaslr_mem=' may break
> memory hotplug, so reconmmend users using 'kaslr_mem=' when
> 'movable_node' specified..
>
> Signed-off-by: Chao Fan
> ---
> arch/x86/boot/compressed/kaslr.c | 10 ++
> 1 file c
On Wed, Dec 20, 2017 at 11:59:23AM -0800, Sohil Mehta wrote:
> Sohil Mehta (4):
> iommu/vt-d: Enable upto 57 bits of domain address width
> iommu/vt-d: Add a check for 1GB page support
> iommu/vt-d: Add a check for 5-level paging support
> iommu/vt-d: Enable 5-level paging mode in the PASID
Nothing in the entire tree ever sets this, which means this is dead
code. Remove it.
Cc: Lee Jones
Cc: Daniel Thompson
Cc: Jingoo Han
Signed-off-by: Daniel Vetter
---
drivers/video/backlight/generic_bl.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/video/backlight/generic_b
On Wed, 17 Jan 2018, Russell King - ARM Linux wrote:
> On Tue, Jan 16, 2018 at 11:07:34PM -0500, Nicolas Pitre wrote:
> > On Tue, 16 Jan 2018, Arnd Bergmann wrote:
> >
> > > On Tue, Jan 16, 2018 at 6:10 PM, Nicolas Pitre
> > > wrote:
> > > > On Tue, 16 Jan 2018, Arnd Bergmann wrote:
> > > >
> >
On Wed, Jan 17, 2018 at 12:36:19AM +, Dilger, Andreas wrote:
>
> > On Jan 16, 2018, at 09:56, Greg Kroah-Hartman
> > wrote:
> >
> > On Tue, Jan 16, 2018 at 03:01:49PM +, Eremin, Dmitry wrote:
> >> In the original commit 4d99b2581effe115376402e710fbcb1c3c073769
> >
> > Please use the do
On 01/17/18 at 06:53pm, Chao Fan wrote:
> In kernel code, if movable_node specified, it will skip the mirror
> feature. So we should also skip mirror feature in KASLR.
>
> Signed-off-by: Chao Fan
> ---
> arch/x86/boot/compressed/kaslr.c | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --
On 01/17/2018 02:58 PM, David Hildenbrand wrote:
> On 17.01.2018 10:48, Martin Schwidefsky wrote:
>> Implement nospec_load() and nospec_ptr() for s390 with the new
>> gmb() barrier between the boundary condition and the load that
>> may not be done speculatively.
>>
>> Acked-by: Christian Borntra
On 17/01/18 13:43, Robin Murphy wrote:
On 17/01/18 13:31, Suzuki K Poulose wrote:
On 17/01/18 13:20, Robin Murphy wrote:
On 17/01/18 12:25, Dave Martin wrote:
On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
When a CPU is brought up after we have finalised the system
wide cap
On 01/17/18 at 06:53pm, Chao Fan wrote:
> Since only 'movable_node' specified without 'kaslr_mem=' may break
> memory hotplug, so reconmmend users using 'kaslr_mem=' when
> 'movable_node' specified..
>
> Signed-off-by: Chao Fan
> ---
> arch/x86/boot/compressed/kaslr.c | 10 ++
> 1 file c
On 17/01/18 09:02, Joerg Roedel wrote:
> Hi Boris,
>
> thanks for testing this :)
>
> On Tue, Jan 16, 2018 at 09:47:06PM -0500, Boris Ostrovsky wrote:
>> On 01/16/2018 11:36 AM, Joerg Roedel wrote:
>>> +.macro SWITCH_TO_KERNEL_STACK nr_regs=0 check_user=0
>>
>> This (and next patch's SWITCH_TO_ENTR
On Wed, Jan 17, 2018 at 05:57:53AM -0800, Brian Gerst wrote:
> On Wed, Jan 17, 2018 at 1:24 AM, Joerg Roedel wrote:
> > I have no real idea on how to switch back to the entry stack without
> > access to per_cpu variables. I also can't access the cpu_entry_area for
> > the cpu yet, because for tha
On Wed, Jan 17, 2018 at 12:08:46PM +0100, SF Markus Elfring wrote:
> > Applied to linux-kbuild/misc.
>
> How would you like to get a related document updated?
> https://bottest.wiki.kernel.org/coccicheck#types_of_tests
Fixed.
--
Thanks
Himanshu Jha
On Wed, Jan 17, 2018 at 09:13:09AM +0100, Peter Zijlstra wrote:
> On Tue, Jan 16, 2018 at 09:12:32PM -0600, Josh Poimboeuf wrote:
> > On Tue, Jan 16, 2018 at 08:49:17PM +0100, Peter Zijlstra wrote:
> > > Subject: objtool: Even more complex static block checks
> > > From: Peter Zijlstra
> > > Date:
Hi Jarkko,
On 14 November 2017 at 20:02, Jarkko Sakkinen
wrote:
> On Sun, Nov 12, 2017 at 10:53:35AM +0530, PrasannaKumar Muralidharan wrote:
>> Did basic check on tpm rng patch, it works fine. As it depends on this
>> patch this should be working fine too.
>>
>> Tested-by: PrasannaKumar Muralidh
We now try to acquire the key according to the
encryption policy from both key types, 'logon'
as well as 'encrypted'.
Signed-off-by: André Draszik
Cc: "Theodore Y. Ts'o"
Cc: Jaegeuk Kim
Cc: linux-fscr...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Eric Biggers
---
changes in v2:
* dr
Signed-off-by: André Draszik
Cc: "Theodore Y. Ts'o"
Cc: Jaegeuk Kim
Cc: Jonathan Corbet
Cc: linux-fscr...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Eric Biggers
Cc: linux-...@vger.kernel.org
---
Documentation/filesystems/fscrypt.rst | 56 +++
1 file
On Wed, Jan 17, 2018 at 06:00:07AM -0800, Brian Gerst wrote:
> On Wed, Jan 17, 2018 at 5:57 AM, Brian Gerst wrote:
> But then again, you could take a fault on the trampoline stack if you
> get a bad segment. Perhaps just pushing the new stack pointer onto
> the process stack before user segment l
On Wed, Jan 17, 2018 at 05:48:57PM +0800, Xishi Qiu wrote:
> > Did you notice an actual issue, or is this just theoretical concern.
>
> Yes, we have this problem on our production line.
> I find the page table memory takes 200-300M.
200MB? That's mapping 800GB of virtual address space. That mus
On Tue, 2018-01-16 at 14:41 -0800, Linus Torvalds wrote:
>
>
> On Jan 16, 2018 14:23, "Dan Williams"
> wrote:
> > That said, for get_user specifically, can we do something even
> > cheaper. Dave H. reminds me that any valid user pointer that gets
> > past
> > the address limit check will have th
On Wed, 17 Jan 2018 10:48:34 +0100
Martin Schwidefsky wrote:
> To be able to switch off specific CPU alternatives with kernel parameters
> make a copy of the facility bit mask provided by STFLE and use the copy
> for the decision to apply an alternative.
>
> Reviewed-by: Christian Borntraeger
>
From: Matthew Wilcox
Commits c0b334c5bfa9 and ea9b0c8a26a2 introduced new sparse warnings
by accessing rcu_node->lock directly and ignoring the __private
marker. Introduce a new wrapper and use it. Also fix a similar problem
in srcutree.c introduced by a3883df3935e.
Signed-off-by: Matthew Wil
Em Wed, Jan 17, 2018 at 10:33:42AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu:
> > On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote:
> > > after this patch, perf script(parent-1040, child-1041):
> > > test_fork 1040 [002]
CONFIG_IRQ_DOMAIN_DEBUG is similar to CONFIG_GENERIC_IRQ_DEBUGFS,
just with less information.
Spring cleanup time.
Signed-off-by: Marc Zyngier
---
Documentation/IRQ-domain.txt| 36 +
arch/arm/configs/aspeed_g4_defconfig| 1 -
arch/arm/configs/aspeed_g5_defconf
On Wed, Jan 17, 2018 at 10:19:45AM +0100, Peter Zijlstra wrote:
> > > @@ -664,6 +670,21 @@ static int handle_group_alt(struct objto
> > > insn->sec, insn->offset);
> > > return -1;
> > > }
> > > +
> > > + if (special_alt->static_feat)
From: Chao Yu
This patch makes f2fs_ioc_shutdown handling error case correctly.
Signed-off-by: Chao Yu
---
fs/f2fs/file.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 94be67591d1f..593a79447907 100644
--- a/fs/f2fs/file.c
From: Chao Yu
Once filesystem shuts down, daemons like gc/discard thread should be
aware of it, and do exit, in addtion, drop all pending discards in
cache and exit real-time discard mode.
Signed-off-by: Chao Yu
---
fs/f2fs/f2fs.h| 1 +
fs/f2fs/file.c| 4
fs/f2fs/gc.c | 2 ++
Thanks Eric for the review!
On Wed, 2018-01-10 at 20:00 -0800, Eric Biggers wrote:
> Hi André,
>
> On Wed, Jan 10, 2018 at 12:44:16PM +, André Draszik wrote:
> > This is heavily based on commit 79a73d188726
> > ("encrypted-keys: add ecryptfs format support").
> >
> > The 'encrypted' key type
On Wed, Jan 17, 2018 at 11:59:06AM +0100, Alban Crequy wrote:
> [Adding Tejun, David, Tom for question about cuse]
>
> On Fri, Dec 22, 2017 at 3:32 PM, Dongsu Park wrote:
> > From: Seth Forshee
> >
> > In order to support mounts from namespaces other than
> > init_user_ns, fuse must translate ui
On Wed, Jan 17, 2018 at 08:27:59AM -0600, Josh Poimboeuf wrote:
> > > > + if (insn->jump_dest == fake_jump) {
> > > > + WARN_FUNC("jump inside alternative for
> > > > _static_cpu_has()",
> > > > + insn->sec
Hi Dave,
here are few more important fixes to the net tree for 4.15, I hope they
still make it. Please let me know if there are any problems.
Kalle
The following changes since commit 49fdde89e2b8574cb55f99b57b7798f44567bc4b:
Merge ath-current from
git://git.kernel.org/pub/scm/linux/kernel/g
On 2018-01-17 06:12, Corey Minyard wrote:
On 01/16/2018 02:59 PM, Corey Minyard wrote:
On 01/16/2018 05:43 AM, Haiyue Wang wrote:
The KCS (Keyboard Controller Style) interface is used to perform
in-band
IPMI communication between a server host and its BMC (BaseBoard
Management
Controllers).
Thanks Avi, wait for your response when new patch is ready. :-)
BR,
Haiyue
On 2018-01-17 20:54, Avi Fishman wrote:
Sounds great for us (Nuvoton).
Avi.
On Wed, Jan 17, 2018 at 8:32 AM, Wang, Haiyue
wrote:
On 2018-01-17 07:06, Joel Stanley wrote:
On Tue, Jan 16, 2018 at 2:59 PM, Corey Minya
On 17 January 2018 at 14:01, Daniel Vetter wrote:
> Nothing in the entire tree ever sets this, which means this is dead
> code. Remove it.
>
> Cc: Lee Jones
> Cc: Daniel Thompson
> Cc: Jingoo Han
> Signed-off-by: Daniel Vetter
> ---
> drivers/video/backlight/generic_bl.c | 5 -
Fly-by com
On Wed, Jan 17, 2018 at 9:27 AM, Daniel Vetter wrote:
> On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
>> The two functions pass a partially initialized structure back to the
>> caller after a memset() on the destination.
>>
>> This is not entirely well-defined, most compilers are
Add SPDX identifier as was done by for example by:
"License cleanup: add SPDX GPL-2.0 license identifier to files with no
license" (commit )
Signed-off-by: Michal Simek
---
arch/arm/boot/dts/zynq-7000.dtsi | 1 +
arch/arm/boot/dts/zynq-microzed.dts | 1 +
arch/arm/boot/dts/zynq-parallell
On Wed, Jan 17, 2018 at 01:22:19PM +, Suzuki K Poulose wrote:
> On 17/01/18 12:25, Dave Martin wrote:
> >On Wed, Jan 17, 2018 at 10:05:56AM +, Suzuki K Poulose wrote:
> >>When a CPU is brought up after we have finalised the system
> >>wide capabilities (i.e, features and errata), we make su
This patch is fixing issue reported by dtc:
arch/arm/boot/dts/zynq-microzed.dtb: Warning (unit_address_vs_reg): Node
/memory has a reg or ranges property, but no unit name
Signed-off-by: Michal Simek
---
arch/arm/boot/dts/zynq-microzed.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Add missing mmc alias.
Signed-off-by: Michal Simek
---
arch/arm/boot/dts/zynq-zc702.dts | 1 +
arch/arm/boot/dts/zynq-zc706.dts | 1 +
arch/arm/boot/dts/zynq-zed.dts | 1 +
arch/arm/boot/dts/zynq-zybo.dts | 1 +
4 files changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/zynq-zc702.dts
301 - 400 of 1318 matches
Mail list logo