2018-02-20 18:53 GMT+09:00 Katsuhiro Suzuki :
Looks good to me:)
Reviewed-by: Masami Hiramatsu
Thanks,
> Signed-off-by: Katsuhiro Suzuki
> ---
> sound/soc/uniphier/evea.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/sound/soc/uniphier/evea.c b/sound/soc/unip
On 20.2.2018 10:40, Geert Uytterhoeven wrote:
> The cdns_uart_port[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: 1f118c02a1819856 ("serial: xuartps: Fix out-of-bounds access th
The hs_timing_cfg[] array is indexed using a value derived from the
"mshcN" alias in DT, which may lead to an out-of-bounds access.
Fix this by adding a range check.
Fixes: 7d92895208a008a2 ("mmc: dw_mmc-k3: Fix out-of-bounds access through DT
alias")
Signed-off-by: Geert Uytterhoeven
---
Compi
Commit-ID: 3b3a9268bba62b35a29bafe0931715b1725fdf26
Gitweb: https://git.kernel.org/tip/3b3a9268bba62b35a29bafe0931715b1725fdf26
Author: Jann Horn
AuthorDate: Mon, 19 Feb 2018 18:50:39 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:39 +0100
x86/mm: Remove stale comment
Commit-ID: 842cef9113c2120f74f645111ded1e020193d84c
Gitweb: https://git.kernel.org/tip/842cef9113c2120f74f645111ded1e020193d84c
Author: Jan Beulich
AuthorDate: Mon, 19 Feb 2018 07:48:11 -0700
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:39 +0100
x86/mm: Fix {pmd,pud}_{set,
Commit-ID: 700b7c5409c3e9da279fbea78cf28a78fbc176cd
Gitweb: https://git.kernel.org/tip/700b7c5409c3e9da279fbea78cf28a78fbc176cd
Author: Jan Beulich
AuthorDate: Mon, 19 Feb 2018 07:49:12 -0700
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:39 +0100
x86/asm: Improve how GEN_*_
Commit-ID: 6262b6e78ce5ba62be47774ca80f5b0a6f0eb428
Gitweb: https://git.kernel.org/tip/6262b6e78ce5ba62be47774ca80f5b0a6f0eb428
Author: Jan Beulich
AuthorDate: Mon, 19 Feb 2018 07:50:23 -0700
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:40 +0100
x86/IO-APIC: Avoid warning
Commit-ID: 8554004a0231dedf44d4d62147fb3d6a6db489aa
Gitweb: https://git.kernel.org/tip/8554004a0231dedf44d4d62147fb3d6a6db489aa
Author: Jan Beulich
AuthorDate: Mon, 19 Feb 2018 08:06:14 -0700
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:41 +0100
x86-64/realmode: Add instru
Commit-ID: f2f18b16c779978ece4a04f304a92ff9ac8fbce5
Gitweb: https://git.kernel.org/tip/f2f18b16c779978ece4a04f304a92ff9ac8fbce5
Author: Jan Beulich
AuthorDate: Mon, 19 Feb 2018 07:52:10 -0700
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:33:40 +0100
x86/LDT: Avoid warning in 3
Commit-ID: 894266466aa74a226e58e23975118ff6231dd2e4
Gitweb: https://git.kernel.org/tip/894266466aa74a226e58e23975118ff6231dd2e4
Author: KarimAllah Ahmed
AuthorDate: Tue, 20 Feb 2018 08:39:51 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 08:54:47 +0100
x86/headers/UAPI: Use
Hello Geert,
On Tue, Feb 20, 2018 at 10:40:18AM +0100, Geert Uytterhoeven wrote:
> The imx_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: 9206ab8a0350c3da ("serial: imx:
This series adds a configuration option to allow MIPS kernels using
CONFIG_GENERIC_IRQ_IPI to use only a single IPI per CPU rather than the
usual 2. This allows these kernels to boot on hardware with insufficient
interrupts for the usual 2 / CPU.
It may also prove more flexible in allowing greater
In preparation for allowing selection of a single IPI / CPU, group
affected code together to minimise ifdeffery.
Signed-off-by: Matt Redfearn
---
arch/mips/kernel/smp.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.
Commit-ID: d1c99108af3c5992640aa2afa7d2e88c3775c06e
Gitweb: https://git.kernel.org/tip/d1c99108af3c5992640aa2afa7d2e88c3775c06e
Author: David Woodhouse
AuthorDate: Mon, 19 Feb 2018 10:50:56 +
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:38:26 +0100
Revert "x86/retpoline:
Introduce a new Kconfig option which allows selection of a single IPI
per CPU rather than the usual 2 on platforms using
CONFIG_GENERIC_IRQ_IPI.
This introduces a new IPI mechanism in which a bitmask of requested IPIs
is kept per cpu. A bit is atomically set in the target CPUs mask when
requesting
Commit-ID: dd84441a797150dcc49298ec95c459a8891d8bb1
Gitweb: https://git.kernel.org/tip/dd84441a797150dcc49298ec95c459a8891d8bb1
Author: David Woodhouse
AuthorDate: Mon, 19 Feb 2018 10:50:54 +
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:38:33 +0100
x86/speculation: Use IB
On Mon, Feb 19, 2018 at 01:16:30PM +, Horia Geantă wrote:
>
> > And what about ALGIF path from user space ?
> > What if the user never calls the last sendmsg() which will call
> > hash_finup() ?
> >
> User is expected to follow the rules of the crypto API.
> Of course, kernel won't (or at lea
Commit-ID: e9cb8fc2e5ca5996417f900ed5149bd9150f6abd
Gitweb: https://git.kernel.org/tip/e9cb8fc2e5ca5996417f900ed5149bd9150f6abd
Author: Juergen Gross
AuthorDate: Mon, 19 Feb 2018 11:09:06 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:00:56 +0100
x86/xen: Add pvh specific
Commit-ID: 62d8b7fba8d3ba9c046b7a1a95946c6aaf7c5da9
Gitweb: https://git.kernel.org/tip/62d8b7fba8d3ba9c046b7a1a95946c6aaf7c5da9
Author: Juergen Gross
AuthorDate: Mon, 19 Feb 2018 11:09:05 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:00:56 +0100
x86/acpi: Add a new x86_i
On Tue, 20 Feb 2018, David Woodhouse wrote:
> On Tue, 2018-02-20 at 09:31 +0100, Thomas Gleixner wrote:
> > > @@ -3387,13 +3387,14 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu,
> > > struct msr_data *msr_info)
> > >
> > > vmx->spec_ctrl = data;
> > >
> > > - if (!data)
> >
Commit-ID: 795e2963a1afef44ed9ec7e6d16c8052fcd8d886
Gitweb: https://git.kernel.org/tip/795e2963a1afef44ed9ec7e6d16c8052fcd8d886
Author: Juergen Gross
AuthorDate: Mon, 19 Feb 2018 11:09:04 +0100
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 09:00:55 +0100
acpi: Introduce acpi_arch
Hi Michal,
On Tue, Feb 20, 2018 at 11:22 AM, Michal Simek wrote:
> On 20.2.2018 10:40, Geert Uytterhoeven wrote:
>> The cdns_uart_port[] array is indexed using a value derived from the
>> "serialN" alias in DT, which may lead to an out-of-bounds access.
>>
>> Fix this by adding a range check.
>>
Hi Bartosz, David,
On Mon, 2018-02-19 at 18:21 -0600, David Lechner wrote:
> On 02/19/2018 10:58 AM, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski
> >
> > The reset framework only supports device-tree. There are some platforms
> > however, which need to use it even in legacy, board-fi
Commit-ID: 87358710c1fb4f1bf96bbe2349975ff9953fc9b2
Gitweb: https://git.kernel.org/tip/87358710c1fb4f1bf96bbe2349975ff9953fc9b2
Author: David Woodhouse
AuthorDate: Mon, 19 Feb 2018 10:50:57 +
Committer: Ingo Molnar
CommitDate: Tue, 20 Feb 2018 11:17:58 +0100
x86/retpoline: Support
On Sat, Feb 17, 2018 at 09:35:59AM -0800, Guenter Roeck wrote:
> On 02/17/2018 05:45 AM, Greg Kroah-Hartman wrote:
> > On Sat, Feb 17, 2018 at 02:31:53PM +0100, Yves-Alexis Perez wrote:
> > > On Tue, 2018-02-13 at 16:29 +0100, Greg Kroah-Hartman wrote:
> > > > > arch/powerpc/kernel/entry_64.S: Asse
On Wed, Feb 7, 2018 at 3:17 PM, Dmitry Vyukov wrote:
> On Wed, Jan 31, 2018 at 5:17 PM, Will Deacon wrote:
>>> > * Will Deacon wrote:
>>> >> e.g. for atomic[64]_read, your asm-generic header looks like:
>>> >>
>>> >> #ifndef _LINUX_ATOMIC_INSTRUMENTED_H
>>> >> #define _LINUX_ATOMIC_INSTRUMENTED_
On 02/20/18 05:44, Alexandre Courbot wrote:
> The request API provides a way to group buffers and device parameters
> into units of work to be queued and executed. This patch introduces the
> UAPI and core framework.
>
> This patch is based on the previous work by Laurent Pinchart. The core
> has
On Tue, 20 Feb 2018, Thomas Gleixner wrote:
> On Tue, 20 Feb 2018, David Woodhouse wrote:
> > On Tue, 2018-02-20 at 09:31 +0100, Thomas Gleixner wrote:
> > > > @@ -3387,13 +3387,14 @@ static int vmx_set_msr(struct kvm_vcpu *vcpu,
> > > > struct msr_data *msr_info)
> > > >
> > > >
On Mon, Feb 19, 2018 at 06:57:12PM -0500, Jon Masters wrote:
> On 02/14/2018 11:16 AM, Timur Tabi wrote:
> > On Wed, Feb 14, 2018 at 7:53 AM, wrote:
> >>
> >> This is a note to let you know that I've just added the patch titled
> >>
> >> [Variant 2/Spectre-v2] arm64: Implement branch predicto
On Tue, Feb 20, 2018 at 11:47:38AM +0100, Greg Kroah-Hartman wrote:
> On Mon, Feb 19, 2018 at 06:57:12PM -0500, Jon Masters wrote:
> > On 02/14/2018 11:16 AM, Timur Tabi wrote:
> > > On Wed, Feb 14, 2018 at 7:53 AM, wrote:
> > >>
> > >> This is a note to let you know that I've just added the patc
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The arc_uart_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Note that the array size is defined by a Kconfig symbol
>
Hi Uwe,
On Tue, Feb 20, 2018 at 11:31 AM, Uwe Kleine-König
wrote:
> On Tue, Feb 20, 2018 at 10:40:18AM +0100, Geert Uytterhoeven wrote:
>> The imx_ports[] array is indexed using a value derived from the
>> "serialN" alias in DT, which may lead to an out-of-bounds access.
>>
>> Fix this by adding
> -Original Message-
> Thanks for the review. Yes, you are correct.
> I had seen that end_dirent was initialized to NULL, and let myself
> believe that would make the transformation safe.
> In fact, that initialization to NULL is pointless as it is never used.
>
> Maybe this would be bett
On Tue, Feb 20, 2018 at 10:03 AM, Geert Uytterhoeven
wrote:
> The hs_timing_cfg[] array is indexed using a value derived from the
> "mshcN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: 7d92895208a008a2 ("mmc: dw_mmc-k3: Fix out-of-bounds
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The auart_port[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: cabf23e7aa00b145 ("serial: mxs-auart: Fix out-of-bound
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The lpuart_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: 970416c691dc68b5 ("serial: fsl_lpuart: Fix out-of-bo
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The serial_pxa_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: c8dcdc77298dde67 ("serial: pxa: Fix out-of-bound
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The s3c24xx_serial_ports[] array is indexed using a value derived from
> the "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Note that the array size is defined by a Kconfig sy
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The sci_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Note that the array size is defined by a Kconfig symbol
> (CON
On Tue, Feb 20, 2018 at 10:40 AM, Geert Uytterhoeven
wrote:
> The sirf_ports[] array is indexed using a value derived from the
> "serialN" alias in DT, which may lead to an out-of-bounds access.
>
> Fix this by adding a range check.
>
> Fixes: 66c7ab1120585d18 ("serial: sirf: Fix out-of-bounds acc
Hi,
On 02/20/2018 10:27 AM, Roger Quadros wrote:
> Hi,
>
> On 20/02/18 11:11, Amelie Delaunay wrote:
>> On some boards, especially when vbus supply requires large current,
>> and the charge pump on the PHY isn't enough, an external vbus power switch
>> may be used.
>> Add support for this optiona
Hi all,
We have a requirement to collect firmware/hardware state of the
underlying NIC during kernel panic. We are doing this in cxgb4
driver, using panic notifier list [1]. cxgb4 registers a callback
function to the panic notifier list, which gets invoked during kernel
panic. In the callback fu
On Tuesday, February 20, 2018 2:54:33 AM CET Lukas Wunner wrote:
> On Mon, Feb 19, 2018 at 12:21:56PM +0100, Rafael J. Wysocki wrote:
> > On Friday, February 16, 2018 9:34:34 PM CET Bjorn Helgaas wrote:
> > > On Fri, Feb 16, 2018 at 01:40:37PM +0100, Rafael J. Wysocki wrote:
> > > > On Friday, Febr
Hi,
On 16/02/2018 at 11:44:15 -0800, David Daney wrote:
> The ISL12026 is a combination RTC and EEPROM device with I2C
> interface. The standard RTC driver interface is provided. The EEPROM
> is accessed via the NVMEM interface via the "eeprom0" directory in the
> sysfs entry for the device.
>
>>> On 20.02.18 at 11:17, wrote:
> I assume the Xen fix got merged meanwhile?
Yes (that's the commit I've referred to in an earlier reply).
Jan
Commit 343a8d17fa8d ("cpufreq: scpi: remove arm_big_little dependency")
changed the cpufreq driver on juno from arm_big_little to scpi.
The scpi set_target function does not call the frequency-invariance
setter function arch_set_freq_scale() like the arm_big_little set_target
function does. As a r
On Tue, Feb 20, 2018 at 10:16 AM, Masahiro Yamada
wrote:
> 2018-02-17 6:41 GMT+09:00 Arnd Bergmann :
>> Building randconfig kernels frequently leads to build errors from
>> drivers that have additional build dependencies, or that we don't
>> want to build for compile-testing for some other reason.
> On 20 Feb 2018, at 4:24 PM, Mathias Nyman
> wrote:
>
> Hi
>
> On 19.02.2018 21:06, Kai-Heng Feng wrote:
>> When a USB device gets plugged on ASUS PRIME B350M-A's front ports, the
>> xHC stops working:
>> [ 549.114587] xhci_hcd :02:00.0: WARN: xHC CMD_RUN timeout
>> [ 549.114608] suspe
CPPC dirver is aware of multiple PCC subspace IDs. Enhance the debug
and error messages in the driver to print the subspace id. In case of
error it will be helpful to find which particular subspace is failing.
Signed-off-by: George Cherian
---
drivers/acpi/cppc_acpi.c | 27 --
On Friday, February 16, 2018 3:52:22 PM CET Andy Shevchenko wrote:
> On Fri, Feb 16, 2018 at 12:54 PM, Rafael J. Wysocki wrote:
> > On Fri, Feb 16, 2018 at 11:39 AM, Andy Shevchenko
> > wrote:
> >> On Fri, Feb 16, 2018 at 11:14 AM, Rafael J. Wysocki
> >> wrote:
> >>> On Wed, Feb 14, 2018 at 12:
On Mon, Feb 19, 2018 at 04:58:43PM +0200, Oleksandr Andrushchenko wrote:
> On 02/19/2018 04:30 PM, Daniel Vetter wrote:
> > On Tue, Feb 13, 2018 at 10:44:16AM +0200, Oleksandr Andrushchenko wrote:
> > > From: Oleksandr Andrushchenko
> > >
> > > It is possible that drm_simple_kms_plane_atomic_chec
On Tue, 2018-02-20 at 11:42 +0100, Thomas Gleixner wrote:
>
> > > However, Paolo is very insistent that taking the trap every time is
> > > actually a lot *slower* than really frobbing IBRS on certain
> > > microarchitectures, so my hand-waving "pfft, what did they expect?" is
> > > not acceptab
On 19/02/2018 11:50, David Woodhouse wrote:
> Cope with this by trapping and emulating *all* access to SPEC_CTRL from
> KVM guests when the IBRS_ALL feature is present, so it can never be
> turned off. Guests who see IBRS_ALL should never do anything except
> turn it on at boot anyway. And if they
On 20.2.2018 11:38, Geert Uytterhoeven wrote:
> Hi Michal,
>
> On Tue, Feb 20, 2018 at 11:22 AM, Michal Simek
> wrote:
>> On 20.2.2018 10:40, Geert Uytterhoeven wrote:
>>> The cdns_uart_port[] array is indexed using a value derived from the
>>> "serialN" alias in DT, which may lead to an out-of-
On 20/02/2018 12:22, David Woodhouse wrote:
However, Paolo is very insistent that taking the trap every time is
actually a lot *slower* than really frobbing IBRS on certain
microarchitectures, so my hand-waving "pfft, what did they expect?" is
not acceptable.
Which I
On 2/20/2018 12:34 PM, Herbert Xu wrote:
> On Mon, Feb 19, 2018 at 01:16:30PM +, Horia Geantă wrote:
>>
>>> And what about ALGIF path from user space ?
>>> What if the user never calls the last sendmsg() which will call
>>> hash_finup() ?
>>>
>> User is expected to follow the rules of the cryp
On Tue, Feb 20, 2018 at 10:43:48AM +0100, Christian König wrote:
> Am 19.02.2018 um 17:43 schrieb Daniel Vetter:
> > On Mon, Feb 19, 2018 at 05:29:46PM +0100, Christian König wrote:
> > > [SNIP]
> > > Well that is not a problem at all. See we don't nest trylock with normal
> > > lock acquiring, cau
The named choice is not used in the kernel tree, but if it were used,
it would not be freed.
The intention of the named choice can be seen in the log of
commit 5a1aa8a1aff6 ("kconfig: add named choice group").
There is room for argument if this is useful in practice, but anyway
I am fixing the me
Replaced kmalloc() + memcpy() in tpm_eventlog_efi.c and
tpm_eventlog_of.c.
Signed-off-by: Jarkko Sakkinen
---
v2: update also tpm_eventlog_of.c
drivers/char/tpm/tpm_eventlog_efi.c | 3 +--
drivers/char/tpm/tpm_eventlog_of.c | 5 +
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git
On 20/02/2018 01:00, Van De Ven, Arjan wrote:
>>> the guest is not the problem; guests obviously will already honor
>>> if Enhanced IBRS is enumerated. The problem is mixed migration
>>> pools where the hypervisor
>>> may need to decide to not pass this enumeration through to the
>>> guest.
>> For
Signed-off-by: Charles Keepax
---
Changes since v1:
- Drop vendor prefix from new binding since it is a standard property.
Thanks,
Charles
Documentation/devicetree/bindings/mfd/arizona.txt | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindin
On Mon, Feb 19, 2018 at 09:59:13PM +0100, Hans de Goede wrote:
> On 19-02-18 12:34, Mark Brown wrote:
> There are multiple callers of regulator_get_suspend_state() in
> drivers/regulator/core.c, I assume you refer to this commit:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
From: Rafael J. Wysocki
There is a problem with PCMCIA system resume callbacks with respect
to suspend-to-idle in which the ->suspend_noirq() callback may be
invoked after the ->resume_noirq() one without resuming the system
entirely in some cases. This doesn't work for PCMCIA because of
the lac
From: Richard Leitner
For some userspace applications information on the number of
over-current conditions at specific USB hub ports is relevant.
In our case we have a series of USB hardware (using the cp210x driver)
which communicates using a proprietary protocol. These devices sometimes
trigge
Keep headers sorted alphabetically.
Signed-off-by: Cosmin-Gabriel Samoila
---
sound/soc/codecs/ak4458.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c
index 8a49dd2..31ec0ba 100644
--- a/sound/soc/codecs/ak4458
Modify SPDX comment style to match the rules. Since the original
code had a GPL-2.0 license and SPDX is compatible with GPL-2.0+,
we also modified the MODULE_LICENSE.
Signed-off-by: Cosmin-Gabriel Samoila
---
sound/soc/codecs/ak4458.c | 13 ++---
sound/soc/codecs/ak4458.h | 2 +-
2 file
Modify SPDX license comment style and sort headers alphabetically.
Cosmin-Gabriel Samoila (2):
ASoC: ak4458: Modify SPDX license format
ASoC: ak4458: Sort headers alphabetically
sound/soc/codecs/ak4458.c | 23 +++
sound/soc/codecs/ak4458.h | 2 +-
2 files changed, 12 ins
Hi,
Richard Leitner writes:
> From: Richard Leitner
>
> For some userspace applications information on the number of
> over-current conditions at specific USB hub ports is relevant.
>
> In our case we have a series of USB hardware (using the cp210x driver)
> which communicates using a proprieta
Like the earlier series of randconfig build fixes for 4.9, this is the
equivalent for 4.4. Again, most of it is for harmless warnings, but there
are also fixes for excessive stack consumption that can be possibly
dangerous, and the 'genksyms' segfault fix is now needed to build the
backported 'retp
When CONFIG_PM_SLEEP is disabled, we get a warning about unused functions:
drivers/gpio/gpio-xgene.c:155:12: warning: 'xgene_gpio_resume' defined but not
used [-Wunused-function]
static int xgene_gpio_resume(struct device *dev)
^
drivers/gpio/gpio-xgene.c:142:12: warn
On linux-4.4 and linux-4.9 we get a warning about an array that is
never initialized when CONFIG_REGULATOR is disabled:
drivers/usb/phy/phy-msm-usb.c: In function 'msm_otg_probe':
drivers/usb/phy/phy-msm-usb.c:1911:14: error: 'regs[0].consumer' may be used
uninitialized in this function [-Werror=
This reverts commit 6bd03ce3c12a22d86f59070f1da15aaa2bde8a51, it was applied
in error and cuased this link failure
drivers/built-in.o: In function `bq27xxx_battery_i2c_read':
core.c:(.text+0xa6da8): undefined reference to `i2c_transfer'
drivers/built-in.o: In function `bq27xxx_battery_init':
core.
gcc-6 and higher warn about the way some loops are written in
the ncr5380 driver:
drivers/scsi/g_NCR5380.c: In function 'generic_NCR5380_pread':
drivers/scsi/g_NCR5380.c:541:3: error: this 'while' clause does not guard...
[-Werror=misleading-indentation]
while (NCR5380_read(C400_CONTROL_STATUS
This driver shows warnings on many architectures:
drivers/isdn/sc/init.c: In function 'identify_board':
drivers/isdn/sc/init.c:484:2: error: passing argument 1 of 'readl' makes
pointer from integer without a cast [-Werror]
In newer kernels, it was completely removed, but for the 4.4-stable
serie
When CONFIG_ELF_CORE is disabled, we get a harmless warning in the compat
version of binfmt_elf:
fs/compat_binfmt_elf.c:58:13: error: 'cputime_to_compat_timeval' defined but
not used [-Werror=unused-function]
This was addressed in mainline Linux as part of a larger rework with commit
cd19c364b31
GCC correctly points out an uninitialized variable use when CONFIG_PCI is
disabled.
drivers/idle/i7300_idle.c: In function 'i7300_idle_notifier':
include/asm-generic/bug.h:119:5: error: 'got_ctl' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
if (unlikely(__ret_warn_o
Without the I2C driver, we get a few warnings:
drivers/power/bq27xxx_battery.c:288:12: error: 'bq27xxx_regs' defined but not
used [-Werror=unused-variable]
static u8 *bq27xxx_regs[] = {
^
drivers/power/bq27xxx_battery.c:994:12: error: 'bq27xxx_powersupply_init'
defined but not used
commit f0bb2d50dfcc519f06f901aac88502be6ff1df2c upstream.
The latest gcc-7.0.1 snapshot reports a new warning:
virtio/virtio_balloon.c: In function 'update_balloon_stats':
virtio/virtio_balloon.c:258:26: error: 'events[2]' is used uninitialized in
this function [-Werror=uninitialized]
virtio/vir
From: Andy Lutomirski
commit a570af4850043260b87fb1b8aa27a4484e648878 upstream.
dell-wmi and dell-laptop will compile but won't work right if DMI
isn't selected.
Signed-off-by: Andy Lutomirski
Acked-by: Pali Rohár
[arnd: Use depends instead of selects to avoid recursive dependencies]
Signed-o
From: Vinod Koul
commit 3493d4a86457c7de9f1e602b4267c9b0f9ec1c9f upstream.
Randy reported following error when ACPI is not enabled:
warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_BYTCR_RT5651_MACH
&& SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH &&
SND_SOC_I
From: Michal Marek
commit d920f7c6628c63a390009c237fb80a203c2e400a upstream.
Do not try to recover too early and segfault when parsing invalid
declarations such as
echo 'int (int);' | scripts/genksyms/genksyms
echo 'int a, (int);' | scripts/genksyms/genksyms
echo 'extern void *__inline_memcpy((
From: Miklos Szeredi
commit 9a232de4999666b2e8ea6775b2b0e3e4feb09b7a upstream.
Without CONFIG_NCPFS_NLS the following warning is seen:
fs/ncpfs/dir.c: In function 'ncp_hash_dentry':
fs/ncpfs/dir.c:136:23: warning: unused variable 'sb' [-Wunused-variable]
struct super_block *sb = dentry->d_sb
The Tegra194 BPMP only implements 5 channels (4 to BPMP, 1 to CCPLEX),
and they are not placed contiguously in memory. The current channel
management in the BPMP driver does not support this.
Simplify and refactor the channel management such that only one atomic
transmit channel and one receive ch
Hello everyone,
this series adds initial support for the NVIDIA Tegra194 "Xavier"
system-on-chip. Initially UART, I2C, SDMMC, as well as the PMIC
are supported, allowing booting to a console.
The changes consist almost completely of the new device trees,
however some fixes are required in the BPM
Add device tree files for the Tegra194 P2972- development board.
The board consists of the P2888 compute module and the P2822 baseboard.
Signed-off-by: Mikko Perttunen
---
arch/arm64/boot/dts/nvidia/Makefile| 1 +
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi | 248 +++
The Tegra194 PMC is mostly compatible with Tegra186, including in all
currently supported features. As such, add a new compatibility string
but point to the existing Tegra186 SoC data for now.
Signed-off-by: Mikko Perttunen
---
drivers/soc/tegra/pmc.c | 1 +
1 file changed, 1 insertion(+)
diff
commit 747a11279a442b913a57bf38934879babab3b58b upstream.
Building the hp100 ethernet driver causes warnings when both the PCI
and EISA drivers are disabled:
ethernet/hp/hp100.c: In function 'hp100_module_init':
ethernet/hp/hp100.c:3047:2: warning: label 'out3' defined but not used
[-Wunused-lab
The Tegra194 power management controller has one additional register
aperture to be specified in the device tree node.
Signed-off-by: Mikko Perttunen
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra186-pmc.txt | 2 ++
1 file changed, 2 insertions(+)
diff --
commit 11d8b05855f3749bcb6c57e2c4052921b9605c77 upstream.
The intialization function checks for various failure scenarios, but
unfortunately the compiler gets a little confused about the possible
combinations, leading to a false-positive build warning when
-Wmaybe-uninitialized is set:
arch/x86
Add the chip-level device tree, including binding headers, for the
NVIDIA Tegra194 "Xavier" system-on-chip. Only a small subset of devices
are initially available, enough to boot to UART console.
Signed-off-by: Mikko Perttunen
---
Notes:
v4:
- fixed copyright headers according to license
From: Borislav Petkov
commit dac6ca243c4c49a9ca7507d3d66140ebfac8b04b upstream.
With CONFIG_DEBUG_PREEMPT enabled, I get:
BUG: using smp_processor_id() in preemptible [] code: swapper/0/1
caller is debug_smp_processor_id
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2+ #2
C
Add compatibility strings for supported but undocumented Tegra chips
(Tegra114/124/132/210/186/194) and reference boards.
Signed-off-by: Mikko Perttunen
Reviewed-by: Rob Herring
---
Notes:
v2:
- add patch
Documentation/devicetree/bindings/arm/tegra.txt | 16
1 file ch
commit e7c52b84fb18f08ce49b6067ae6285aca79084a8 upstream.
We get a lot of very large stack frames using gcc-7.0.1 with the default
-fsanitize-address-use-after-scope --param asan-stack=1 options, which can
easily cause an overflow of the kernel stack, e.g.
drivers/gpu/drm/i915/gvt/handlers.c:24
Add the configuration option to enable support for the Tegra194
system-on-chip, and enable it by default in the arm64 defconfig.
Signed-off-by: Mikko Perttunen
---
arch/arm64/configs/defconfig | 1 +
drivers/soc/tegra/Kconfig| 10 ++
2 files changed, 11 insertions(+)
diff --git a/a
From: Sudip Mukherjee
commit db9b60400f9253c25ae639797df2d0ff7a35d9d8 upstream.
We were getting build warning about:
drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:2: warning: initialization
from incompatible pointer type
The callback to dpms was pointing to a helper function which had a
From: Jun Nie
commit 067fdeb2f391bfa071f741a2b3eb74b8ff3785cd upstream.
Fix build warning that related to PAGE_SIZE. The maximum DMA
length has nothing to do with PAGE_SIZE, just use a fix number
for the definition.
drivers/dma/zx_dma.c: In function 'zx_dma_prep_memcpy':
drivers/dma/zx_dma.c:52
commit 7fc1503c906f0fac62d3506a6e993e49fb996248 upstream.
On x86, the cw1200 driver produces a rather silly warning about the
possible use of the 'ret' variable without an initialization
presumably after being confused by the architecture specific definition
of WARN_ON:
drivers/net/wireless/st/cw
commit a262e87ff354f12447bb6268bd63edf7ba1c20e0 upstream.
For historic reasons, the tegra platform selects USB_ULPI from architecture
code, but that hasn't really made sense for a long time, as the only
user of that code is the Tegra EHCI driver that has its own Kconfig
symbol.
This removes the '
commit b4391db42308c9940944b5d7be5ca4b78fb88dd0 upstream.
When CONFIG_KASAN is enabled, the "--param asan-stack=1" causes rather large
stack frames in some functions. This goes unnoticed normally because
CONFIG_FRAME_WARN is disabled with CONFIG_KASAN by default as of commit
3f181b4d8652 ("lib/Kco
On Mon, Feb 19, 2018 at 02:45:58PM +0100, Neil Armstrong wrote:
> +++ b/sound/soc/codecs/max9759.c
> @@ -0,0 +1,207 @@
> +// SPDX-Licence-Identifier: GPL-2.0
> +/*
> + * MAX9759 Amplifier Driver
> + *
Please don't mix C and C++ style comments like this, make it all a C++
comment - it looks more i
701 - 800 of 816 matches
Mail list logo