On 14-07-20, 20:49, Olof Johansson wrote:
> On Tue, Jul 14, 2020 at 8:07 PM Viresh Kumar wrote:
> >
> > On 14-07-20, 15:50, Lee Jones wrote:
> > > If function callers and providers do not share the same prototypes the
> > > compiler complains of missing prototypes. Fix this by moving the
> > >
Hari Bathini writes:
> @@ -534,7 +537,7 @@ static int __init early_init_dt_scan_memory_ppc(unsigned
> long node,
> #ifdef CONFIG_PPC_PSERIES
> if (depth == 1 &&
> strcmp(uname, "ibm,dynamic-reconfiguration-memory") == 0) {
> - walk_drmem_lmbs_early(node,
On Tue, Jul 14, 2020 at 8:07 PM Viresh Kumar wrote:
>
> On 14-07-20, 15:50, Lee Jones wrote:
> > If function callers and providers do not share the same prototypes the
> > compiler complains of missing prototypes. Fix this by moving the
> > already existing prototypes out to a mutually
> -Original Message-
> From: Richard Cochran
> Sent: Thursday, July 9, 2020 7:31 PM
> To: Ooi, Joyce
> Cc: Thor Thayer ; David S . Miller
> ; Jakub Kicinski ;
> net...@vger.kernel.org; linux-kernel@vger.kernel.org; Dalon Westergreen
> ; Tan, Ley Foon
> ; See, Chin Liang ;
> Nguyen, Dinh
On Wed, Jul 15, 2020 at 11:11 AM Vitor Massaru Iha wrote:
>
> Currently, KUnit does not allow the use of tests as a module.
> This prevents the implementation of tests that require userspace.
If this is what I think it is, thanks! I'll hopefully get a chance to
play with it over the next few
On Tue, Jul 14, 2020 at 7:01 PM Christoph Hellwig wrote:
>
> On Mon, Jul 13, 2020 at 12:55:43PM +0100, Robin Murphy wrote:
> > On 2020-07-13 10:12, Claire Chang wrote:
> >> The bounced DMA ops provide an implementation of DMA ops that bounce
> >> streaming DMA in and out of a specially allocated
On Tue, Jul 14, 2020 at 02:12:03PM -0700, Mike Kravetz wrote:
>On 7/14/20 3:02 AM, Vlastimil Babka wrote:
>> On 7/14/20 11:57 AM, Wei Yang wrote:
>>> On Tue, Jul 14, 2020 at 11:22:03AM +0200, Vlastimil Babka wrote:
On 7/14/20 11:13 AM, Vlastimil Babka wrote:
> On 7/14/20 9:34 AM, Wei Yang
On 14-07-20, 15:43, Walter Lozano wrote:
> When probing cpufreq for iMX6 the values in the efuse needs to be
> read which requires NVMEM_IMX_OCOTP. If this option is not enabled,
> the probe will be deferred forever and cpufreq won't be available.
>
> This patch forces the selection of the
On Mon, Jul 13, 2020 at 7:40 PM Robin Murphy wrote:
>
> On 2020-07-13 10:12, Claire Chang wrote:
> > This series implements mitigations for lack of DMA access control on
> > systems without an IOMMU, which could result in the DMA accessing the
> > system memory at unexpected times and/or
On 2020/7/7 11:51, Jaegeuk Kim wrote:
> On 07/07, Chao Yu wrote:
>> On 2020/7/7 11:21, Jaegeuk Kim wrote:
>>> Hi Chao,
>>>
>>> Do you have any brief design doc to present the idea?
>>
>> Hi Jaegeuk,
>>
>> You mean this whole patchset, right?
>>
>> I can add a brief design description in patch 0/5.
On 7/14/20 10:19 PM, Mark Brown wrote:
> On Mon, Jul 13, 2020 at 06:34:12AM +, tudor.amba...@microchip.com wrote:
>
>> These four patches are looking good, I had just few minor comments.
>> If you too think that they are ok, would you take them through the
>> SPI tree? If so, I would need an
On 14-07-20, 21:18, andrew-sh.cheng wrote:
> On Mon, 2020-07-13 at 15:09 +0530, Viresh Kumar wrote:
> > On 10-07-20, 10:31, Andrew-sh.Cheng wrote:
> > > From: "Andrew-sh.Cheng"
> > >
> > > Need to enable regulator,
> > > so that the max/min requested value will be recorded
> > > even it is not
On 14-07-20, 15:50, Lee Jones wrote:
> This set is part of a larger effort attempting to clean-up W=1
> kernel builds, which are currently overwhelmingly riddled with
> niggly little warnings.
>
> After these patches are applied, the build system no longer
> complains about any W=0 nor W=1 level
Christoph Hellwig writes:
> Both exec and exit want to ensure that the uaccess routines actually do
> access user pointers. Use the newly added force_uaccess_begin helper
> instead of an open coded set_fs for that to prepare for kernel builds
> where set_fs() does not exist.
Acked-by: "Eric W.
On 15-07-20, 08:54, Viresh Kumar wrote:
> On 14-07-20, 22:03, Lee Jones wrote:
> > On Tue, 14 Jul 2020, Rafael J. Wysocki wrote:
> >
> > > On Tue, Jul 14, 2020 at 4:51 PM Lee Jones wrote:
> > > >
> > > > Can't see them being used anywhere and the compiler doesn't complain
> > > > that they're
vmlinux-objs-y is added to targets, which currently means that the EFI
stub gets added to the targets as well. It shouldn't be added since it
is built elsewhere.
This confuses Makefile.build which interprets the EFI stub as a target
$(obj)/$(objtree)/drivers/firmware/efi/libstub/lib.a
and
On Tue, Jul 14, 2020 at 7:50 AM Lee Jones wrote:
>
> If function callers and providers do not share the same prototypes the
> compiler complains of missing prototypes. Fix this by moving the
> already existing prototypes out to a mutually convenient location.
>
> Fixes the following W=1 kernel
On 14-07-20, 22:03, Lee Jones wrote:
> On Tue, 14 Jul 2020, Rafael J. Wysocki wrote:
>
> > On Tue, Jul 14, 2020 at 4:51 PM Lee Jones wrote:
> > >
> > > Can't see them being used anywhere and the compiler doesn't complain
> > > that they're missing, so ...
> >
> > Aren't they needed for
On 07/15/2020 02:56 AM, Emil Renner Berthing wrote:
> This allows the pgtable tests to be built.
>
> Signed-off-by: Emil Renner Berthing
> ---
>
> The tests seem to succeed both in Qemu and on the HiFive Unleashed
>
> Both with and without the recent additions in
>
It is not used since commit 058179e72e09 ("drm/i915/gt: Replace
hangcheck by heartbeats")
Signed-off-by: YueHaibing
---
drivers/gpu/drm/i915/i915_utils.h | 13 -
1 file changed, 13 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_utils.h
b/drivers/gpu/drm/i915/i915_utils.h
The stub helpers name should be consistent with prototypes.
mm_context_add_vas_windows() --> mm_context_add_vas_window()
mm_context_remove_vas_windows() --> mm_context_remove_vas_window()
Fixes: c420644c0a8f ("powerpc: Use mm_context vas_windows counter to issue
CP_ABORT")
Signed-off-by:
The error return code should be PTR_ERR(obj) other than
PTR_ERR(NULL).
Fixes: 5dc7a8b21144 ("bpftool, selftests/bpf: Embed object file inside
skeleton")
Signed-off-by: YueHaibing
---
tools/bpf/bpftool/gen.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
On 2020/7/15 上午5:37, Palmer Dabbelt wrote:
On Fri, 10 Jul 2020 09:19:58 PDT (-0700), guo...@kernel.org wrote:
From: Guo Ren
This enables the use of per-task stack canary values if GCC has
support for emitting the stack canary reference relative to the
value of tp, which holds the task
It is never used, so can remove it.
Signed-off-by: YueHaibing
---
drivers/usb/musb/musb_host.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/musb/musb_host.h b/drivers/usb/musb/musb_host.h
index 32336571f05c..4804d4d85c15 100644
--- a/drivers/usb/musb/musb_host.h
+++
On Wed, Jul 15, 2020 at 01:12:33AM +0200, John Paul Adrian Glaubitz wrote:
> Hello!
>
> I have applied Christoph's full series on top of Linus' tree and I can
> confirm that
> the kernel boots fine on my SH-7785LCR board.
>
> Thus, for the whole series of patches:
>
> Tested-by: John Paul
This adds the conversion of the runtime tests of test_user_copy fuctions,
from `lib/test_user_copy.c`to KUnit tests.
Signed-off-by: Vitor Massaru Iha
---
lib/Kconfig.debug | 17 ++
lib/Makefile| 2 +-
lib/{test_user_copy.c =>
Currently, KUnit does not allow the use of tests as a module.
This prevents the implementation of tests that require userspace.
This patchset makes this possible by introducing the use of
the root filesystem in KUnit. And it allows the use of tests
that can be compiled as a module
Vitor Massaru
Signed-off-by: Vitor Massaru Iha
---
include/kunit/test.h | 1 +
lib/kunit/try-catch.c | 15 ++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/include/kunit/test.h b/include/kunit/test.h
index 59f3144f009a..49c38bdcb93e 100644
--- a/include/kunit/test.h
+++
This makes it possible to use KUnit tests as modules.
And with that the tests can run in userspace.
The filesystem was created using debootstrap:
sudo debootstrap buster buster_rootfs
And change the owner of the root filesystem files
for your user:
sudo chown -R $USER:$USER buster_rootfs
commit 441c19c8a290 ("powerpc/kvm/book3s_hv: Rework the secondary inhibit code")
left behind this, remove it.
Signed-off-by: YueHaibing
---
arch/powerpc/include/asm/smp.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
index
On 14-07-20, 15:50, Lee Jones wrote:
> Repair problems with formatting and missing attributes/parameters, and
> demote header comments which do not meet the required standards
> applicable to kerneldoc.
>
> Fixes the following W=1 kernel build warning(s):
>
>
On 2020/07/15 11:56, YueHaibing wrote:
> They are never used, so can remove it.
>
> Signed-off-by: YueHaibing
> ---
> drivers/scsi/sd.h | 6 --
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
> index 3a74f4b45134..27c0f4e9b1d4 100644
> ---
On 14-07-20, 15:50, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/powernv-cpufreq.c:669:6: warning: no previous prototype for
> ‘gpstate_timer_handler’ [-Wmissing-prototypes]
> drivers/cpufreq/powernv-cpufreq.c:902:6: warning: no previous prototype for
On 14-07-20, 15:50, Lee Jones wrote:
> If function callers and providers do not share the same prototypes the
> compiler complains of missing prototypes. Fix this by moving the
> already existing prototypes out to a mutually convenient location.
>
> Fixes the following W=1 kernel build
Fix spelling typos in ext4_mb_initialize_context.
Signed-off-by: Chunguang Xu
---
fs/ext4/mballoc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index c0a331e..6dc2c6c 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4399,7
Drop doubled words in several comments.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/uapi/linux/nl80211.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
--- linux-next-20200714.orig/include/
Drop doubled word "not" in a comment.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/9p/transport.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/net/9p/transp
Drop doubled word "the" in a comment.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/ip6_fib.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/net/ip6_fib.h
+++
Drop doubled words "are" and "by" in comments.
Change doubled "to to" to "to the".
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/mac80211.h |6 +++---
1 file changed, 3 inse
insertions(+), 2 deletions(-)
--- linux-next-20200714.orig/include/net/cfg80211.h
+++ linux-next-20200714/include/net/cfg80211.h
@@ -423,7 +423,7 @@ struct ieee80211_edmg {
* This structure describes a frequency band a wiphy
* is able to operate in.
*
- * @channels: Array of channels the hard
Drop doubled words in several comments.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/sctp/sctp.h|2 +-
include/net/sctp/structs.h |6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
--- linux-nex
es changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20200714.orig/include/net/caif/caif_layer.h
+++ linux-next-20200714/include/net/caif/caif_layer.h
@@ -156,7 +156,7 @@ struct cflayer {
* CAIF packets upwards in the stack.
* Packet handling rules:
*
Drop doubled word "threshold" in a comment.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/uapi/linux/wireless.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/u
Drop doubled word "of" in a comment.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/regulatory.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/net/regulat
Drop doubled word "to" in a comment.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/net/dsa.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20200714.orig/include/net/dsa.h
+++ linux-n
deletions(-)
--- linux-next-20200714.orig/include/linux/wimax/debug.h
+++ linux-next-20200714/include/linux/wimax/debug.h
@@ -184,8 +184,8 @@ do {
\
/*
- * CPP sintatic sugar to generate A_B like symbol names when one of
- * the
s(-)
--- linux-next-20200714.orig/include/linux/qed/qed_chain.h
+++ linux-next-20200714/include/linux/qed/qed_chain.h
@@ -130,7 +130,7 @@ struct qed_chain {
} pbl_sp;
/* Address of first page of the chain - the address is required
-* for fastpath operation [consu
Drop doubled words in several comments.
Signed-off-by: Randy Dunlap
Cc: "David S. Miller"
Cc: Jakub Kicinski
Cc: net...@vger.kernel.org
---
include/linux/skbuff.h |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-next-20200714.orig/include/linux/skbuff.h
+++
On 14-07-20, 15:50, Lee Jones wrote:
> Kerneldoc format for attribute descriptions should be '@.*: '.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/sti-cpufreq.c:49: warning: cannot understand function
> prototype: 'struct sti_cpufreq_ddata '
>
> Cc: Patrice Chotard
They are never used, so can remove it.
Signed-off-by: YueHaibing
---
drivers/scsi/sd.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 3a74f4b45134..27c0f4e9b1d4 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -229,17 +229,11 @@
On Tue, Jul 14, 2020 at 7:16 PM Lee Jones wrote:
>
> No attempt has been made to document any of the demoted functions here.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/dma/sun4i-dma.c:321: warning: Function parameter or member 'priv'
> not described in
On 14-07-20, 15:50, Lee Jones wrote:
> There is no need for this to be denoted as kerneldoc.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/cpufreq_governor.c:46: warning: Function parameter or member
> 'attr_set' not described in 'store_sampling_rate'
>
commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
left behind this, remove it.
Signed-off-by: YueHaibing
---
include/linux/netpoll.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index f47af135bd56..e6a2d72e0dc7
commit e27e0a94651e ("powerpc/xive: Remove xive_kexec_teardown_cpu()")
left behind this, remove it.
Signed-off-by: YueHaibing
---
arch/powerpc/include/asm/xive.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/xive.h b/arch/powerpc/include/asm/xive.h
index
Pls ignore this.
On 2020/7/15 10:41, YueHaibing wrote:
> commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
> left behind this, remove it.
>
> Signed-off-by: YueHaibing
> ---
> include/linux/netpoll.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git
On 14-07-20, 15:50, Lee Jones wrote:
> -/**
> +/*
> * cpufreq_remove_dev - remove a CPU device
Because cpufreq_add_dev() is part of kernel doc, we better keep it.
> *
> * Removes the cpufreq interface for a CPU device.
> @@ -2373,6 +2374,7 @@ EXPORT_SYMBOL_GPL(cpufreq_unregister_governor);
There is no need to have the 'struct regmap *syscon_regmap' variable
static since new value always be assigned before use it.
Reported-by: Hulk Robot
Signed-off-by: YueHaibing
---
drivers/soc/versatile/soc-integrator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Kirill A. Shutemov 於 2020/7/14 下午6:19 寫道:
On Tue, Jul 14, 2020 at 11:46:12AM +0200, Vlastimil Babka wrote:
On 7/13/20 3:57 AM, Robbie Ko wrote:
Vlastimil Babka 於 2020/7/10 下午11:31 寫道:
On 7/9/20 4:48 AM, robbieko wrote:
From: Robbie Ko
When a migrate page occurs, we first create a
On 14-07-20, 15:50, Lee Jones wrote:
> No attempt has been made to document any of the demoted functions here.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/cpufreq/freq_table.c:229: warning: Function parameter or member
> 'policy' not described in 'show_available_freqs'
>
Hi, Linus
> Subject: RE: [PATCH 1/3] gpio: mxc: Support module build
>
> Hi, Linus
>
> > Subject: Re: [PATCH 1/3] gpio: mxc: Support module build
> >
> > On Wed, Jul 8, 2020 at 1:28 AM Anson Huang
> > wrote:
> >
> > > subsys_initcall(gpio_mxc_init);
> > > +
> > > +MODULE_AUTHOR("Shawn Guo ");
commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
left behind this, remove it.
Signed-off-by: YueHaibing
---
include/linux/netpoll.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index f47af135bd56..e6a2d72e0dc7
Hari Bathini writes:
> diff --git a/arch/powerpc/include/asm/crashdump-ppc64.h
> b/arch/powerpc/include/asm/crashdump-ppc64.h
> new file mode 100644
> index 000..90deb46
> --- /dev/null
> +++ b/arch/powerpc/include/asm/crashdump-ppc64.h
> @@ -0,0 +1,10 @@
> +/* SPDX-License-Identifier:
On Tue, Jul 14, 2020 at 12:52:30PM +0200, Marius Zachmann wrote:
> I found a project which uses hidraw to communicate with the device.
> Because I do not want to break any existing userspace code, I
> changed this to a hid driver, so hidraw can still be used.
> Do I need to include the hid
On 07/14/2020 11:08 PM, Lorenzo Pieralisi wrote:
On Tue, Jul 14, 2020 at 03:37:51PM +0800, Tiezhu Yang wrote:
On 06/12/2020 09:30 AM, Tiezhu Yang wrote:
Use DECLARE_PCI_FIXUP_EARLY instead of DECLARE_PCI_FIXUP_HEADER
for bridge_class_quirk() in pci-loongson.c, otherwise the fixup
has no
commit 263e1201a2c3 ("mptcp: consolidate synack processing.")
left behind this, remove it.
Signed-off-by: YueHaibing
---
include/net/mptcp.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/net/mptcp.h b/include/net/mptcp.h
index 46d0487d2b22..02158c257bd4 100644
---
On Tue, Jul 14, 2020 at 2:33 PM Peter Oskolkov wrote:
>
> On Tue, Jul 14, 2020 at 10:43 AM Mathieu Desnoyers
> wrote:
> >
> > - On Jul 14, 2020, at 1:24 PM, Peter Oskolkov p...@posk.io wrote:
> >
> > > At Google, we actually extended struct rseq (I will post the patches
> > > here once they
This patch introduces two new APIs, one is to calculate from converting
counter to timestamp and provides a reverse flow to convert timestamp
to counter.
Signed-off-by: Leo Yan
---
tools/perf/util/Build| 1 +
tools/perf/util/arm_arch_timer.c | 28
Since the arch timer's counter is used for SPE tracing data, and now
it's ready to use arch timer for sample's timestamp in Perf tool, this
patch is to enable timestamp by convert the arch timer counter value to
the time.
After enabling timestamp for Arm SPE with this patch, we can see the
The Arm arch timer can be used to calculate timestamp, the basic idea is
the arch timer's counter value can be recorded in the hardware tracing
data, e.g. the arch timer's counter value can be used for Arm CoreSight
(not now but might be implemented later) and Arm SPE. So we need a way
to convert
This patch set is to enable Arm arch timer counter and Arm SPE is the
first customer to use arch timer counter for its timestamp.
The patch 01 is to retrieve arch timer's parameters from mmaped page;
patch 02 provides APIs for the conversion between arch timer's counter
and time; patch 03 is to
It is not used since commit 09c7570480f7 ("xfrm: remove flow cache")
Signed-off-by: YueHaibing
---
include/net/flow.h | 18 --
1 file changed, 18 deletions(-)
diff --git a/include/net/flow.h b/include/net/flow.h
index a50fb77a0b27..929d3ca614d0 100644
--- a/include/net/flow.h
On Tue, Jul 14, 2020 at 10:21 PM YueHaibing wrote:
>
> They are not used any more since commit b1edeb102397 ("netlabel: Replace
> protocol/NetLabel linking with refrerence counts")
>
> Signed-off-by: YueHaibing
> ---
> include/net/cipso_ipv4.h | 12
> 1 file changed, 12
Hi Greg,
On Wed, Jul 15, 2020 at 3:11 AM Greg Kroah-Hartman
wrote:
>
> From: Maxime Ripard
>
> [ Upstream commit 842ec61f4006a6477a9deaedd69131e9f46e4cb5 ]
>
> The main DRM device is actually a virtual device so it doesn't have the
> iommus property, which is instead on the DMA masters, in this
On Tue, 2020-07-14 at 18:46 -0500, Bjorn Helgaas wrote:
> Yes. I have no problem with that. There are a few cases where it's
> important to check for errors, e.g., we read a status register and do
> something based on a bit being set. A failure will return all bits
> set, and we may do the
On Tue, Jul 14, 2020 at 12:08:46PM +0200, Oscar Salvador wrote:
> On Tue, Jun 30, 2020 at 01:08:03AM -0400, Qian Cai wrote:
> > Even after applied the compling fix,
> >
> > https://lore.kernel.org/linux-mm/20200628065409.GA546944@u2004/
> >
> > madvise(MADV_SOFT_OFFLINE) will fail with EIO with
They are not used any more since commit b1edeb102397 ("netlabel: Replace
protocol/NetLabel linking with refrerence counts")
Signed-off-by: YueHaibing
---
include/net/cipso_ipv4.h | 12
1 file changed, 12 deletions(-)
diff --git a/include/net/cipso_ipv4.h b/include/net/cipso_ipv4.h
Hi all,
On Tue, 14 Jul 2020 19:21:24 -0400 Qian Cai wrote:
>
> On Sun, Jun 28, 2020 at 09:56:25AM -0400, Guo Xuenan wrote:
> > It is no need do finish_wait twice after acquiring inflight.
> >
> > Signed-off-by: Guo Xuenan
> > ---
> > block/blk-rq-qos.c | 2 --
> > 1 file changed, 2
On Wed, Jul 8, 2020 at 2:52 PM Ravi Bangoria
wrote:
>
> Pedro Miraglia Franco de Carvalho noticed that on p8, DAR value is
> inconsistent with different type of load/store. Like for byte,word
> etc. load/stores, DAR is set to the address of the first byte of
> overlap between watch range and real
On 2020/7/15 9:50, Stephen Rothwell wrote:
> I have added this patch to linux-next today.
thanks.
On Tue, 2020-07-14 at 23:02 +0200, Kjetil Oftedal wrote:
> >
> > > For b), it might be nice to also change other aspects of the
> > > interface, e.g. passing a pci_host_bridge pointer plus bus number
> > > instead of a pci_bus pointer, or having the callback in the
> > > pci_host_bridge
On Tue, 2020-07-14 at 13:45 -0500, Bjorn Helgaas wrote:
>
> > fail for valid arguments on a valid pci_device* ?
>
> I really like this idea.
>
> pci_write_config_*() has one return value, and only 100ish of 2500
> callers check for errors. It's sometimes possible for config
> accessors to
Hi all,
After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
block/blk-timeout.c: In function 'blk_round_jiffies':
block/blk-timeout.c:96:14: error: 'CONFIG_HZ_ROUGH_MASK' undeclared (first use
in this function)
96 | return (j +
发件人: Eric Dumazet
发送时间: 2020年7月14日 22:15
收件人: Zhang, Qiang; jma...@redhat.com; da...@davemloft.net; k...@kernel.org;
tuong.t.l...@dektech.com.au; eric.duma...@gmail.com; Xue, Ying
抄送: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net;
From: Peter Zijlstra
This completes the ARM64 cap_user_time support.
Signed-off-by: Peter Zijlstra (Intel)
---
arch/arm64/kernel/perf_event.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index
From: Peter Zijlstra
In order to support short clock counters, provide an ABI extension.
As a whole:
u64 time, delta, cyc = read_cycle_counter();
+ if (cap_user_time_short)
+ cyc = time_cycle + ((cyc - time_cycle) & time_mask);
delta = mul_u64_u32_shr(cyc, time_mult,
This patch set is rebased for Peter's patch set to support
cap_user_time/cap_user_time_short ABI for Arm64, and export Arm arch
timer counter related parameters from kernel to Perf tool.
In this version, there have two changes comparing to Peter's original
patch set [1]:
The first change is for
Vlastimil Babka 於 2020/7/14 下午5:46 寫道:
On 7/13/20 3:57 AM, Robbie Ko wrote:
Vlastimil Babka 於 2020/7/10 下午11:31 寫道:
On 7/9/20 4:48 AM, robbieko wrote:
From: Robbie Ko
When a migrate page occurs, we first create a migration entry
to replace the original pte, and then go to
From: Peter Zijlstra
In order to support perf_event_mmap_page::cap_time features, an
architecture needs, aside from a userspace readable counter register,
to expose the exact clock data so that userspace can convert the
counter register into a correct timestamp.
Provide struct clock_read_data
From: Peter Zijlstra
As reported by Leo; the existing implementation is broken when the
clock and counter don't intersect at 0.
Use the sched_clock's struct clock_read_data information to correctly
implement cap_user_time and cap_user_time_zero.
Note that the ARM64 counter is architecturally
From: Peter Zijlstra
When sched_clock is running on anything other than arch_timer, don't
advertise cap_user_time*.
Requested-by: Will Deacon
Signed-off-by: Peter Zijlstra (Intel)
---
arch/arm64/kernel/perf_event.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
To get the changes in the commit:
"perf: Add perf_event_mmap_page::cap_user_time_short ABI"
This update is a prerequisite to add support for short clock counters
related ABI extension.
Signed-off-by: Leo Yan
---
tools/include/uapi/linux/perf_event.h | 23 ---
1 file
> Thanks for your reply.
>
> > > Also, rename ERR_MEDIUM to MED_FAILURE.
> > I think that MEDIA_FAILURE looks better.
>
> I think so too.
> If so, should I change VOL_DIRTY to VOLUME_DIRTY?
Yes, maybe.
>
> > > -int exfat_set_vol_flags(struct super_block *sb, unsigned short
> > > new_flag)
> > >
Hi Pavel,
On Wed, Jul 15, 2020 at 7:33 AM Pavel Machek wrote:
>
> Hi!
>
> > Add support for the LED feature of the NCT6795D chip found on some
> > motherboards, notably MSI ones. The LEDs are typically used using a
> > RGB connector so this driver creates one LED device for each color
> >
syzbot is reporting general protection fault in bitfill_aligned() [1]
caused by integer underflow in bit_clear_margins(). The cause of this
problem is when and how do_vc_resize() updates vc->vc_{cols,rows}.
If vc_do_resize() fails (e.g. kzalloc() fails) when var.xres or var.yres
is going to
Hi all,
On Wed, 15 Jul 2020 08:25:19 +0800 Bixuan Cui wrote:
>
> Gcc report the following warning without CONFIG_MEMCG_KMEM:
>
> mm/percpu-internal.h:145:29: warning: 'pcpu_chunk_type' defined
> but not used [-Wunused-function]
> static enum pcpu_chunk_type pcpu_chunk_type(struct pcpu_chunk
On Wed, Jul 15, 2020 at 2:41 AM Arvind Sankar wrote:
>
> The compressed kernel currently contains bogus run-time relocations in
> the startup code in head_{32,64}.S, which are generated by the linker,
> but must not actually be processed at run-time.
>
> This generates warnings when linking with
Add maintainer Alexander Viro :)
On 7/15/20 12:12 AM, yanfei...@windriver.com wrote:
From: Yanfei Xu
when get_unused_fd_flags gets failure, userfaultfd_ctx_cachep will
be freed by userfaultfd_fops's release function which is the
userfaultfd_release. So we could return directly after fput().
On Tue, Jul 14, 2020 at 02:09:12PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel
>
> The APs are not ready to handle exceptions when verify_cpu() is called
> in secondary_startup_64.
Eek, no. MSR_IA32_MISC_ENABLE_XD_DISABLE needs to be cleared very early
during CPU startup; this can't just be
On Tue, Jul 14, 2020 at 02:08:36PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel
>
> The code inserted by the stack protector does not work in the early
> boot environment because it uses the GS segment, at least with memory
> encryption enabled. Make sure the early code is compiled without
On Tue, Jul 14, 2020 at 02:08:31PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel
I'm not a huge fan of the Subject. :) Maybe:
x86/idt: Make IDT init functions static inlines
>
> Move these two functions from kernel/idt.c to include/asm/desc.h:
>
> * init_idt_data()
> *
101 - 200 of 1986 matches
Mail list logo