From: Dmitry Eremin
Rename variable i to cpu to make code easier to understand.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review.whamcloud.com/23222
Reviewed-by: Amir Shehata
Reviewed-by: James Simmons
Reviewed-by: Oleg Drokin
On Tue, May 29, 2018 at 4:41 AM, Arnd Bergmann wrote:
> Enabling the PCI_MVEBU driver for compile testing caused a build failure
> on ARM randconfig builds:
>
> drivers/pci/host/pci-mvebu.c: In function 'mvebu_pcie_del_windows':
> drivers/pci/host/pci-mvebu.c:341:3: error: implicit declaration of
From: Dmitry Eremin
Reporting "HW nodes" is too generic. It really is reporting
"HW NUMA nodes". Update the debug message.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review.whamcloud.com/23306
Reviewed-by: James Simmons
Reviewed-b
From: Dmitry Eremin
Rework CPU partition code in the way of make it more tolerant to
offline CPUs and empty nodes.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review.whamcloud.com/23222
Reviewed-by: Amir Shehata
Reviewed-by: James
From: Dmitry Eremin
For cfs_cpt_bind() change the CERROR to CDEBUG. Make the debug
message in cfs_cpt_table_create_pattern() more understandable.
Report rc value for when cfs_cpt_create_table() fails.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed
From: Dmitry Eremin
Use int type for CPT identification to match the linux kernel
CPU identification.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review.whamcloud.com/23304
Reviewed-by: James Simmons
Reviewed-by: Doug Oucharek
Rev
From: Dmitry Eremin
Change goto label out to err.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review.whamcloud.com/23222
Reviewed-by: Amir Shehata
Reviewed-by: James Simmons
Reviewed-by: Oleg Drokin
Signed-off-by: James Simmons
From: Dmitry Eremin
The main idea to have more CPU partitions is based on KNL experience.
When a thread submit IO for network communication one of threads from
current CPT is used for network stack. Whith high parallelization many
threads become involved in network submission but having less CPU
2018-05-29 14:53+0800, Wanpeng Li:
> From: Wanpeng Li
>
> 'Commit d0659d946be0 ("KVM: x86: add option to advance tscdeadline
> hrtimer expiration")' advances the tscdeadline (the timer is emulated
> by hrtimer) expiration in order that the latency which is incurred
> by hypervisor (apic_timer_
From: Dmitry Eremin
Because we handle both cpu mask as well as core identifiers it can
easily be confused. To avoid this rename various cpumask_var_t to
have appended *_mask to their names.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https:
On 5/29/18 2:12 AM, Christoph Hellwig wrote:
> Meh. Do we really need these switch to octal patches to start
> with? I mean, I personally prefer octal, but just switching around
> in random code that isn't otherwise changed creates nothing but churn.
This is exactly why I hesitated doing it, I k
From: Dmitry Eremin
fix crash if CPU 0 disabled.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8710
Reviewed-on: https://review.whamcloud.com/23305
Reviewed-by: Doug Oucharek
Reviewed-by: Andreas Dilger
Signed-off-by: James Simmons
---
Changelog:
v1) New p
From: Dmitry Eremin
Currently the module param string for CPU pattern can be
modified which is wrong. Rewrite CPU pattern parsing code
to avoid the passed buffer from being changed. This change
also enables us to add real errors propogation to the caller
functions.
Signed-off-by: Dmitry Eremin
From: Dmitry Eremin
Update the debug messages for the CPT table creation code. Place
the passed in string in quotes to make it clear what it is.
Captialize cpu in the debug strings.
Signed-off-by: Dmitry Eremin
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
Reviewed-on: https://review
From: Andrew Perepechko
The refill operation of the xattr cache does not know the
reply size in advance, so it makes a guess based on
the maxeasize value returned by the MDS.
In practice, it allocates 16 KiB for the common case and
4 MiB for the large xattr case. However, a typical reply
is just
From: Dmitry Eremin
* remove scratch buffer and mutex which guard it.
* remove global cpumask and spinlock which guard it.
* remove cpt_version for checking CPUs state change during setup
because of just disable CPUs state change during setup.
* remove whole global struct cfs_cpt_data cpt_data.
From: James Simmons
Fixed the bugs in the set_acl patch pointed out by Dan Carpenter.
Rebased the next patch 'remove unused parameter..." on the parent
patch. Created new acl.c file to match what other linx kernel file
systems do. Added newer xattr fixes that were recently pushed.
Andrew Perepec
Hi Jeffrin,
On 05/18/2018 01:19 PM, Shuah Khan wrote:
> On 05/18/2018 08:05 AM, Jeffrin Jose T wrote:
>> Additional message along with an error message which is more
>> verbose for debug support from aperf.c and updated with the
>> new return value "KSFT_SKIP".
>>
>> Signed-off-by: Jeffrin Jose T
On 5/26/18 4:45 AM, Wei Yongjun wrote:
> The function alloc_dma_buffer() is called from ibmvmc_add_buffer(),
> in which a spin lock be held here, so we should use GFP_ATOMIC when
> a lock is held.
>
> Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)")
> Signed-off-by: Wei
Hi Lukasz,
On Tue, May 29, 2018 at 10:58 AM, Lukasz Majewski wrote:
> Sorry for "small" delay on this.
>
> Ok, so I've investigated the issue:
>
> 1. The code, which you pasted:
> http://code.bulix.org/ik01yu-339697
>
> works correctly as imx53-qsb-common.dtsi directly includes "imx53.dtsi"
> in
On Tue, May 29, 2018 at 3:59 PM, Christoph Hellwig wrote:
>> vfs: add f_op->pre_mmap()
>
> We've been through these pre-mmap games a few times, and always rejected
> them, why is this any different?
Don't know what the other cases were.
Overlayfs case is completely state free. It just doe
Hi Bjorn,
Thanks for the review.
On 05/29/2018 10:35 AM, Bjorn Andersson wrote:
On Mon 21 May 11:45 PDT 2018, Sibi Sankar wrote:
In some occasions the remoteproc device might need to
prepare some hardware before the coredump can be performed
and cleanup the state afterwards.
Q6V5 modem requi
Now that the fuse and the vfs work is complete. Allow the fuse filesystem
to be mounted by the root user in a user namespace.
Signed-off-by: "Eric W. Biederman"
---
fs/fuse/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 22c7
On Tue, 2018-05-29 at 16:02 +0800, Anson Huang wrote:
> Correct MIPI/PCIe/USB_HSIC's PGC offset based on
> design RTL, the value on Reference Manual are incorrect.
>
> The correct offset should be as below:
>
> -#define PGC_MIPI 4
> -#define PGC_PCIE 5
>
Miklos Szeredi writes:
> On Tue, May 29, 2018 at 2:42 PM, Eric W. Biederman
> wrote:
>> ebied...@xmission.com (Eric W. Biederman) writes:
>>
>>> ebied...@xmission.com (Eric W. Biederman) writes:
>>>
Ensure the translation happens by failing to read or write
posix acls when the filesyst
Hi,
On Mon, May 28, 2018 at 01:20:32PM +0530, Jagan Teki wrote:
> From: Michael Trimarchi
>
> clk-gate core will take bit_idx through clk_register_gate
> and then do clk_gate_ops by using BIT(bit_idx), but rtc-sun6i
> is passing bit_idx as BIT(bit_idx) it becomes BIT(BIT(bit_idx)
> which is wron
mark_rodata_ro is only called by the function mark_readonly
when CONFIG_STRICT_KERNEL_RWX=y
if CONFIG_STRICT_KERNEL_RWX is not set
a compile warning may be triggered: unused function
Signed-off-by: nixiaoming
---
arch/x86/mm/init_32.c | 2 ++
arch/x86/mm/init_64.c | 2 ++
2 files changed, 4 ins
mark_rodata_ro is only called by the function mark_readonly
when CONFIG_STRICT_KERNEL_RWX=y
if CONFIG_STRICT_KERNEL_RWX is not set
a compile warning may be triggered: unused function
Signed-off-by: nixiaoming
---
arch/s390/mm/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/s39
mark_rodata_ro is only called by the function mark_readonly when
CONFIG_STRICT_KERNEL_RWX=y,
if CONFIG_STRICT_KERNEL_RWX is not set
a compile warning may be triggered: unused function
Signed-off-by: nixiaoming
---
arch/arm64/mm/mmu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm
> vfs: add f_op->pre_mmap()
We've been through these pre-mmap games a few times, and always rejected
them, why is this any different?
> vfs: export vfs_dedupe_file_range_one() to modules
Please use EXPORT_SYMBOL_GPL for all these crazy low-level exports.
To be homest I'd really like
Hi Fabio,
> Hi Lukasz,
>
> On Sat, May 19, 2018 at 9:02 AM, Lukasz Majewski
> wrote:
>
> > After removing imx53-kp-ddc and imx53-kp-common iomux subnodes I do
> > see following errors in the dmesg (v4.17-rc5):
> >
> > imx53-pinctrl 53fa8000.iomuxc: function 'iomuxc' not supported
> > imx53-pinc
It's possible to overflow the offset to get a negative value, which might
crash the system, or possibly leak kernel data.
Here is a crash log when using 25 as offset:
[ 6050.251552] BUG: unable to handle kernel paging request at 989cfd6edca0
[ 6050.252053] IP: load_misc_binary+0x22b/0
On Sat, 26 May 2018, Vladimir Davydov wrote:
> > The reference counting is only implemented for root kmem_caches for
> > simplicity. The reference of a root kmem_cache is elevated on sharing or
> > while its memcg kmem_cache creation or deactivation request is in the
> > fly and thus it is made su
.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs (2018-05-15
10:48:36 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
tags/afs-fixes-20180529
for you to fetch changes up to 1fba5868eed82766fb374c7d367166706f9269d5:
af
On Tue, May 29, 2018 at 08:44:22AM -0500, Eric W. Biederman wrote:
> Christian Brauner writes:
>
> > On Tue, May 29, 2018 at 07:24:26AM -0500, Eric W. Biederman wrote:
> >> Christian Brauner writes:
> >>
> >> > Instead of using a goto for this let's add a simple helper copy_pending()
> >> > whi
Hi Adrian,
We've made tools/perf/check-headers.sh the mechanism to check
for drift on kernel file copies we have in tools/, and it assumes that
if we have tools/a/b/c/d, then it came from a/b/c/d in the kernel
sources, e.g. a copy of the kernel's arch/x86/lib/x86-opcode-map.txt
would be in
Christian Brauner writes:
> On Tue, May 29, 2018 at 07:24:26AM -0500, Eric W. Biederman wrote:
>> Christian Brauner writes:
>>
>> > Instead of using a goto for this let's add a simple helper copy_pending()
>> > which can be called in both places.
>>
>> Ick no. As far as I can see this just co
Hi Patrick,
On 25 May 2018 at 17:54, Patrick Bellasi wrote:
> On 25-May 15:12, Vincent Guittot wrote:
>> schedutil governor relies on cfs_rq's util_avg to choose the OPP when cfs
>^
>
On Wed, Mar 07, 2018 at 04:02:45PM -0800, Brian Belleville wrote:
> The final field of a floppy_struct is the field "name", which is a
> pointer to a string in kernel memory. The kernel pointer should not be
> copied to user memory. The FDGETPRM ioctl copies a floppy_struct to
> user memory, includ
On Mon, 28 May 2018 17:54:18 +0800
Baoquan He wrote:
> On 05/23/18 at 03:10pm, Luiz Capitulino wrote:
> > On Fri, 18 May 2018 19:28:36 +0800
> > Baoquan He wrote:
> >
> > > > Note that it's not KASLR specific: if we had some other kernel feature
> > > > that tried
> > > > to allocate a piec
Hi Al,
I'm sending this pull request to you instead of Linus, because a bigger than
usual chunk involves the VFS.
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git for-viro
This update contains the following:
- Deal with vfs_mkdir() not instantiating dentry.
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 6 ++
1 file changed, 6 insertions(+)
diff --
This series is split of the Coresight ETR perf support patches posted
here [0]. The CATU support and perf backend support will be posted as
separate series for better management and review of the patches.
This series adds the support for TMC ETR Scatter-Gather mode to allow
using physical non-cont
On Mon, May 28, 2018 at 12:46:35PM +0200, Jan Kiszka wrote:
> On 2018-05-28 12:00, Vladimir Zapolskiy wrote:
> > Hi Jan, Bjorn,
> >
> > On 05/15/2018 12:07 PM, Jan Kiszka wrote:
> >> From: Jan Kiszka
> >>
> >> Another step towards a managed version of
> >> of_pci_get_host_bridge_resources(): Feed
We zero out the entire trace buffer used for ETR before it is enabled,
for helping with debugging. With the addition of scatter-gather mode,
the buffer could be bigger and non-contiguous.
Get rid of this step; if someone wants to debug, they can always add it
as and when needed.
Cc: Mathieu Poiri
On Fri, May 25, 2018 at 12:31 PM, Viresh Kumar wrote:
> The cooling device properties, like "#cooling-cells" and
> "dynamic-power-coefficient", should either be present for all the CPUs
> of a cluster or none. If these are present only for a subset of CPUs of
> a cluster then things will start fal
Right now we open code filling the trace buffer with synchronization
packets when the circular buffer wraps around in different drivers.
Move this to a common place. While at it, clean up the barrier_pkt
array to strip off the trailing '\0'.
Cc: Mathieu Poirier
Cc: Mike Leach
Signed-off-by: Suzu
Add ETM PIDs of the Arm cortex-A CPUs to the white list of ETMs.
While at it add a helper macro to make it easier to add the new
entries.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
Changes since last version:
- Use ETM's ID register to dump the version, rather than hard
coding i
We are about to add the support for ETR builtin scatter-gather mode
for dealing with large amount of trace buffers. However, on some of
the platforms, using the ETR SG mode can lock up the system due to
the way the ETR is connected to the memory subsystem.
In SG mode, the ETR performs READ from th
Advertise that the scatter-gather is properly integrated on
all revisions of Juno board.
Cc: Sudeep Holla
Cc: Liviu Dudau
Cc: Lorenzo Pieralisi
Acked-by: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
arch/arm64/boot/dts/arm/juno-base.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --g
This patch adds support for setting up an SG table used by the
TMC ETR inbuilt SG unit. The TMC ETR uses 4K page sized tables
to hold pointers to the 4K data pages with the last entry in a
table pointing to the next table with the entries, by kind of
chaining. The 2 LSBs determine the type of the t
At the moment we adjust the buffer pointers for reading the trace
data via misc device in the common code for ETF/ETB and ETR. Since
we are going to change how we manage the buffer for ETR, let us
move the buffer manipulation to the respective driver files, hiding
it from the common code. We do so
The TMC-ETR can use the target trace buffer in two different modes.
Normal physically contiguous mode and a discontiguous list pages in
Scatter-Gather mode. Also we have dedicated Coresight component, CATU
(Coresight Address Translation Unit) to provide improved scatter-gather
mode in Coresight SoC
Add the support for Scatter-Gather mode to the etr-buf layer.
Since we now have two different modes, we choose the backend
based on a set of conditions, documented in the code.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
Change since last version:
- New in this version, splitted fro
We don't support ETR in perf mode yet. So, don't
even try to enable the hardware, even by mistake.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
drivers/hwtracing/coresight/coresight-tmc-etr.c | 28 ++---
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git
This patch introduces a generic sg table data structure and
associated operations. An SG table can be used to map a set
of Data pages where the trace data could be stored by the TMC
ETR. The information about the data pages could be stored in
different formats, depending on the type of the underlyi
Now that we can dynamically switch between contiguous memory and
SG table depending on the trace buffer size, provide the support
for selecting an appropriate buffer size.
Cc: Mathieu Poirier
Signed-off-by: Suzuki K Poulose
---
.../ABI/testing/sysfs-bus-coresight-devices-tmc| 8 ++
...
Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/serdev.h | 1 +
1 file changed
Allow creating and deleting devices via sysfs. Devices created will be
matched to serdev drivers via modalias (the string provided by the user)
and deleted via their name. Eg:
# Create device
root@qt5022:~# echo ttydev > /sys/bus/serial/devices/serial0/new_device
# Delete device
root@qt5022:~#
> From: Javier Gonzalez [mailto:jav...@cnexlabs.com]
> This case cannot occur on the only user of the function
> (pblk_recov_l2p()). On the previous check (pblk_line_was_written()), we
> verify the state of the line and the position of the first good chunk. In
> the case of a bad line (less chunks
Match devices to drivers by their modalias when the ACPI and the OF
match fails.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 ++-
1 file changed, 22 insertions(+), 1 delet
Currently, serdev device driver can only be used with devices that are
nodes of a device tree, or are part of the ACPI table.
Id_table will be used for devices that are created at runtime or that
are not part of the device tree nor the ACPI table.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah
Create modalias sysfs attribute for modalias devices.
This is required by modprobe/udev to autoload the serdev driver.
Eg:
root@qt5022:~# cat /sys/bus/serial/devices/serial1-0/modalias
serdev:ttydev
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 2 ++
1 file changed, 2
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 17 +
1 file changed, 17 insertions(+
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd/
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 2 ++
1 file changed, 2 ins
Dave Chinner writes:
> On Thu, May 24, 2018 at 06:23:30PM -0500, Eric W. Biederman wrote:
>> "Theodore Y. Ts'o" writes:
>>
>> > On Wed, May 23, 2018 at 06:22:56PM -0500, Eric W. Biederman wrote:
>> >>
>> >> Very slowly the work has been progressing to ensure the vfs has the
>> >> necessary sup
This patch allows file2alias to generate the proper module headers to
support serdev modalias drivers.
Eg:
root@qt5022:~# modinfo serdev:ttydev | grep alias
alias: serdev:ttydev_serdev
alias: serdev:ttydev
root@qt5022:~#
cat /lib/modules/4.16.0-qtec-standard/modules.ali
This way we can reuse this structure in other modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 9 +
drivers/tty/serdev/serport.h| 16
2 files chan
This allows us to treat differently this controllers, by creating a tty
compatibility layer.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 1 +
include/linux/serdev.h | 1 +
Standard TTY port that can be loaded/unloaded via serdev sysfs. This
serdev driver can only be used by serdev controllers that are compatible
with ttyport.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/Kco
If a serdev ttyport controller does not have an acpi nor an of child,
create a ttydev as a child of that controller.
Doing this allows the removal, addition and replacement of ttydev devices
at runtime.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Rica
Create the sysfs uevent for modalias devices. This is required by newer
versions of udev for autoload modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6 insertions
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 2 ++
1 file changed, 2 in
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 6 ++
1 file changed, 6 insertions(+)
diff --gi
There are some situations where it is interesting to load/remove serdev
devices dynamically, like during board bring-up or when we are
developing a new driver or for devices that are neither described via
ACPI or device tree.
This implementation allows the creation of serdev devices via sysfs,
in
2018-05-29 3:27 GMT+09:00 Luc Van Oostenryck :
> The kernel depends on macros like __BYTE_ORDER__,
> __BIG_ENDIAN__ or __LITTLE_ENDIAN__.
>
> OTOH, sparse doesn't know about the endianness of the kernel and
> by default uses the same as the machine on which sparse was built.
>
> Ensure that sparse
2018-05-28 22:47 GMT+09:00 Luc Van Oostenryck :
> Currently, $(CHECK) receives NOSTDINC_FLAGS twice:
> * first directly in the main Makefile via CHECKFLAGS,
> * then indirectly in scripts/Makefile.build via c_flags.
>
> Since once is enough, leave the occurence via c_flags and
> remove the one via
2018-05-24 12:16 GMT+09:00 nixiaoming :
> scripts/kallsyms.c: function write_src:
> "printf", the #1 format specifier "d" need arg type "int",
> but the according arg "table_cnt" has type "unsigned int"
>
> scripts/recordmcount.c: function do_file:
> "fprintf", the #1 format specifier "d" need arg
On Tue, May 29, 2018 at 2:42 PM, Eric W. Biederman
wrote:
> ebied...@xmission.com (Eric W. Biederman) writes:
>
>> ebied...@xmission.com (Eric W. Biederman) writes:
>>
>>> Ensure the translation happens by failing to read or write
>>> posix acls when the filesystem has not indicated it supports
>>
ebied...@xmission.com (Eric W. Biederman) writes:
> ebied...@xmission.com (Eric W. Biederman) writes:
>
>> Ensure the translation happens by failing to read or write
>> posix acls when the filesystem has not indicated it supports
>> posix acls.
>>
>> This ensures that modern cached posix acl suppo
On Tue, May 29, 2018 at 07:24:26AM -0500, Eric W. Biederman wrote:
> Christian Brauner writes:
>
> > Instead of using a goto for this let's add a simple helper copy_pending()
> > which can be called in both places.
>
> Ick no. As far as I can see this just confuses the logic of the
> collect_si
After 43838a23a05f ("random: fix crng_ready() test") early boot calls
to get_random_bytes() will warn on each cpu on x86 because the crng
is not initialized. For example,
random: get_random_bytes called from start_kernel+0x8e/0x587 with crng_init=0
x86 only uses get_random_bytes() for better ran
On Tue, May 29, 2018 at 07:28:27AM -0500, Eric W. Biederman wrote:
> Christian Brauner writes:
>
> > Let's return early when lock_task_sighand() fails and move send_signal()
> > and unlock_task_sighand() out of the if block.
>
> Introducing multiple exits into a function. Ick.
> You do know tha
From: Dong Jia Shi
If the device has not been registered, or there is work pending,
we should reschedule a sch_event call again.
Signed-off-by: Dong Jia Shi
Message-Id: <20180502072559.50691-1-bjsdj...@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck
Signed-off-by: Cornelia Huck
---
drivers/s3
On Tue 29-05-18 05:51:58, Jonathan Corbet wrote:
> On Tue, 29 May 2018 10:26:44 +0200
> Michal Hocko wrote:
>
> > Although the api is documented in the source code Ted has pointed out
> > that there is no mention in the core-api Documentation and there are
> > people looking there to find answers
Signed-off-by: Naveen N. Rao
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/error-injection.h | 9 +
arch/powerpc/include/asm/ptrace.h | 5 +
3 files changed, 15 insertions(+)
create mode 100644 arch/powerpc/include/asm/error-injection.h
diff
From: Halil Pasic
There is at least one relevant guest OS that doesn't set the IDA flags in
the ORB as we would like them, but never uses any IDA. So instead of
saying -EOPNOTSUPP when observing an ORB, such that a channel program
specified by it could be a not supported one, let us say -EOPNOTSU
From: Dong Jia Shi
Let's avoid free on ccw->cda that points to a guest address
or an already freed memory area by setting it to NULL if memory
allocation didn't happen or failed.
Signed-off-by: Dong Jia Shi
Message-Id: <20180523025645.8978-4-bjsdj...@linux.ibm.com>
Signed-off-by: Cornelia Huck
From: Dong Jia Shi
The kernel doc description for usage of the struct pfn_array in
pfn_array_pin() is unnecessary long. Let's shorten it by describing
the contents of the struct pfn_array fields at the struct's definition
instead.
Suggested-by: Cornelia Huck
Signed-off-by: Dong Jia Shi
Message
From: Dong Jia Shi
This refactors pfn_array_alloc_pin() and also improves it by adding
defensive code in error handling so that calling pfn_array_unpin_free()
after error return won't lead to problem. This mainly does:
1. Merge pfn_array_pin() into pfn_array_alloc_pin(), since there is no
othe
From: Halil Pasic
Add some tracepoints so we can inspect what is not working as is should.
Signed-off-by: Halil Pasic
Signed-off-by: Dong Jia Shi
Message-Id: <20180523025645.8978-5-bjsdj...@linux.ibm.com>
Signed-off-by: Cornelia Huck
---
drivers/s390/cio/Makefile | 1 +
drivers/s390
The following changes since commit 3376d98021e915196f4894d835325a884e635a04:
s390/archrandom: Rework arch random implementation. (2018-05-25 08:12:58
+0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git
tags/vfio-ccw-20180529
[...]
> > Right, thanks. Ah, maybe we should strive to meet the 80-chars bound
> > by splitting the command with "\"?
>
> We could, but combined with your later request for indentation, we end
> up with something like this:
>
> $ norm7 -bell linux-kernel.bell \
> Rfi Once Po
Hi Dan,
On Tue, 2018-05-29 at 12:05 +0300, Dan Carpenter wrote:
> Not really related to this patch except I was looking at the function:
>
> security/integrity/evm/evm_secfs.c
>191 ab = audit_log_start(NULL, GFP_KERNEL,
> AUDIT_INTEGRITY_EVM_XATTR);
>192 if (IS_ERR(ab))
On 05/29/2018 01:51 PM, Alex Elder wrote:
> On 05/29/2018 04:16 AM, Arnaud Pouliquen wrote:
> . . .
>
>>> +unroll_preparation:
>>> + list_for_each_entry_continue_reverse(subdev, &rproc->subdevs, node) {
>>> + if (subdev->unprepare)
>>> + subdev->unprepare(subdev);
Hi Colin,
On Sun, 2018-05-27 at 23:55 +0100, Colin King wrote:
> From: Colin Ian King
>
> In the case where the allocation of xattr fails and xattr is NULL, the
> error exit return path via label 'out' will dereference xattr when
> kfree'ing xattr-name. Fix this by only kfree'ing xattr->name an
On 29 May 2018 at 11:00, Benjamin Herrenschmidt
wrote:
> This series brings in a number of improvements to our FSI stack
> (one of the service interfaces for communicating between a BMC chip and
> our POWER processors).
>
> The GPIO based "Soft FSI" performance is significantly improved, and
> it'
If phys_addr is not page aligned, ioremap_page_range() will align down it
when get pfn by phys_addr >> PAGE_SHIFT. An example in arm64 system with
64KB page size:
phys_addr: 0xefff8000
res->start: 0x0
res->end: 0x0
PCI_IOBASE: 0x7fdffee0
This will remap virtual address 0x7f
601 - 700 of 917 matches
Mail list logo