Hi Dan,
Today's linux-next merge of the nvdimm tree got a conflict in:
fs/ext4/inode.c
between commit:
545052e9e35a ("ext4: Switch to iomap for SEEK_HOLE / SEEK_DATA")
from the ext4 tree and commit:
31bc9582e43d ("ext4: Support for synchronous DAX faults")
from the nvdimm tree.
I fixe
For added security, the layout of some structures can be
randomized by enabling CONFIG_GCC_PLUGIN_RANDSTRUCT. One
such structure is task_struct. To build BPF programs, we
use Clang which does not support this feature. So, if we
attempt to read a field of a structure with a randomized
layout within
From: Colin Ian King
A shadow declaration of variable ret is being assigned a return error
status and this value is being lost when the error exit goto's jump
out of the local scope. This leads to an uninitalized error return value
in the outer scope being returned. Fix this by removing the inner
Reviewed-By: Xiangliang Yu
Thanks!
> -Original Message-
> From: Arnd Bergmann [mailto:a...@arndb.de]
> Sent: Thursday, November 02, 2017 7:26 PM
> To: Deucher, Alexander ; Koenig, Christian
>
> Cc: Arnd Bergmann ; David Airlie ; Liu,
> Monk ; Yu, Xiangliang ;
> Chen, Horace ; amd-...@li
From: Colin King
Date: Thu, 2 Nov 2017 20:04:12 +
> From: Colin Ian King
>
> Currently gen_flags is being operated on by a logical && operator rather
> than a bitwise & operator. This looks incorrect as these should be bit
> flag operations. Fix this.
>
> Detected by CoverityScan, CID#146
From: Kees Cook
Date: Thu, 2 Nov 2017 16:18:07 -0700
> In preparation for unconditionally passing the struct timer_list pointer to
> all timer callbacks, switch to using the new timer_setup() and from_timer()
> to pass the timer pointer explicitly.
>
> Cc: Karsten Keil
> Cc: "David S. Miller"
From: "Gustavo A. R. Silva"
Date: Thu, 2 Nov 2017 16:14:14 -0500
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
...
> Signed-off-by: Gustavo A. R. Silva
Applied.
On 11/03/2017 01:53 PM, Haozhong Zhang wrote:
Some reserved pages, such as those from NVDIMM DAX devices, are
not for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory ty
Den 10/29/2017 17:21, skrev Ywe Cærlyn:
Den 10/29/2017 17:00, skrev Ywe Cærlyn:
Den 10/27/2017 23:28, skrev Ywe Cærlyn:
Den 10/27/2017 23:01, skrev Ywe Cærlyn:
Philosophical requantization of a (atm) theoretical linux
distribution:
Excellent Ubuntu, is a Good Linux, with a Minimal Jitter Ker
2017-11-03 14:31 GMT+08:00 Krish Sadhukhan :
>
>
> On 11/02/2017 05:50 PM, Wanpeng Li wrote:
>>
>> From: Wanpeng Li
>>
>> According to the SDM, if the "load IA32_BNDCFGS" VM-entry controls is 1,
>> the
>> following checks are performed on the field for the IA32_BNDCFGS MSR:
>> - Bits reserved in
From: Colin Ian King
The variable ret is being checked for failure however it is not being set
from the return status from the call to imx274_mode_regs. Currently ret is
alwayus zero and the check is redundant. Fix this by assigning it.
Detected by CoverityScan, CID#1460278 ("Logically dead code
On Thu, Nov 02, 2017 at 08:30:46PM +, Bird, Timothy wrote:
> Add my name to the list.
>
> Signed-off-by: Tim Bird
> ---
> Documentation/process/kernel-enforcement-statement.rst | 1 +
> 1 file changed, 1 insertion(+)
Thanks, now applied.
greg k-h
It is common for services to be stateless around their main event loop.
If a process sets PR_SET_IDLE to PR_IDLE_MODE_KILLME then it
signals to the kernel that epoll_wait() and friends may not complete,
and the kernel may send SIGKILL if resources get tight.
See my systemd patch: https://github.co
On Thu, 2 Nov 2017 16:36:53 -0700
Kees Cook wrote:
> On Wed, Oct 25, 2017 at 11:38 PM, Martin Schwidefsky
> wrote:
> > On Wed, 25 Oct 2017 03:27:37 -0700
> > Kees Cook wrote:
> >
> >> In preparation for unconditionally passing the struct timer_list pointer to
> >> all timer callbacks, switch
On Fri, Nov 03, 2017 at 08:45:46AM +0800, Lu Baolu wrote:
> Hi,
>
> On 11/03/2017 12:51 AM, Greg Kroah-Hartman wrote:
> > On Thu, Nov 02, 2017 at 12:38:57PM +0200, Felipe Balbi wrote:
> >> >
> >> > Hi,
> >> >
> >> > Greg Kroah-Hartman writes:
> > >> Greg Kroah-Hartman writes:
> >>> >
Le 31/10/2017 à 15:58, Boris Brezillon a écrit :
Hi Christophe,
On Sun, 22 Oct 2017 10:28:31 +0200
Christophe JAILLET wrote:
If 'chip->state == FL_SYNCING', we will 'goto retry' with the mutex
'&shared->lock' already taken.
In such a case, the 'mutex_lock' at line 927 can never succeed.
In o
Hi Dan,
Today's linux-next merge of the nvdimm tree got a conflict in:
fs/dax.c
between commit:
19fe5f643f89 ("iomap: Switch from blkno to disk offset")
from the ext4 tree and commit:
cac0def9d075 ("dax: Simplify arguments of dax_insert_mapping()")
from the nvdimm tree.
I fixed it up
Only patch 4 can be merged to stable, please ignore cc-stable in the rest.
-- Original --
From: "Christoph Hellwig";
Date: Fri, Nov 3, 2017 01:14 PM
To: "陈华才";
Cc: "Marek Szyprowski"; "Christoph
Hellwig"; "Robin Murphy"; "Andrew
Morton"; "Fuxin Zhang";
"lin
> > From v1:
> > - remove guest-only mode because guest-only mode can be covered by
> > host-guest mode;
> > - always set "use GPA for processor tracing" in secondary execution
> > control if it can be;
> > - trap RTIT_CTL read/write. Forbid write this msr when VMXON in L1
> > hypervisor.
>
Hi Vishal,
In probe(), it calls imx274_load_default(imx274), which has I2C
register read/write to the IMX274. If it fails, it will exit probe().
So it works as a sensor detection function as you suggested.
Regards,
Leon Luo
1130 Cadillac CT
Milpitas, CA 95035
Phone: (510)371-1169
Fax: (408) 217-19
Signed-off-by: Haozhong Zhang
---
include/linux/kvm_host.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 6882538eda32..caf6f7a6bdb2 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -27,6 +27,7 @@
#include
Some reserved pages, such as those from NVDIMM DAX devices, are
not for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory type, the
performance of guest accesses to those pag
pat_pfn_is_uc(pfn) is added and will be used by KVM to check whether
the memory type of a host pfn is UC/UC-.
Signed-off-by: Haozhong Zhang
---
arch/x86/include/asm/pat.h | 2 ++
arch/x86/mm/pat.c | 14 ++
2 files changed, 16 insertions(+)
diff --git a/arch/x86/include/asm
Some reserved pages, such as those from NVDIMM DAX devices, are
not for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory type, the
performance of guest accesses to those pag
On 2017/11/3 11:37, Jaegeuk Kim wrote:
> On 11/02, Chao Yu wrote:
>> On 2017/10/31 11:40, Jaegeuk Kim wrote:
>>> This patch supports hidden quota files in the system, which will be used for
>>> Android. It requires up-to-date f2fs-tools later than v1.9.0.
>>>
>>> Signed-off-by: Jaegeuk Kim
>>> ---
Hopefully this is the last batch of networking fixes for 4.14
Fingers crossed...
1) Fix stmmac to use the proper sized OF property read, from Bhadram
Varka.
2) Fix use after free in net scheduler tc action code, from Cong
Wang.
3) Fix SKB control block mangling in tcp_make_synack().
4)
Hi Linus,
After merging the gpio tree, yesterday's linux-next build (arm
multi_v7_defconfig) produced these warnings:
arch/arm/boot/dts/bcm2835-rpi-b.dtb: Warning (phys_property): Missing property
'#phy-cells' in node /phy or bad phandle (referred from
/soc/usb@7e98:phys[0])
arch/arm/boot/d
From: Egil Hjelmeland
Date: Thu, 2 Nov 2017 10:36:48 +0100
> The lan9303 driver defines eth_stp_addr as a synonym to
> eth_reserved_addr_base to get the STP ethernet address 01:80:c2:00:00:00.
>
> eth_reserved_addr_base is also used to define the start of Bridge Reserved
> ethernet address rang
From: Arnd Bergmann
Date: Thu, 2 Nov 2017 12:05:51 +0100
> I ran into this link error with the latest net-next plus linux-next
> trees when networking is disabled:
>
> kernel/bpf/verifier.o:(.rodata+0x2958): undefined reference to
> `tc_cls_act_analyzer_ops'
> kernel/bpf/verifier.o:(.rodata+0x
From: Arnd Bergmann
Date: Thu, 2 Nov 2017 12:05:52 +0100
> The bpf_verifer_ops array is generated dynamically and may be
> empty depending on configuration, which then causes an out
> of bounds access:
>
> kernel/bpf/verifier.c: In function 'bpf_check':
> kernel/bpf/verifier.c:4320:29: error: a
I can queue 1 up in the dma-mapping tree, and if I get reviews for
the mips and scsi bits I'd be happy to queue those up as well.
But I think you'd be better off moving patches 3 and 4 to the front
without the dma_get_cache_alignment prototype change so that they can be
merged to stable.
On Thu 05 Oct 09:49 PDT 2017, Anup Patel wrote:
> The RPMSG_VIRTIO is now user selectable option so we explicitly
> select it in multi_v7_defconfig. Till now RPMSG_VIRTIO was
> selected by ST_REMOTEPROC=m in multi_v7_defconfig.
>
Acked-by: Bjorn Andersson
> Signed-off-by: Anup Patel
Regards,
On Tue, Oct 31, 2017 at 04:33:13PM -0700, Joe Perches wrote:
> On Wed, 2017-11-01 at 10:16 +1100, Tobin C. Harding wrote:
> > Cool, thanks Joe I'll keep this in mind for when we get to %pa.
>
> fyi: There are more of these misuses of 0x%pa now:
>
> $ git grep -E -n "0[xX]%pa[dp]?\b"
> drivers/d
On Thu, Oct 26, 2017 at 9:33 PM, Anup Patel wrote:
> On Thu, Oct 5, 2017 at 10:19 PM, Anup Patel wrote:
>> The RPMSG_VIRTIO is now user selectable option so we explicitly
>> select it in multi_v7_defconfig. Till now RPMSG_VIRTIO was
>> selected by ST_REMOTEPROC=m in multi_v7_defconfig.
>>
>> Sign
On Sun, Oct 22, 2017 at 11:46:41AM +0900, Stafford Horne wrote:
> Add devicetree binding documentation for the OpenRISC platform
> opencores,or1ksim. This is the main OpenRISC reference platform
> supporting multiple FPGA SoC's.
>
> This format is based on some of the mips binding docs as we have
FYI, we noticed the following commit (built with gcc-4.9):
commit: b664d57f39d01e775204d4f1a7e2f8bda77bc549 ("kprobes/x86: Remove IRQ
disabling from jprobe handlers")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: boot
on test machine: qemu-system-x86_64 -e
The dual tachometer feature is implemented in hardware with a TACHSEL
input to indicate the rotor under measurement, and exposed on the device
by extending the READ_FAN_SPEED_1 word with two extra bytes*. The need
to read the non-standard four-byte response leads to a cut-down
implementation of i2c
Some circumstances call for virtual pages to expose multiple values
packed into an extended PMBus register in a manner non-compliant with
the PMBus standard. We should not try to set virtual pages on the
device; add a flag so we can avoid doing so.
Signed-off-by: Andrew Jeffery
---
drivers/hwmon
Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes.
Fans in a PMBus device are driven by the configuration of two registers:
FAN_CONFIG_x_y and FAN_COMMAND_x: FAN_CONFIG_x_y dictates how the fan
and the tacho operate (if installed), while FAN_COMMAND_x sets the
desired fan rate. The u
The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan
management with temperature and remote voltage sensing. Various fan control
features are provided, including PWM frequency control, temperature hysteresis,
dual tachometer measurements, and fan health monitoring.
This pa
The implementation makes use of the new fan control virtual registers
exposed by the pmbus core. It mixes use of the default implementations
with some overrides via the read/write handlers to handle FAN_COMMAND_1
on the MAX31785, whose definition breaks the value range into various
control bands de
Because I found that it will still lead to out-of-free problem with out
that check.
I trace and find that it is possible that the committing date pages of
the atomic
file is bigger than the sbi->user_block_count - valid_user_blocks(sbi),
so I add
this check.
On 2017/11/3 11:46, Jaegeuk Kim wro
Signed-off-by: Andrew Jeffery
---
.../devicetree/bindings/hwmon/max31785.txt | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/max31785.txt
diff --git a/Documentation/devicetree/bindings/hwmon/max31785.txt
b/Documen
Hello,
This series introduces support for the MAX31785 intelligent fan controller, a
PMBus device providing closed-loop fan control among a number of other
features. Along the way the series adds support to control fans and create
virtual pages to the PMBus core, the latter to support some of the
Hi Linus,
One nouveau regression fix,
Some amdgpu fixes for stable to fix hangs on some harvested Polaris GPUs
A set of KASAN and regression fixes for i915, their CI system seems to
be working pretty well now.
Dave.
The following changes since commit 0b07194bb55ed836c2cc7c22e866b87a14681984:
Why this is still un-merged? Should I remove the cc-stable and resend this
series?
Huacai
-- Original --
From: "陈华才";
Date: Thu, Oct 26, 2017 02:33 PM
To: "Marek Szyprowski"; "Christoph
Hellwig";
Cc: "Robin Murphy"; "Andrew
Morton"; "Fuxin Zhang";
"linu
On Fri, Nov 3, 2017 at 6:02 AM, Shuah Khan wrote:
> On 11/02/2017 05:54 PM, Laura Abbott wrote:
>> On 11/02/2017 10:53 AM, Shuah Khan wrote:
>>> On 11/02/2017 10:19 AM, Shuah Khan wrote:
On 11/02/2017 10:15 AM, Pintu Kumar wrote:
> On Thu, Nov 2, 2017 at 8:37 PM, Shuah Khan wrote:
>>
Hi Leon,
I understand this fixes correctly freeing the v4l control handlers in probe().
But if there is a scenario where the sensor is mounted on a removable daughter
card,
shouldn't the probe fail if the daughter card is not connected?
A sample read/write to an IMX274 register should be suffic
OpenRISC borrows its timer sync logic from MIPS, Matt helped to review
the OpenRISC implementation and noted that we may suffer the same
deadlock case that MIPS has faced. The case being:
"the MIPS timer synchronization code contained the possibility of
deadlock. If you mark a CPU online befor
Hi all,
I reproduce it with qemu. The exact reason of panic is the NULL-dereference
in memory_present:
(gdb) bt
#0 0x08dd8c6c in sparse_index_init (nid=,
section_nr=)
at mm/sparse.c:80
#1 memory_present (nid=0, start=18446462598881083392, end=0) at mm/sparse.c:215
#2 0x08dc
ping...
On 2017/10/30 21:04, Yunlong Song wrote:
f2fs_balance_fs only actives once in the commit_inmem_pages, but there
are more than one page to commit, so all the other pages will miss the
check. This will lead to out-of-free problem when commit a very large
file. However, we cannot do f2fs_ba
Add cputype definition macros for Qualcomm Datacenter Technologies
Falkor CPU in cputype.h. It's unfortunate that the first revision
of the Falkor CPU used the wrong part number 0x800, got fixed in v2
chip with part number 0xC00, and would be used the same value for
future revisions.
Signed-off-by
ping...
On 2017/10/13 21:31, Yunlong Song wrote:
This can help us to debug on some corner case.
Signed-off-by: Yunlong Song
Signed-off-by: Chao Yu
---
fs/f2fs/gc.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 197ebf4..2b03202 10
On Sat, Oct 28, 2017 at 11:35 AM, Gavin Guo wrote:
> On Fri, Oct 27, 2017 at 10:53 PM, Hannes Reinecke wrote:
>> On 10/27/2017 04:02 PM, Gavin Guo wrote:
>>> Hi Hannes,
>>>
>>> Thank you for looking into the issue. If there is anything I can help
>>> to test the patch? I appreciate your help. Tha
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/asm
head: 1e4c4f610f774df6088d7c065b2dd4d22adba698
commit: da51da189a24bb9b7e2d5a123be096e51a4695a5 [24/32] x86/entry/64: Pass SP0
directly to load_sp0()
config: x86_64-randconfig-in0-11031034 (attached as .config)
compiler:
This patch introduces two helper macros read_sctlr and write_sctlr
to access system register SCTLR_ELn. Replace all MSR/MRS references
to sctlr_el1{el2} with macros.
This should cause no behavioral change.
Signed-off-by: Shanker Donthineni
---
arch/arm64/include/asm/assembler.h | 18 ++
The ARM architecture defines the memory locations that are permitted
to be accessed as the result of a speculative instruction fetch from
an exception level for which all stages of translation are disabled.
Specifically, the core is permitted to speculatively fetch from the
4KB region containing th
On Falkor CPU, we’ve discovered a hardware issue which might lead to a
kernel crash or the unexpected behavior. The Falkor core may errantly
access memory locations on speculative instruction fetches. This may
happen whenever MMU translation state, SCTLR_ELn[M] bit is being changed
from enabled to
ernel/git/djbw/nvdimm.git/log/?h=
libnvdimm-vs-next-20171102
---
commit 2adeca04276acb4e747dbe7a5668efe03b164566
Merge: fa8785e862ef c29c91a9daa3
Author: Dan Williams
Date: Thu Nov 2 19:20:59 2017 -0700
Merge branch 'libnvdimm-for-next' into test
diff --cc fs/dax.c
index 3652b26a00
Hi Shuah,
On 2 November 2017 at 02:22, Shuah Khan wrote:
> On 10/23/2017 01:42 AM, Sumit Semwal wrote:
>> The current mainline breakpoints test for arm64 fails to compile with
>>
>> breakpoint_test_arm64.c: In function ‘set_watchpoint’:
>> breakpoint_test_arm64.c:97:28: error: storage size of ‘dr
On Friday 03 November 2017 05:49 AM, Michael Ellerman wrote:
Madhavan Srinivasan writes:
On Wednesday 01 November 2017 06:22 AM, Michael Ellerman wrote:
Anju T Sudhakar writes:
Call trace observed during boot:
What's the actual oops?
I could recreate this in mambo with CPUS=2 and THREA
Hello Lei,
On 2 November 2017 at 07:43, lyang0 wrote:
>
>
> On 2017年11月02日 06:59, Shuah Khan wrote:
>>
>> On 11/01/2017 04:52 PM, Thomas Gleixner wrote:
>>>
>>> On Wed, 1 Nov 2017, Shuah Khan wrote:
On 10/17/2017 08:10 PM, lei.y...@windriver.com wrote:
>
> From: Lei Yang
>
On 02-11-17, 15:32, Arnd Bergmann wrote:
> This driver is the only one using the deprecated timeval_to_ns()
> helper. Changing it from do_gettimeofday() to ktime_get() makes
> the code more efficient, more robust against concurrent
> settimeofday(), more accurate and lets us get rid of that helper
From: Fuyun Liang
This patch adds set_link_ksettings support for ethtool cmd.
Signed-off-by: Fuyun Liang
Signed-off-by: Lipeng
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns
From: Fuyun Liang
The value of link_modes.advertising and the value of link_modes.supported
is initialized to zero every time in for loop in hns3_driv_to_eth_caps().
But we just want to set specified bit for them. Initialization is
unnecessary. This patch fixes it.
Fixes: 496d03e (net: hns3: Add
On 10/13, Yunlong Song wrote:
> This can help us to debug on some corner case.
>
> Signed-off-by: Yunlong Song
> Signed-off-by: Chao Yu
> ---
> fs/f2fs/gc.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
> index 197ebf4..2b03202 100644
On Wed, Nov 01, 2017 at 01:46:36PM +, Guenter Roeck wrote:
> On 10/31/2017 01:16 AM, Eric Long wrote:
> > This patch adds the watchdog driver for Spreadtrum SC9860 platform.
> >
> > Signed-off-by: Eric Long
> > ---
> > Changes since v3:
> > - Update Kconfig SPRD_WATCHDOG help messages.
> >
On 02-11-17, 07:40, Rob Herring wrote:
> No. As an example, ideally of_device_alloc would be an internal
> function. But we have one user in ibmebus.
Okay. Lets abandon this change then.
--
viresh
From: Fuyun Liang
This patch adds nway_reset support for ethtool cmd.
Signed-off-by: Fuyun Liang
Signed-off-by: Lipeng
---
.../net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/
On 02-11-17, 12:06, Chris Redpath wrote:
> According to my diff, this was the commit which switched from assigning
> the values directly (and not overwriting the cpu member, which was
> introduced in the other commit you reference) to using a memset and
> clearing the whole struct.
I understand wh
On 11/02, Chao Yu wrote:
> On 2017/10/31 11:40, Jaegeuk Kim wrote:
> > This patch supports hidden quota files in the system, which will be used for
> > Android. It requires up-to-date f2fs-tools later than v1.9.0.
> >
> > Signed-off-by: Jaegeuk Kim
> > ---
> > fs/f2fs/checkpoint.c | 9 +++-
> >
From: Fuyun Liang
This patch fixes a bug for ethtool's get_link_ksettings().
The advertising for autoneg is always added to advertised_caps
whether autoneg is enable or disable. This patch fixes it.
Fixes: 496d03e (net: hns3: Add Ethtool support to HNS3 driver)
Signed-off-by: Fuyun Liang
Signed
This patch-set adds support for set_link_ksettings && for nway_resets
ethtool command and fixes some related ethtool bugs.
1, patch[4/6] adds support for ethtool_ops.set_link_ksettings.
2, patch[5/6] adds support ethtool_ops.for nway_reset.
3, patch[1/6,2/6,3/6,6/6] fix some bugs for getting port i
From: Fuyun Liang
This patch fixes a bug for ethtool's get_link_ksettings().
When phy exists, we should get autoneg from phy rather than from mac.
Because the value of mac.autoneg is invalid when phy exists.
Fixes: 496d03e (net: hns3: Add Ethtool support to HNS3 driver)
Signed-off-by: Fuyun Lian
i mean for reading swap fault try_to_free_swap in do_swap_page
could hurt clean swap cache pages and make them dirty. it affects
reclaim procedure in shrink_page_list and let this function write
out much more these dirty anonymous pages. in fact these dirty
anonymous pages might keep clean origina
From: Fuyun Liang
This patch fixes a bug for phy supported feature initialization.
Currently, the value of phydev->supported is initialized by kernel.
So it includes many features that we do not support, such as
SUPPORTED_FIBRE and SUPPORTED_BNC. This patch fixes it.
Fixes: 256727d (net: hns3: A
On 10/30, Yunlong Song wrote:
> f2fs_balance_fs only actives once in the commit_inmem_pages, but there
> are more than one page to commit, so all the other pages will miss the
> check. This will lead to out-of-free problem when commit a very large
> file. However, we cannot do f2fs_balance_fs for e
On Thu, 2 Nov 2017 23:16:16 +0100
Vlastimil Babka wrote:
> > + if (spin) {
> > + /* We spin waiting for the owner to release us
> > */
> > + spin_acquire(&console_owner_dep_map, 0, 0,
> > _THIS_IP_);
> > +
Matthew Wilcox writes:
> (I don't think I can reliably send patches from outlook; sorry for
> breaking the threading)
>
> I see where we're not incrementing the failure count ... try this patch!
>
> --- 8< ---
>
> Subject: Fix bitmap optimisation tests to report errors correctly
> From: Matthew W
Hi Pavel,
At 11/03/2017 01:26 AM, Pavel Tatashin wrote:
tsc_early_init():
Determines offset, shift and multiplier for the early clock based on the
TSC frequency.
tsc_early_fini()
Implement the finish part of early tsc feature, prints message about the
offset, which can be useful to find out how
On Thu, Nov 02, 2017 at 12:07:13PM +0100, Thomas Gleixner wrote:
> On Thu, 2 Nov 2017, Ingo Molnar wrote:
>
> > * Ricardo Neri wrote:
> >
> > > + /*
> > > + * -EDOM means that we must ignore the address_offset. In such a case,
> > > + * in 64-bit mode the effective address relative to the RIP
On Thu, Nov 02, 2017 at 09:51:08AM +0100, Ingo Molnar wrote:
>
> * Ricardo Neri wrote:
>
> > + /*
> > +* -EDOM means that we must ignore the address_offset. In such a case,
> > +* in 64-bit mode the effective address relative to the RIP of the
> > +* following instruction.
> > +
The total memory size we get in kernel is usually slightly less than 2G with a
2G memory module machine. The main reason is bios/firmware reserve some area
it will not export all memory as usable to Linux.
2G memory X86 kvm guest test result of the total_mem value:
UEFI boot with ovmf: 0x7ef1
On 11/02/17 19:25 -0700, Dan Williams wrote:
> On Thu, Nov 2, 2017 at 6:16 PM, Haozhong Zhang
> wrote:
> > Signed-off-by: Haozhong Zhang
> > ---
> > include/linux/kvm_host.h | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> >
Shuah Khan writes:
> Change run_tests to print individual test results to console by default.
> Introduce "summary" option to print individual test results to a file
> /tmp/test_name and just print the summary to the console.
>
> This change is necessary to support use-cases where test machines g
On Fri, Nov 3, 2017 at 1:54 AM, Guenter Roeck wrote:
> On Thu, Nov 02, 2017 at 02:53:48PM +1100, Joel Stanley wrote:
>> The ASPEED SoC must deassert a reset in order to use the PWM/tach
>> peripheral.
>>
> Again, you claim that the current driver would not work at all, which
> is simply not correc
Dan Williams writes:
> In support of removing the VM_MIXEDMAP indication from DAX VMAs,
> introduce pfn_t_special() for drivers to indicate that _PAGE_SPECIAL
> should be used for DAX ptes. This also helps identify drivers like
> dccssblk that only want to use DAX in a read-only fashion without
>
On 2017年10月24日 09:16, Kemi Wang wrote:
> It's expensive to set buffer flags that are already set, because that
> causes a costly cache line transition.
>
> A common case is setting the "verified" flag during ext4 writes.
> This patch checks for the flag being set first.
>
> With the AIM7/creat-
On Thu, Nov 2, 2017 at 6:16 PM, Haozhong Zhang wrote:
> Signed-off-by: Haozhong Zhang
> ---
> include/linux/kvm_host.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> index 6882538eda32..759fe498c89e 100644
> --- a/include/linux/k
Hi Qing,
> -Original Message-
> From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma-
> ow...@vger.kernel.org] On Behalf Of Qing Huang
> Sent: Thursday, November 02, 2017 6:22 PM
> To: linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: dledf...@redhat.com; sean.he...@intel
During block exchange in {insert,collapse,move}_range, page-block mapping
is unstable due to mapping moving or recovery, so there should be no
concurrent cache read operation rely on such mapping, nor cache write
operation to mess up block exchange.
So this patch let background GC be aware of that
On Thu, Nov 02, 2017 at 04:57:11PM -0500, Josh Poimboeuf wrote:
> There have been some cases where external tooling (e.g., kpatch-build)
> creates a corrupt relocation which targets the wrong address. This is a
> silent failure which can corrupt memory in unexpected places.
>
> On x86, the bytes
Commit f9cf3b2880cc ("platform/x86: hp-wmi: Refactor dock and tablet
state fetchers") consolidated the methods for docking and laptop mode
detection, but omitted to apply the correct mask for the laptop mode
(it always uses the constant for docking).
Signed-off-by: Stefan Brüns
---
This change
Hi Pavel,
At 11/03/2017 01:26 AM, Pavel Tatashin wrote:
tsc_disabled is set when notsc is passed as kernel parameter. The reason we
have notsc is to avoid timing problems on multi-preccors systems. However,
we already have a mechanism to detect and resolve these issues by invoking
tsc unstable p
Currently if the autofs kernel module gets an error when
writing to the pipe which links to the daemon, then it
marks the whole moutpoint as catatonic, and it will stop working.
It is possible that the error is transient. This can happen
if the daemon is slow and more than 16 requests queue up.
On Thu, Nov 02, 2017 at 09:25:24PM +0100, Pali Rohár wrote:
> This machine reports number of keyboard backlight led levels, instead of
> value of the last led level index. Therefore max_brightness properly needs
> to be subtracted by 1 to match led max_brightness API.
>
> Signed-off-by: Pali Rohár
Some reserved pages, such as those from NVDIMM DAX devices, are
not for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory type, the
performance of guest accesses to those pag
Signed-off-by: Haozhong Zhang
---
include/linux/kvm_host.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 6882538eda32..759fe498c89e 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -67,6 +67,9 @@
#define KV
pat_pfn_is_uc(pfn) is added and will be used by KVM to check whether
the memory type of a host pfn is UC/UC-.
Signed-off-by: Haozhong Zhang
---
arch/x86/include/asm/pat.h | 2 ++
arch/x86/mm/pat.c | 14 ++
2 files changed, 16 insertions(+)
diff --git a/arch/x86/include/asm
Some reserved pages, such as those from NVDIMM DAX devices, are
not for MMIO, and can be mapped with cached memory type for better
performance. However, the above check misconceives those pages as
MMIO. Because KVM maps MMIO pages with UC memory type, the
performance of guest accesses to those pag
1 - 100 of 1012 matches
Mail list logo