Early boot code, that setup page table should be able to initialize page
tables for both 4- and 5-level paging modes.
Signed-off-by: Kirill A. Shutemov
---
arch/x86/kernel/head64.c | 33 ++---
arch/x86/kernel/head_64.S | 10 --
2 files changed, 26 insertions(
This patch prepare decompression code to boot-time switching between 4-
and 5-level paging.
Signed-off-by: Kirill A. Shutemov
---
arch/x86/boot/compressed/head_64.S | 24
1 file changed, 24 insertions(+)
diff --git a/arch/x86/boot/compressed/head_64.S
b/arch/x86/boot/c
All pieces of the puzzle are in place and we can now allow to boot with
CONFIG_X86_5LEVEL=y on a machine without la57 support.
Kernel will detect that la57 is missing and fold p4d at runtime.
Update documentation and Kconfig option description to reflect the
change.
Signed-off-by: Kirill A. Shut
This patch converts the of CONFIG_X86_5LEVEL check to runtime checks for
p4d folding.
Signed-off-by: Kirill A. Shutemov
---
arch/x86/mm/fault.c| 2 +-
arch/x86/mm/ident_map.c| 2 +-
arch/x86/mm/init_64.c | 30 ++
arch/x86/mm/kasan_init_6
For boot-time switching between paging modes, we need to be able to
change STACK_TOP_MAX at runtime.
The change is trivial and it doesn't affect kernel image size.
Signed-off-by: Kirill A. Shutemov
---
arch/x86/include/asm/processor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
It was decided 5-level paging is not going to be supported in XEN_PV.
Let's drop the dead code from XEN_PV code.
Signed-off-by: Kirill A. Shutemov
Reviewed-by: Juergen Gross
Tested-by: Juergen Gross
---
arch/x86/xen/mmu_pv.c | 159 +++---
1 file cha
We are going to support boot-time switching between 4- and 5-level
paging. For KASAN it means we cannot have different KASAN_SHADOW_OFFSET
for different paging modes: the constant is passed to gcc to generate
code and cannot be changed at runtime.
This patch changes KASAN code to use 0xdc0
The basic idea is to implement the same logic as pgtable-nop4d.h provides,
but at runtime.
Runtime folding is only implemented for CONFIG_X86_5LEVEL=y case. With the
option disabled, we do compile-time folding as before.
Initially, I tried to fold pgd instread. I've got to shell, but it
required
On Thu, Aug 17, 2017 at 05:22:20PM +0200, Joerg Roedel wrote:
> What I absolutly don't want is that the whole explicit TLB flushing
> of the IOMMU-API (as introduced in this patch-set) is considered some
> optional part of the API, as it would be when I just introduce _async
> versions of map/unmap
ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by work with
const ac97_pcm. So mark the non-const structs as const.
Arvind Yadav (4):
[PATCH 1/4] ALSA: aaci: constify ac97_pcm structures
[PATCH 2/4] ALSA: ac97c: constify ac97_pcm structures
[PAT
ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by work with
const ac97_pcm. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/pci/atiixp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/atii
ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by work with
const ac97_pcm. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/pci/intel8x0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/in
ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by work with
const ac97_pcm. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/arm/aaci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/arm/aaci.c
ac97_pcm are not supposed to change at runtime. All functions
working with ac97_pcm provided by work with
const ac97_pcm. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
sound/atmel/ac97c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/atmel/a
When calling the function devm_snd_soc_register_card to
register a sound card,the address of snd_soc_card will be
assigned to dev->driver_data automatically,so there is no
extra need to call platform_set_drvdata.
Peng Donglin (10):
ASoC: s3c24xx_uda134x: Remove unnecessary function call
ASoC:
Joerg Roedel writes:
> From: Joerg Roedel
>
> This patch adds a global iommu-handle to the pamu driver and
> initializes it at probe time. Also link devices added to the
> iommu to this handle.
>
> Signed-off-by: Joerg Roedel
> ---
> drivers/iommu/fsl_pamu.c| 17 +
> dr
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/samsung/s3c24xx_uda134x.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c
b/sound/soc/samsung/s3c24xx_uda134x.c
index 55538e333cc
The flush_work() annotation as introduced by commit:
e159489baa71 ("workqueue: relax lockdep annotation on flush_work()")
hits on the lockdep problem with recursive read locks.
The situation as described is:
Work W1:Work W2:Task:
ARR(Q) ARR(Q)
Currently lockdep has limited support for recursive readers, add a few
mixed read-write ABBA selftests to show the extend of these
limitations.
[0.00]
[0.00] | spin |wlock
Workqueues don't use signals, it (ab)uses TASK_INTERRUPTIBLE to avoid
increasing the loadavg numbers. We've 'recently' introduced TASK_IDLE
for this case:
80ed87c8a9ca ("sched/wait: Introduce TASK_NOLOAD and TASK_IDLE")
use it.
Signed-off-by: Peter Zijlstra (Intel)
---
--- a/kernel/workqueue.
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650.c| 1 -
3 files cha
On Tue, 2017-08-22 at 13:45 -0700, Vineet Gupta wrote:
> On 08/14/2017 09:12 AM, Eugeniy Paltsev wrote:
> > Add core pll node (core_clk) to manage cpu frequency.
> > core_clk represents pll itself.
> > input_clk represents clock signal source (basically xtal) which
> > comes to pll input.
> >
> >
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
Changes in v2:
-add missed occurrences.
sound/soc/intel/boards/bytcht_da7213.c | 6 ++
sound/soc/intel/boards/bytcht_es8316.c | 6 ++
sound/soc/intel/boards/
The new completion/crossrelease annotations interact unfavourable with
the extant flush_work()/flush_workqueue() annotations.
The problem is that when a single work class does:
wait_for_completion(&C)
and
complete(&C)
in different executions, we'll build dependencies like:
lock_map_acqu
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/atmel/atmel-classd.c | 1 -
sound/soc/atmel/atmel-pdmic.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-cl
Hi all,
These are the patches I propose to deal with the current workqueue vs lockdep
fallout.
TJ, if you like 1/4, please pick it up yourself, its completely independent and
not really that important. I'll carry the rest to make sure tip/locking stays
functional.
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/rockchip/rk3288_hdmi_analog.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sound/soc/rockchip/rk3288_hdmi_analog.c
b/sound/soc/rockchip/rk32
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/mxs/mxs-sgtl5000.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index a96276e77
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Acked-by: Banajit Goswami
Signed-off-by: Peng Donglin
---
sound/soc/qcom/apq8016_sbc.c | 1 -
sound/soc/qcom/storm.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sound/soc/qcom/apq8016_sbc.c b/sou
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/sunxi/sun4i-codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c
index 150069987c0c..82beeae8edc5 100
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/tegra/tegra_alc5632.c | 1 -
sound/soc/tegra/tegra_max98090.c | 1 -
sound/soc/tegra/tegra_rt5640.c | 1 -
sound/soc/tegra/tegra_rt5677.c | 1 -
sound/soc/tegra/teg
Hi Josh,
I upgraded the compiler to gcc-8.0.0 (from earlier this week) and into one
configuration that produces countless objtool warnings, starting with
kernel/panic.o: warning: objtool: nmi_panic()+0x31: sibling call from
callable instruction with modified stack frame
kernel/panic.o: warning:
The work of the function platform_set_drvdata is done by
devm_snd_soc_register_card.
Signed-off-by: Peng Donglin
---
sound/soc/ux500/mop500.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index ba9fc099cf67..070a6880980e 100644
--- a/sound
Dear Balbi & Gregkh,
在 2017年08月21日 21:36, William Wu 写道:
Adds the device tree bindings description for RK3328 and
compatible USB DWC3 controller.
Signed-off-by: William Wu
---
Changes in v3:
- Add this for separate usb dt-bindings patch.
Changes in v2:
- None
Documentation/devicetree/bindi
On 22/08/2017 00:32, Adam Borowski wrote:
> On Mon, Aug 21, 2017 at 09:58:34PM +0200, Radim Krčmář wrote:
>> 2017-08-21 21:12+0200, Adam Borowski:
>>> On Mon, Aug 21, 2017 at 09:26:57AM +0800, Wanpeng Li wrote:
2017-08-21 7:13 GMT+08:00 Adam Borowski :
> I'm afraid I keep getting a quite r
On 8/23/2017 2:06 AM, Peter Zijlstra wrote:
> On Mon, Aug 21, 2017 at 03:55:53PM +0530, Imran Khan wrote:
>> khungtask by default monitors either all tasks or no tasks at all
>> for long unterruptible sleeps.
>> For Android like environments this arrangement is not optimal because
>> on one hand it
On 23.08.2017 11:27, Vladimir Davydov wrote:
> On Wed, Aug 23, 2017 at 11:00:56AM +0300, Kirill Tkhai wrote:
>> On 22.08.2017 22:47, Vladimir Davydov wrote:
>>> On Tue, Aug 22, 2017 at 03:29:35PM +0300, Kirill Tkhai wrote:
During the reclaiming slab of a memcg, shrink_slab iterates
over a
On 23/08/17 14:59, Colin King wrote:
> From: Colin Ian King
>
> iph is being assigned the same value twice; remove the redundant
> first assignment. (Thanks to Nikolay Aleksandrov for pointing out
> that the first asssignment should be removed and not the second)
>
> Fixes warning:
> net/ipv4/ip
2017-08-22 22:23 GMT+02:00 Shuah Khan :
> Remove rtctest_setdate from run_destructive_tests target. Leave it in
> TEST_GEN_PROGS_EXTENDED to be included in the install targets.
>
> Suggested-by: John Stultz
> Signed-off-by: Shuah Khan
Reviewed-by: Benjamin Gaignard
> ---
> tools/testing/selft
On 23/08/2017 12:23, Wanpeng Li wrote:
> @@ -6341,7 +6345,8 @@ static int inject_pending_event(struct kvm_vcpu *vcpu,
> bool req_int_win)
> int r;
>
> /* try to reinject previous events if any */
> - if (vcpu->arch.exception.pending) {
> + if (vcpu->arch.exception.pending ||
Make these const as they are only used in a copy operation.
Done using Coccinelle:
@match disable optional_qualifier@
identifier s;
@@
static struct hw s = {...};
@ref@
position p;
identifier match.s;
@@
s@p
@good1@
position ref.p;
identifier match.s,f,c;
expression e;
@@
(
e = s@p
|
e = s@p.f
|
On Tue, Aug 22, 2017 at 01:06:55PM -0400, Johannes Weiner wrote:
> On Mon, Aug 14, 2017 at 07:32:09PM +0100, Roman Gushchin wrote:
> > @@ -817,67 +817,12 @@ static bool task_will_free_mem(struct task_struct
> > *task)
> > return ret;
> > }
> >
> > -static void oom_kill_process(struct oom_co
Make these const as they are only stored in the const field of a
net_device structure.
Signed-off-by: Bhumika Goyal
---
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 4 ++--
drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drive
Hi Will,
On 23/08/2017 12:25, Will Deacon wrote:
> On Tue, Aug 22, 2017 at 10:09:15PM +0300, Michael S. Tsirkin wrote:
>> On Fri, Aug 18, 2017 at 05:49:42AM +0300, Michael S. Tsirkin wrote:
>>> On Thu, Aug 17, 2017 at 05:34:25PM +0100, Will Deacon wrote:
On Fri, Aug 11, 2017 at 03:45:28PM +02
Check the irq ownership in the irq_request_resources callback
instead of checking it during the irq mapping. That we can prevent
installing the flow handler for the interrupt that is not owned by the EE
and allow the irq translation during the gpio driver probe.
Signed-off-by: Kiran Gunda
---
Thi
> Any ideas how to do the work in a way to minimize code duplication are
> welcome...
A lot depends on how much duplication there is. mv88e6xxx uses a set
of function points per chip variant. Another option is to put the
common code into a library, and have two drivers. Or if it is the same
regist
On Wed, Aug 23, 2017 at 03:46:56PM +0530, Arvind Yadav wrote:
> dsa_switch_ops are not supposed to change at runtime. All functions
> working with dsa_switch_ops provided by work with
> const dsa_switch_ops. So mark the non-const structs as const.
>
> Arvind Yadav (3):
> [PATCH 1/3] net: dsa: l
On Tue, 22 Aug 2017, Paolo Bonzini wrote:
> Regarding the "why is it best" part. Right now, the hypervisor makes a
> copy of the timekeeper information in order to prepare the stable kvmclock.
> This code is very much tied to the TSC. However, a snapshot of the timekeeper
> information is almost
Check the irq ownership in the irq_request_resources callback
instead of checking it during the irq mapping. This can prevent
installing the flow handler for the interrupt that is not owned by the EE
and allow the irq translation during the gpio driver probe.
Signed-off-by: Kiran Gunda
---
V2:
Fi
Make these const as they are only used in a copy operation.
Signed-off-by: Bhumika Goyal
---
drivers/net/ethernet/mellanox/mlx4/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c
b/drivers/net/ethernet/mellanox/mlx4/main.c
in
On Wed, Aug 23, 2017 at 02:22:34PM +0200, Arnd Bergmann wrote:
> Hi Josh,
>
> I upgraded the compiler to gcc-8.0.0 (from earlier this week) and into one
> configuration that produces countless objtool warnings, starting with
>
> kernel/panic.o: warning: objtool: nmi_panic()+0x31: sibling call fr
Dear experts
I install kernel 4.4.70-rt83 in my environment, and run QEMU-KVM &
OVS-DPDK on my server.
After a kernel warning, I found that all of the process, such as sshd,
has no response. The monitor cannot displayed. All process looks like has been
hanged. But the server coul
Make this const as it is only passed as an argument to the function
mlx5e_create_netdev and the corresponding argument is of type const.
Signed-off-by: Bhumika Goyal
---
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/n
From: Markus Elfring
Date: Wed, 23 Aug 2017 14:45:20 +0200
Add a jump target so that a bit of exception handling can be better reused
at the end of this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
v2:
It seems that a source code adjust
On 2017-08-23 02:01, Stephen Boyd wrote:
On 08/22, Shawn Guo wrote:
On Mon, Aug 21, 2017 at 04:18:58PM -0700, Stephen Boyd wrote:
> On 08/18/2017 08:28 AM, Kiran Gunda wrote:
> > The peripheral ownership check is not necessary on single master
> > platforms. Hence, enforce the peripheral ownersh
On Wed 23-08-17 12:40:36, Feng Feng24 Liu wrote:
> Dear experts
> I install kernel 4.4.70-rt83 in my environment, and run QEMU-KVM &
> OVS-DPDK on my server.
Is this reproducible? If yes could you try without RT patches applied to
know this is applicable to vanilla kernel as well?
>
Gustavo,
could you resend the patch with the Acked-by and Cc stable kernel.
On 08/18/2017 07:07 PM, Gustavo A. R. Silva wrote:
> Call function v4l2_m2m_dst_buf_remove_by_buf() instead of
> v4l2_m2m_src_buf_remove_by_buf()
>
> Addresses-Coverity-ID: 1415317
> Cc: Stanimir Varbanov
> Cc: Hans Ver
On Wed, Aug 16, 2017 at 03:21:55PM -0700, Andi Kleen wrote:
SNIP
> int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info)
> {
> size_t i, l = 0;
> u64 m = PERF_MEM_LVL_NA;
> u64 hit, miss;
> + int printed;
>
> if (mem_info)
> m
Hi Greg,
On 23 August 2017 at 00:43, Greg Kroah-Hartman
wrote:
> This is the start of the stable review cycle for the 4.9.45 release.
> There are 27 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
On 23 August 2017 at 07:42, Kishon Vijay Abraham I wrote:
> Add binding for the TI's sdhci-omap controller. This now includes only
> a subset of properties documented in ti-omap-hsmmc.txt but will eventually
> include all the properties.
>
> Signed-off-by: Kishon Vijay Abraham I
> ---
> Changes f
On 22 August 2017 at 13:46, Jerome Brunet wrote:
> On Tue, 2017-08-22 at 13:15 +0200, Ulf Hansson wrote:
>> On 21 August 2017 at 18:02, Jerome Brunet wrote:
>> > The patchset features several bugfixes, rework and upgrade for the
>> > meson-gx MMC driver.
>> >
>> > The main goal is to improve read
On Tue, 22 Aug 2017, Kees Cook wrote:
> This improves the patch mode of setup_timer.cocci. Several patterns were
> missing:
> - assignments-before-init_timer() cases
> - limiting the .data case removal to the struct timer_list instance
> - handling calls by dereference (timer->field vs timer.
[ This is FYI only. Documenting what I found with gcc 4.5.1 (but is
fixed in 4.5.4 ]
Part of my test suit is to build the kernel with a compiler before asm
goto was supported (to test jump labels without it).
Recently I noticed that the kernel started to hang when building with
it. For a while
From: Colin Ian King
Remove a redundant identical return statement, it has no use.
Detected by CoverityScan, CID#1454586 ("Structurally dead code")
Signed-off-by: Colin Ian King
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gp
On Wed, 23 Aug 2017, Abhisit Sangjan wrote:
> > > From: Abhisit Sangjan
> > >
> > > TI LMP92001 Analog System Monitor and Controller
[...]
> > > Signed-off-by: Abhisit Sangjan
> > > ---
> > > Documentation/ABI/testing/sysfs-bus-iio-lmp920001 | 92
> > > .../devicetree/bindings/gpio/gpi
Like the version in drivers/net/wireless, this driver requires the
MAC80211 framework, otherwise we run into a link error:
ERROR: "ieee80211_rx_irqsafe" [drivers/staging/rtlwifi/r8822be.ko] undefined!
ERROR: "cfg80211_unlink_bss" [drivers/staging/rtlwifi/r8822be.ko] undefined!
ERROR: "ieee80211_be
gcc notices a very complicated way to check a value
for being equal to one, and warns about it:
drivers/staging/rtlwifi/btcoexist/halbtc8822b1ant.c: In function
'halbtc8822b1ant_set_ext_ant_switch':
drivers/staging/rtlwifi/btcoexist/halbtc8822b1ant.c:2105:9: error: '~' on a
boolean expression [-
Hello, Michael.
On Wed, Aug 23, 2017 at 09:00:39PM +1000, Michael Ellerman wrote:
> > I don't think that's true. The CPU id used in kernel doesn't have to
> > match the physical one and arch code should be able to pre-map CPU IDs
> > to nodes and use the matching one when hotplugging CPUs. I'm n
The new 'select CPUFREQ_DT' statement causes a warning in some
configurations:
warning: (ARCH_U8500) selects CPUFREQ_DT which has unmet direct dependencies
(CPU_FREQ && HAVE_CLK && OF && (!CPU_THERMAL || THERMAL))
No other platform does this, so I think for consistency it's
best if we remove it
The function that was added doesn't actually build:
arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this
function)
This adds a declaration for 'r' to fix it.
Fixes: 5ce783025c82 ("ARM: OMAP2+: Don't regist
A debug printk statement was copied incorrectly into the new
csi1 parser code and causes a warning there:
drivers/media/platform/omap3isp/isp.c: In function 'isp_probe':
include/linux/dynamic_debug.h:134:3: error: 'i' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
Since
On Wed, Aug 23, 2017 at 01:58:44PM +0200, Peter Zijlstra wrote:
> Workqueues don't use signals, it (ab)uses TASK_INTERRUPTIBLE to avoid
> increasing the loadavg numbers. We've 'recently' introduced TASK_IDLE
> for this case:
>
> 80ed87c8a9ca ("sched/wait: Introduce TASK_NOLOAD and TASK_IDLE")
>
On Wed, Aug 23, 2017 at 01:58:43PM +0200, Peter Zijlstra wrote:
> Hi all,
>
> These are the patches I propose to deal with the current workqueue vs lockdep
> fallout.
>
> TJ, if you like 1/4, please pick it up yourself, its completely independent
> and
> not really that important. I'll carry the
We get a build warning from a boolean expression that is never used:
mm/madvise.c: In function 'madvise_free_pte_range':
include/linux/swap.h:490:55: error: value computed is not used
[-Werror=unused-value]
#define free_swap_and_cache(e) (is_migration_entry(e) ||
is_device_private_entry(e))
The newly added dynamic burst code produces a harmless warning
on big-endian configurations:
drivers/spi/spi-imx.c: In function 'spi_imx_buf_rx_swap_u32':
drivers/spi/spi-imx.c:284:15: error: unused variable 'bytes_per_word'
[-Werror=unused-variable]
unsigned int bytes_per_word;
Allow messages about multiple timers.
Signed-off-by: Julia Lawall
---
scripts/coccinelle/api/setup_timer.cocci | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/scripts/coccinelle/api/setup_timer.cocci
b/scripts/coccinelle/api/setup_timer.cocci
index eb6bd9e
On Wed, Aug 23, 2017 at 2:48 PM, Josh Poimboeuf wrote:
> On Wed, Aug 23, 2017 at 02:22:34PM +0200, Arnd Bergmann wrote:
>> ...
>>
>> :
>>0: e8 00 00 00 00 callq 5
>> 1: R_X86_64_PC32__sanitizer_cov_trace_pc-0x4
>>5: 44 8b 8b 6
Casting between an 'int' and a pointer causes a warning on
64-bit architectures in compile-testing this driver:
drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe':
drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer to integer
of different size [-Werror=point
On Wed, Aug 23, 2017 at 09:30:28AM +0300, Tomas Winkler wrote:
> Add device ids for Broxton SoC based devices.
>
> Cc: sta...@kernel.com #4.4.x
> Signed-off-by: Tomas Winkler
> Signed-off-by: Greg Kroah-Hartman
> ---
> drivers/misc/mei/hw-me-regs.h | 3 +++
> drivers/misc/mei/pci-me.c | 3 +
On Tue, Aug 22, 2017 at 11:43:19PM -0700, Christoph Hellwig wrote:
> Ok. If the stable maintainers are ok with your small fix
> I'm not going to complain too loudly. But I'm always worried about
> stable trees divering too much from mainline.
Given that 90% of the time we do this, something brea
Yong Li found that writes to the AST2500 strapping register were not
properly supported by the Aspeed pinctrl core and provided a patch to
rectify the problem. Several revisions of the patch were posted and
ultimately v4 should have been applied, however some unfortunate
liberal application of tags
Em Wed, 23 Aug 2017 12:37:30 +0300
Sakari Ailus escreveu:
> Hi Mauro,
>
> Thanks for the patch! Something like this was long due.
>
> I cc'd Hans and Laurent to get their attention, too.
>
> On Sat, Aug 19, 2017 at 07:04:40AM -0300, Mauro Carvalho Chehab wrote:
> > When we added support for om
The qcom_iommu_disable_clocks() function is only called from PM
code that is hidden in an #ifdef, causing a harmless warning without
CONFIG_PM:
drivers/iommu/qcom_iommu.c:601:13: error: 'qcom_iommu_disable_clocks' defined
but not used [-Werror=unused-function]
static void qcom_iommu_disable_cloc
We get a compile error without it, at least in some configurations:
kernel/seccomp.c:1221:1: error: expected ',' or ';' at end of input
Fixes: 8e5f1ad116df ("seccomp: Sysctl to display available actions")
Signed-off-by: Arnd Bergmann
---
kernel/seccomp.c | 2 +-
1 file changed, 1 insertion(+),
On x86 software page-table walkers depend on the fact that remote TLB flush
does an IPI: walk is performed lockless but with interrupts disabled and in
case the pagetable is freed the freeing CPU will get blocked as remote TLB
flush is required. On other architecture which don't require an IPI to d
On Wed, Aug 23, 2017 at 06:32:25AM -0700, Tejun Heo wrote:
> On Wed, Aug 23, 2017 at 01:58:43PM +0200, Peter Zijlstra wrote:
> > Hi all,
> >
> > These are the patches I propose to deal with the current workqueue vs
> > lockdep
> > fallout.
> >
> > TJ, if you like 1/4, please pick it up yourself,
Alexey Budankov writes:
> bool event_less(left, right)
> {
> if (left->cpu < right->cpu)
> return true;
>
> if (left->cpu > right_cpu)
> return false;
>
> if (left->vtime < right->vtime)
> return true;
>
> return false;
> }
>
On Wed, 2017-08-23 at 10:23 +0200, Linus Walleij wrote:
> > On Wed, Aug 23, 2017 at 1:54 AM, Andrew Jeffery wrote:
> > On Tue, 2017-08-22 at 14:52 +0200, Linus Walleij wrote:
> > > > > > > > On Tue, Aug 15, 2017 at 6:21 PM, Yong Li
> > > > > > > > wrote:
> > > > On AST2500, the hardware strap re
The last cleanup left behind an unused variable:
sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove':
sound/soc/tegra/tegra_wm8903.c:206:23: error: unused variable 'machine'
[-Werror=unused-variable]
This removes it as welremoves it as welll
Fixes: 2a8bd83af30e ("ASoC: tegra: Remo
Make these const as they are only stored in the const field of a
mxs_pinctrl_soc_data structure.
Signed-off-by: Bhumika Goyal
---
drivers/pinctrl/freescale/pinctrl-imx23.c | 2 +-
drivers/pinctrl/freescale/pinctrl-imx28.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dri
On 23/08/17 15:39, Arnd Bergmann wrote:
Casting between an 'int' and a pointer causes a warning on
64-bit architectures in compile-testing this driver:
drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe':
drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer
On Aug 23 2017 21:54, SF Markus Elfring wrote:
From: Markus Elfring
Date: Wed, 23 Aug 2017 14:45:20 +0200
Add a jump target so that a bit of exception handling can be better reused
at the end of this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elf
On 08/23/2017 03:02 AM, Łukasz Daniluk wrote:
> + cache_color_size=
> + [KNL] Set cache size for purposes of cache coloring
> + mechanism in buddy allocator.
> +
> + cache_color_min_order=
> + [KNL] Set minimal order for which page
On Wed, Aug 23, 2017 at 03:57:02PM +0530, Oza Oza wrote:
> On Wed, Aug 23, 2017 at 2:03 AM, Bjorn Helgaas wrote:
> > [+cc Sinan, Timur, Alex]
> >
> > Hi Oza,
> >
> > On Mon, Aug 21, 2017 at 09:28:43PM +0530, Oza Pawandeep wrote:
> >> PCIe spec r3.1, sec 2.3.2
> >> If CRS software visibility is not
On Sun, Aug 20, 2017 at 12:04:37PM -0700, Long Li wrote:
> From: Long Li
>
> When sending I/O, if size is larger than rdma_readwrite_threshold we prepare
> to send SMB WRITE packet for a RDMA read via memory registration. The actual
> I/O is done out-of-the-band, so modify the relevant fields in
On Wed, 23 Aug 2017 14:54:32 +0200,
SF Markus Elfring wrote:
>
> From: Markus Elfring
> Date: Wed, 23 Aug 2017 14:45:20 +0200
>
> Add a jump target so that a bit of exception handling can be better reused
> at the end of this function.
>
> This issue was detected by using the Coccinelle softwar
Hi Arnd,
On Wednesday, 23 August 2017 16:28:19 EEST Arnd Bergmann wrote:
> The function that was added doesn't actually build:
>
> arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
> arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in
> this function)
>
> This
On Wed, Aug 23, 2017 at 9:42 AM, Arnd Bergmann wrote:
> The qcom_iommu_disable_clocks() function is only called from PM
> code that is hidden in an #ifdef, causing a harmless warning without
> CONFIG_PM:
>
> drivers/iommu/qcom_iommu.c:601:13: error: 'qcom_iommu_disable_clocks' defined
> but not u
On 06/10/2017 12:39 AM, Joshua Clayton wrote:
altera-ps-spi loads FPGA firmware over SPI, using the "passive serial"
interface on Altera Arria 10, Cyclone V or Stratix V FPGAs.
This is one of the simpler ways to set up an FPGA at runtime.
The signal interface is close to unidirectional SPI with
On Wed, 23 Aug 2017 14:09:24 +0200,
Arvind Yadav wrote:
>
> ac97_pcm are not supposed to change at runtime. All functions
> working with ac97_pcm provided by work with
> const ac97_pcm. So mark the non-const structs as const.
>
> Arvind Yadav (4):
> [PATCH 1/4] ALSA: aaci: constify ac97_pcm st
201 - 300 of 847 matches
Mail list logo