[PATCH 0/3] staging: rtl8723bs: hal: Rectify with Linux kernel coding style

2021-04-12 Thread Beatriz Martins de Carvalho
This patchset rectifies the file Hal8723BReg.h with Linux kernel coding style. The issues were: - Space before tabs; - Extra blank line; - Indentation problem. Beatriz Martins de Carvalho (3): staging: rtl8723bs: hal: remove space before tabs staging: rtl8723bs: hal

Re: Linux Kernel build bug with AMD_IOMMU_V2=M and HSA_AMD=Y

2021-04-08 Thread Felix Kuehling
u.c I feel like I'm spamming.) When compiling for Linux version 5.11.12 using the AMDGPU GPU driver with HSA_AMD enabled, I get the below set of errors. To work around this, I need to change AMD_IOMMU_V2 from M to Y. This bug doesn't affect linux kernel version 5.6 as it requires AM

Linux Kernel build bug with AMD_IOMMU_V2=M and HSA_AMD=Y

2021-04-08 Thread David Niklas
fect linux kernel version 5.6 as it requires AMD_IOMMU_V2 to by Y when HSA_AMD is enabled. I'd bisect and request the removal of the relevant patch, but it's possible that building the linux kernel should work this way and so a fix, not a patch removal, is what should be issued. I'm a

[PATCH V3 4/4] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-04-07 Thread peng . fan
From: Peng Fan - When remote cores are kicked before Linux Kernel, we are not able to get resource table from the firmware elf file, so we need to add rsc_table to hold the resource table published by remote cores and imx_rproc_get_loaded_rsc_table is to get the resource table. - Per

Re: [PATCH V2 4/4] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-04-07 Thread Mathieu Poirier
On Tue, Mar 30, 2021 at 01:30:35PM +0800, peng@oss.nxp.com wrote: > From: Peng Fan > > - Add rsc_table to hold the resource table published by remote cores. > - Add attach hook. > - Add imx_rproc_get_loaded_rsc_table to get resource table published by >remote processors. > - Add imx_r

Re: Compiling Linux kernel into a build directory

2021-04-02 Thread Randy Dunlap
On 4/2/21 11:29 AM, James Courtier-Dutton wrote: > Hi, > > Currently, when one builds the linux kernel, it places .o files all > over the source code tree. > Is there a way to have the linux kernel build, but place all the .o > files into a separate build folder? > Similar

Compiling Linux kernel into a build directory

2021-04-02 Thread James Courtier-Dutton
Hi, Currently, when one builds the linux kernel, it places .o files all over the source code tree. Is there a way to have the linux kernel build, but place all the .o files into a separate build folder? Similar to how cmake or ninja work when building C source code. One possible advantage of

[PATCH V2 4/4] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-03-29 Thread peng . fan
From: Peng Fan - Add rsc_table to hold the resource table published by remote cores. - Add attach hook. - Add imx_rproc_get_loaded_rsc_table to get resource table published by remote processors. - Add imx_rproc_detect_mode to detect remote cores' working mode. Signed-off-by: Peng Fan ---

Re: [PATCH 2/2] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-03-25 Thread Mathieu Poirier
On Fri, Mar 19, 2021 at 06:47:08PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Support remote cores booted before Linux Kernel booting. > > Add rsc_table to hold the resource table published by remote cores > Add attach hook Missing a period "." and a new

[PATCH 2/2] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-03-19 Thread Peng Fan (OSS)
From: Peng Fan Support remote cores booted before Linux Kernel booting. Add rsc_table to hold the resource table published by remote cores Add attach hook Add imx_rproc_detect_mode to detect remote cores' working mode, and if remote cores are booted before booting Linux Kernel, parse the m

(Riy-ID#3545) - Newsletter to linux-kernel@vger.kernel.org

2021-03-18 Thread Hallman
Good day there, We are presently searching for proficient & knowledgeable people to become part of our friendly business. We feel that your experience and skills will be an excellent fit for our team. Specifications: - Capability to interact, read, and simply write in English - Dependable a

Hello linux-kernel@vger.kernel.org

2021-03-18 Thread Dr Chris Hobson
Greetings: linux-kernel@vger.kernel.org I have a business transaction that I will like to discuss with you. Please reply me immediately via my Email: chrishobson...@gmail.com Best regards, Dr Chris Hobson Credit Suisse Bank London.

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-07 Thread Julia Lawall
On Sun, 7 Mar 2021, Joe Perches wrote: > On Sun, 2021-03-07 at 20:14 +0100, Julia Lawall wrote: > > > > On Wed, 3 Mar 2021, Joe Perches wrote: > > > > > On Wed, 2021-03-03 at 10:41 +0100, Rasmus Villemoes wrote: > > > > On 02/03/2021 18.42, Joe Perches wrote: > > > > > Here is a possible opportu

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-07 Thread Joe Perches
On Sun, 2021-03-07 at 20:14 +0100, Julia Lawall wrote: > > On Wed, 3 Mar 2021, Joe Perches wrote: > > > On Wed, 2021-03-03 at 10:41 +0100, Rasmus Villemoes wrote: > > > On 02/03/2021 18.42, Joe Perches wrote: > > > > Here is a possible opportunity to reduce data usage in the kernel. > > > > > >

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-07 Thread Julia Lawall
On Wed, 3 Mar 2021, Joe Perches wrote: > On Wed, 2021-03-03 at 10:41 +0100, Rasmus Villemoes wrote: > > On 02/03/2021 18.42, Joe Perches wrote: > > > Here is a possible opportunity to reduce data usage in the kernel. > > > > > > $ git grep -P -n '^static\s+(?!const|struct)(?:\w+\s+){1,3}\w+\s*\[

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-03 Thread Joe Perches
On Wed, 2021-03-03 at 10:41 +0100, Rasmus Villemoes wrote: > On 02/03/2021 18.42, Joe Perches wrote: > > Here is a possible opportunity to reduce data usage in the kernel. > > > > $ git grep -P -n '^static\s+(?!const|struct)(?:\w+\s+){1,3}\w+\s*\[\s*\]' > > drivers/ | \ > >   grep -v __initdata |

Re: [Cocci] linux-kernel janitorial RFP: Mark static arrays as const

2021-03-03 Thread Julia Lawall
On Tue, 2 Mar 2021, Bernd Petrovitsch wrote: > Hi all! > > On 02/03/2021 18:42, Joe Perches wrote: > [...] > > - For instance: (head -10 of the git grep for file statics) > > > > drivers/accessibility/speakup/keyhelp.c:18:static u_short masks[] = { 32, > > 16, 8, 4, 2, 1 }; > > dri

Re: [Linux-kernel-mentees] [PATCH net] Bluetooth: Fix NULL pointer dereference in amp_read_loc_assoc_final_data()

2021-03-03 Thread Dmitry Vyukov
> thought it reported internal only. Hi Gopal, I think it's somewhat inherent to the current kernel unstructured processes with bugs being reported on mailing lists, bugzilla, distro-specific trackers. One useful thing, though, is searching Lore, e.g. searching for just the crashing func

Re: [Linux-kernel-mentees] [PATCH net] Bluetooth: Fix NULL pointer dereference in amp_read_loc_assoc_final_data()

2021-03-03 Thread Gopal Tiwari
l Tiwari - Original Message - From: "Dmitry Vyukov" To: "Peilin Ye" Cc: "Marcel Holtmann" , "Johan Hedberg" , "Andrei Emeltchenko" , "Greg Kroah-Hartman" , "David S. Miller" , "Jakub Kicinski" , linux-k

Re: [Linux-kernel-mentees] [PATCH net] Bluetooth: Fix NULL pointer dereference in amp_read_loc_assoc_final_data()

2021-03-03 Thread Dmitry Vyukov
cp.max_len = cpu_to_le16(hdev->amp_assoc_size); Not sure what happened here, but the merged patch somehow has a different author and no Reported-by tag: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e8bd76ede155fd54d8c41d045dda43cd3174d506 so let&#x

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-03 Thread Rasmus Villemoes
On 02/03/2021 18.42, Joe Perches wrote: > Here is a possible opportunity to reduce data usage in the kernel. > > $ git grep -P -n '^static\s+(?!const|struct)(?:\w+\s+){1,3}\w+\s*\[\s*\]' > drivers/ | \ > grep -v __initdata | \ > wc -l > 3250 > > Meaning there are ~3000 declarations of arrays

Re: [Cocci] linux-kernel janitorial RFP: Mark static arrays as const

2021-03-03 Thread Joe Perches
On Tue, 2021-03-02 at 22:41 +0100, Julia Lawall wrote: > > On Tue, 2 Mar 2021, Joe Perches wrote: > > > Here is a possible opportunity to reduce data usage in the kernel. > > Does it actually reduce data usage? Yes, at least for gcc. For instance: $ gcc --version gcc (Ubuntu 10.2.0-13ubuntu1)

Re: linux-kernel janitorial RFP: Mark static arrays as const

2021-03-02 Thread Bernd Petrovitsch
Hi all! On 02/03/2021 18:42, Joe Perches wrote: [...] > - For instance: (head -10 of the git grep for file statics) > > drivers/accessibility/speakup/keyhelp.c:18:static u_short masks[] = { 32, 16, > 8, 4, 2, 1 }; > drivers/accessibility/speakup/keyhelp.c:26:static u_char funcvals[]

Re: [Cocci] linux-kernel janitorial RFP: Mark static arrays as const

2021-03-02 Thread Julia Lawall
On Tue, 2 Mar 2021, Joe Perches wrote: > Here is a possible opportunity to reduce data usage in the kernel. Does it actually reduce data usage? julia > > $ git grep -P -n '^static\s+(?!const|struct)(?:\w+\s+){1,3}\w+\s*\[\s*\]' > drivers/ | \ > grep -v __initdata | \ > wc -l > 3250 > >

linux-kernel janitorial RFP: Mark static arrays as const

2021-03-02 Thread Joe Perches
Here is a possible opportunity to reduce data usage in the kernel. $ git grep -P -n '^static\s+(?!const|struct)(?:\w+\s+){1,3}\w+\s*\[\s*\]' drivers/ | \ grep -v __initdata | \ wc -l 3250 Meaning there are ~3000 declarations of arrays with what appears to be file static const content that ar

Re: linux kernel bug???

2021-02-28 Thread Dmitry Vyukov
On Mon, Mar 1, 2021 at 8:10 AM Lukas Bulwahn wrote: > > Hi, > > On Mon, Mar 1, 2021 at 7:58 AM wrote: > > > > This is the first time for me to report something, so maybe the format is > > not right. Please correct me if I'm wrong. Thank you ~ > >

Re: linux kernel bug???

2021-02-28 Thread Lukas Bulwahn
Hi, On Mon, Mar 1, 2021 at 7:58 AM wrote: > > This is the first time for me to report something, so maybe the format is not > right. Please correct me if I'm wrong. Thank you ~ > When using Syzkaller to fuzz Linux kernel 5.11.0, it reported one > null-ptr-def bug in file.c

linux kernel 5.10.x to 5.11.x : boot FB switch VT is black after EFI VGA FB changed to CPU FB

2021-02-26 Thread hanasaki-gmail
linux-kernel@vger.kernel.org previous kernel 5.10... current kernel 5.11.4 After moving to 5.11, can no longer switch to VT's.  The boot sequence shows as far as fb0: switching to inteldrmfb from EFI VGA ... Console: switching to colour dummy device 80x25 and then goes blac

[RELEASE] LTTng-modules 2.11.8 and 2.12.5 (Linux kernel tracer)

2021-02-17 Thread Mathieu Desnoyers
Hi, This is a release announcement for the 2.11.8 and 2.12.5 releases of the LTTng kernel tracer. New and noteworthy in these releases: * Support for Linux kernel 5.11, * Deal with stable kernel version overflow (sublevel >= 256), * Prepare for Ubuntu, SLES, RHEL, and RT release vers

[tip: irq/core] Merge tag 'irqchip-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core

2021-02-15 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Mon, 15 Feb 2021 15:41:56 +01:00 Merge tag 'irqchip-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core Pull irqchip updates from Marc Zyngier - New driver for the MIPS-based Realtek RTL838x/RTL839x SoC - Con

Greylisting on linux-kernel broken?

2021-02-04 Thread Phillip Lougher
Hi, I have sent a patch-set from my usual email address (phil...@squashfs.org.uk), but despite over 18 hours it has still not shown up. Instead I have received bounce warning emails that they are delayed. I have sent emails to autoans...@vger.kernel.org and majord...@vger.kernel.org, and they ha

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Philip Li
On Tue, Feb 02, 2021 at 04:48:04AM -0800, Joe Perches wrote: > On Mon, 2021-02-01 at 22:41 +0530, Dwaipayan Ray wrote: > > The idea of a bot seems nice though in general. > > People do have all the style checking scripts at their disposal, but still > > we see style issues on the list. > > > > Som

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Joe Perches
On Mon, 2021-02-01 at 22:41 +0530, Dwaipayan Ray wrote: > The idea of a bot seems nice though in general. > People do have all the style checking scripts at their disposal, but still > we see style issues on the list. > > Something similar to the kernel test robot, but for style issues seems nice.

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-02 Thread Greg KH
On Mon, Feb 01, 2021 at 10:31:33PM +0530, Dwaipayan Ray wrote: > On Mon, Feb 1, 2021 at 10:07 PM Greg KH wrote: > > > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > > Hi, > > > on linux-next, > > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > > gives:

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Theodore Ts'o
On Mon, Feb 01, 2021 at 05:50:45PM +0100, Lukas Bulwahn wrote: > > Dwaipayan, there are two ways: > - We build a bot listening to mailing lists and check. I like that > implementation idea for various other checks. > - Stephen Rothwell could include this as a check on linux-next and > inform the g

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Dwaipayan Ray
On Mon, Feb 1, 2021 at 10:20 PM Lukas Bulwahn wrote: > > On Mon, Feb 1, 2021 at 5:37 PM Greg KH wrote: > > > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > > Hi, > > > on linux-next, > > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > > gives: > > > 4a

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Dwaipayan Ray
On Mon, Feb 1, 2021 at 10:07 PM Greg KH wrote: > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > Hi, > > on linux-next, > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > gives: > > 4a2d78822fdf > > 12ca45fea91c > > 09f2724a786f > > > > These are patches

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Lukas Bulwahn
On Mon, Feb 1, 2021 at 5:37 PM Greg KH wrote: > > On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > > Hi, > > on linux-next, > > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > > gives: > > 4a2d78822fdf > > 12ca45fea91c > > 09f2724a786f > > > > These are patches f

Re: [Linux-kernel-mentees] Patches from the future - can checkpatch help?

2021-02-01 Thread Greg KH
On Mon, Feb 01, 2021 at 10:04:01PM +0530, Dwaipayan Ray wrote: > Hi, > on linux-next, > $ git log --pretty=format:"%h%x09%ad" | awk '$6>2021 {print $1}' > gives: > 4a2d78822fdf > 12ca45fea91c > 09f2724a786f > > These are patches from the year 2085, 2037 and 2030 respectively. > > Would a checkpat

[PATCH 2/8] tools: bitmap: sync function declarations with linux kernel

2021-01-30 Thread Yury Norov
Some functions in tools/include/linux/bitmap.h declare nbits as int. In the kernel nbits is declared as unsigned int. Signed-off-by: Yury Norov --- tools/include/linux/bitmap.h | 8 tools/lib/bitmap.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/too

[PATCH -V9 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2021-01-19 Thread Huang Ying
A new API: numa_set_membind_balancing() is added to libnuma. It is same as numa_set_membind() except that the Linux kernel NUMA balancing will be enabled for the task if the feature is supported by the kernel. At the same time, a new option: --balancing (-b) is added to numactl. Which can be

[tip: irq/urgent] Merge tag 'irqchip-fixes-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent

2021-01-12 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Tue, 12 Jan 2021 21:23:55 +01:00 Merge tag 'irqchip-fixes-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent Pull irqchip fixes from Marc Zyngier: - Fix the MIPS CPU interrupt controller hierarchy - Si

Re: Linux Kernel module notification bug

2021-01-12 Thread Greg Kroah-Hartman
> > > > > > I believe that the following commit does introduce a gentle > > > > "functionality > > > > bug": > > > > > > > > "module: delay kobject uevent until after module init call": > > > > https

Re: Linux Kernel module notification bug

2021-01-12 Thread Jessica Yu
delay kobject uevent until after module init call": > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/module.c?id=38dc717e97153e46375ee21797aa54777e5498f3 > > The official Linux Kernel API for the kernel module activities notification has > been divi

Re: Linux Kernel module notification bug

2021-01-11 Thread Adam Zabrocki
object uevent until after module init call": > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/module.c?id=38dc717e97153e46375ee21797aa54777e5498f3 > > > > The official Linux Kernel API for the kernel module activities notification > &g

[RELEASE] LTTng-modules 2.11.7 and 2.12.4 (Linux kernel tracer)

2021-01-11 Thread Mathieu Desnoyers
Hi, I just released versions 2.11.7 and 2.12.4 of the lttng-modules stable branches. These add support for the 5.10 Linux kernel. Please try them out, and, as usual, feedback is welcome! Thanks, Mathieu Project website: https://lttng.org Documentation: https://lttng.org/docs Download link

Re: Linux Kernel module notification bug

2021-01-11 Thread Jessica Yu
+++ Adam Zabrocki [10/01/21 18:54 +0100]: Hello, I believe that the following commit does introduce a gentle "functionality bug": "module: delay kobject uevent until after module init call": https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commi

Linux Kernel module notification bug

2021-01-10 Thread Adam Zabrocki
Hello, I believe that the following commit does introduce a gentle "functionality bug": "module: delay kobject uevent until after module init call": https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/module.c?id=38dc717e97153e46375ee21797aa54777e

To linux kernel!

2021-01-09 Thread Steven Newbury
Linux https://bit.ly/2JY7Ueo Steven Newbury I might as well be dead, but I could kill you instead. - PJ Harvey If you brutalize the world around you, you also brutalize yourself. - Flanders Falling in Love is a trick our genes pull on our otherwise perceptive mind to hoodwink us i

[PATCH -V8 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2021-01-05 Thread Huang Ying
A new API: numa_set_membind_balancing() is added to libnuma. It is same as numa_set_membind() except that the Linux kernel NUMA balancing will be enabled for the task if the feature is supported by the kernel. At the same time, a new option: --balancing (-b) is added to numactl. Which can be

How do I account for the Linux kernel development team

2020-12-24 Thread Bruce
How do I account for the Linux kernel development team?

Re: linux kernel新手想参与文档翻译

2020-12-23 Thread Alex Shi
CC linux-doc ?? 2020/12/23 11:03, ?? : > ?? > ?0?2 ?0?2 ?0?2 > Linux????????kernel??Documentation/translati

Re: Linux kernel in-tree Rust support

2020-12-17 Thread Miguel Ojeda
On Thu, Dec 17, 2020 at 10:45 PM Pavel Machek wrote: > > Well.. not everyone has 32 cores in their notebook. It is true that complex Rust, like complex C++, does have high compilation times. But it all depends on how much one relies on certain language features. Straightforward Rust code is quick

Re: Linux kernel in-tree Rust support

2020-12-17 Thread Pavel Machek
On Tue 2020-07-28 23:34:17, Josh Triplett wrote: > On Tue, Jul 28, 2020 at 10:40:38PM +0200, Pavel Machek wrote: > > > We just need to make sure that any kernel CI infrastructure tests that > > > right away, then, so that failures don't get introduced by a patch from > > > someone without a Rust to

[tip: efi/core] Merge tag 'efi-next-for-v5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/core

2020-12-15 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Tue, 15 Dec 2020 12:14:38 +01:00 Merge tag 'efi-next-for-v5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi into efi/core Pull followup fixes for EFI from Ard Biesheuvel: - fix the build breakage on IA64 caused by recent caps

[tip: irq/core] Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core

2020-12-15 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Tue, 15 Dec 2020 10:48:07 +01:00 Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core Pull irqchip updates for 5.11 from Marc Zyngier: - Preliminary support for managed interrupts on platfo

[tip: irq/core] Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core

2020-12-12 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Sat, 12 Dec 2020 20:35:24 +01:00 Merge tag 'irqchip-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core Pull irqchip updates for 5.11 from Marc Zyngier: - Preliminary support for managed interrupts on platfo

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Theodore Y. Ts'o
tributions that means loading the > bus driver for the drive and the file system driver. Everyone could build > their own Linux kernel and build the drivers into the Linux kernel, but most > users enjoy using the distribution Linux kernel, which build the drivers as > modules to support

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Ben Hutchings
On Tue, 2020-12-08 at 10:24 +0100, Paul Menzel wrote: Dear Linux folks, Trying to reduce the boot time of standard distributions, I would like to get rid of the initrd. The initrd is for mounting the root file system and on most end user systems with standard distributions that means loading t

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Enrico Weigelt, metux IT consult
On 08.12.20 11:58, Paul Menzel wrote: > Thank you. I know this and do it myself. But, the requirement is to use > the distribution Linux kernel (package). I am sorry for being unclear. What about rebuilding the distro package ? Actually, I wonder why using a generic (bloated) full-blown

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Paul Menzel
Dear Enrico, Am 08.12.20 um 10:38 schrieb Enrico Weigelt, metux IT consult: On 08.12.20 10:24, Paul Menzel wrote: Similar to passing firmware and microcode update files to Linux or building these into the Linux kernel image, would it be possible to append the required modules to the Linux

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Enrico Weigelt, metux IT consult
On 08.12.20 10:24, Paul Menzel wrote: > Similar to passing firmware and microcode update files to Linux or > building these into the Linux kernel image, would it be possible to > append the required modules to the Linux kernel image, and Linux would > load these? Indeed, yes it do

Pass modules to Linux kernel without initrd

2020-12-08 Thread Paul Menzel
driver. Everyone could build their own Linux kernel and build the drivers into the Linux kernel, but most users enjoy using the distribution Linux kernel, which build the drivers as modules to support a lot of systems. (I think Fedora builds the default file system driver (of the installer) into

linux-kernel confirm for me

2020-12-07 Thread Juaquin Dabeer
Good day, Please confirm receipt of the previous mail I sent to linux-kernel@vger.kernel.org or do I resend it again? Regards Juaquin Dabeer juaquindab...@mail.com.tr

[PATCH -V7 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2020-12-04 Thread Huang Ying
A new API: numa_set_membind_balancing() is added to libnuma. It is same as numa_set_membind() except that the Linux kernel NUMA balancing will be enabled for the task if the feature is supported by the kernel. At the same time, a new option: --balancing (-b) is added to numactl. Which can be

Re: [Linux-kernel-mentees] [PATCH -mmots] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-03 Thread Joe Perches
On Thu, 2020-12-03 at 20:25 +0100, Greg KH wrote: > On Thu, Dec 03, 2020 at 08:00:58PM +0100, Lukas Bulwahn wrote: > > On Thu, Dec 3, 2020 at 7:56 PM Greg KH wrote: > > > > > > On Thu, Dec 03, 2020 at 11:59:54AM +0100, Lukas Bulwahn wrote: > > > > On Thu, Dec 3, 2020 at 10:59 AM Aditya wrote: >

Re: [Linux-kernel-mentees] [PATCH -mmots] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-03 Thread Greg KH
On Thu, Dec 03, 2020 at 08:00:58PM +0100, Lukas Bulwahn wrote: > On Thu, Dec 3, 2020 at 7:56 PM Greg KH wrote: > > > > On Thu, Dec 03, 2020 at 11:59:54AM +0100, Lukas Bulwahn wrote: > > > On Thu, Dec 3, 2020 at 10:59 AM Aditya wrote: > > > > > > > > On 3/12/20 12:26 am, Joe Perches wrote: > > > >

Re: [Linux-kernel-mentees] [PATCH -mmots] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-03 Thread Lukas Bulwahn
On Thu, Dec 3, 2020 at 7:56 PM Greg KH wrote: > > On Thu, Dec 03, 2020 at 11:59:54AM +0100, Lukas Bulwahn wrote: > > On Thu, Dec 3, 2020 at 10:59 AM Aditya wrote: > > > > > > On 3/12/20 12:26 am, Joe Perches wrote: > > > > On Thu, 2020-12-03 at 00:00 +0530, Aditya Srivastava wrote: > > > >> Curre

Re: [Linux-kernel-mentees] [PATCH -mmots] checkpatch: add fix for non-standard signature - co-authored-by

2020-12-03 Thread Greg KH
On Thu, Dec 03, 2020 at 11:59:54AM +0100, Lukas Bulwahn wrote: > On Thu, Dec 3, 2020 at 10:59 AM Aditya wrote: > > > > On 3/12/20 12:26 am, Joe Perches wrote: > > > On Thu, 2020-12-03 at 00:00 +0530, Aditya Srivastava wrote: > > >> Currently, checkpatch.pl warns us for BAD_SIGN_OFF on the usage of

Re: [PATCH -V6 RESEND 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2020-12-02 Thread Mel Gorman
On Wed, Dec 02, 2020 at 04:42:34PM +0800, Huang Ying wrote: > A new API: numa_set_membind_balancing() is added to libnuma. It is > same as numa_set_membind() except that the Linux kernel NUMA balancing > will be enabled for the task if the feature is supported by the > kernel. >

[PATCH -V6 RESEND 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2020-12-02 Thread Huang Ying
A new API: numa_set_membind_balancing() is added to libnuma. It is same as numa_set_membind() except that the Linux kernel NUMA balancing will be enabled for the task if the feature is supported by the kernel. At the same time, a new option: --balancing (-b) is added to numactl. Which can be

Re: linux-kernel: Unused static inline functions

2020-11-29 Thread Joe Perches
On Fri, 2020-03-06 at 16:07 -0800, Joe Perches wrote: > On Fri, 2020-03-06 at 11:02 -0800, Nick Desaulniers wrote: > > Turns out there are hundreds of unused static inline > > > functions in kernel .h files. > > > > > > A trivial script to find some of them (with likely > > > false positives as so

[PATCH -V6 3/3] NOT kernel/numactl: Support to enable Linux kernel NUMA balancing

2020-11-25 Thread Huang Ying
From: Huang Ying A new API: numa_set_membind_balancing() is added to libnuma. It is same as numa_set_membind() except that the Linux kernel NUMA balancing will be enabled for the task if the feature is supported by the kernel. At the same time, a new option: --balancing (-b) is added to

[tip: irq/urgent] Merge tag 'irqchip-fixes-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent

2020-11-24 Thread tip-bot2 for Thomas Gleixner
Committer: Thomas Gleixner CommitterDate: Wed, 25 Nov 2020 00:56:28 +01:00 Merge tag 'irqchip-fixes-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent Pull irqchip fixes from Marc Zyngier: - Fix Exiu driver trigger type when using ACPI - Fix

linux-kernel@vger.kernel.org waiting to hear from you

2020-11-23 Thread Mazer
Greetings, I write to solicit for your assistance in a benefiting business proposal and I will be pleased to explain my plans and carried it out legally and transparently, so i want to know if i can trust you to discuss details of the business and send you my proposal and my credentials once

Re: [Linux-kernel-mentees] [PATCH v5 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-20 Thread Jakub Kicinski
On Fri, 20 Nov 2020 00:40:43 +0530 Anmol Karn wrote: > rose_send_frame() dereferences `neigh->dev` when called from > rose_transmit_clear_request(), and the first occurrence of the > `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, > and it is initialized in rose_add_loopback_neigh() a

[Linux-kernel-mentees] [PATCH v5 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-19 Thread Anmol Karn
rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in rose_add_loopback_neigh() as NULL. i.e when `rose_loopback_neigh` used in rose_loopback_

Re: [Linux-kernel-mentees] [PATCH v4 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-15 Thread Anmol Karn
On Sat, Nov 14, 2020 at 11:18:38AM -0800, Jakub Kicinski wrote: > On Wed, 11 Nov 2020 22:29:54 +0530 Anmol Karn wrote: > > rose_send_frame() dereferences `neigh->dev` when called from > > rose_transmit_clear_request(), and the first occurrence of the > > `neigh` is in rose_loopback_timer() as `rose

Re: Has the linux-kernel already implemented the functions in apollo-kernel?

2020-11-15 Thread Greg KH
On Sat, Oct 31, 2020 at 02:44:07PM +0800, Hongyi Zhao wrote: > Hi, > > The apollo-kernel (https://github.com/ApolloAuto/apollo-kernel) is a > patched Linux Kernel based on official Linux Kernel 4.4.32 with some > modifications on the kernel level, especially for the scenario >

Re: [Linux-kernel-mentees] [PATCH v4 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-14 Thread Jakub Kicinski
On Wed, 11 Nov 2020 22:29:54 +0530 Anmol Karn wrote: > rose_send_frame() dereferences `neigh->dev` when called from > rose_transmit_clear_request(), and the first occurrence of the > `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, > and it is initialized in rose_add_loopback_neigh() a

[Linux-kernel-mentees] [PATCH v4 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-11 Thread Anmol Karn
rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in rose_add_loopback_neigh() as NULL. i.e when `rose_loopback_neigh` used in rose_loopback_

Re: [Linux-kernel-mentees] [PATCH net v2] Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()

2020-11-10 Thread Peilin Ye
On Mon, Nov 09, 2020 at 01:16:53PM +0100, Marcel Holtmann wrote: > Hi Peilin, > > > `num_reports` is not being properly checked. A malformed event packet with > > a large `num_reports` number makes hci_le_direct_adv_report_evt() read out > > of bounds. Fix it. > > > > Cc: sta...@vger.kernel.org >

Re: [Linux-kernel-mentees] [PATCH v3 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-10 Thread Anmol Karn
Hello Sir, On Tue, Nov 10, 2020 at 09:58:15AM -0800, Jakub Kicinski wrote: > On Sun, 8 Nov 2020 00:48:35 +0530 Anmol Karn wrote: > > + dev = rose_dev_get(dest); > > this calls dev_hold internally, you never release that reference in > case ..neigh->dev is NULL > > > +

Re: [Linux-kernel-mentees] [PATCH v3 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-10 Thread Jakub Kicinski
On Sun, 8 Nov 2020 00:48:35 +0530 Anmol Karn wrote: > + dev = rose_dev_get(dest); this calls dev_hold internally, you never release that reference in case ..neigh->dev is NULL > + if (rose_loopback_neigh->dev && dev) {

Re: [Linux-kernel-mentees] [PATCH net v2] Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()

2020-11-09 Thread Marcel Holtmann
Hi Peilin, > `num_reports` is not being properly checked. A malformed event packet with > a large `num_reports` number makes hci_le_direct_adv_report_evt() read out > of bounds. Fix it. > > Cc: sta...@vger.kernel.org > Fixes: 2f010b55884e ("Bluetooth: Add support for handling LE Direct > Adverti

[Linux-kernel-mentees] [PATCH v3 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-07 Thread Anmol Karn
rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in rose_add_loopback_neigh() as NULL. i.e when `rose_loopback_neigh` used in rose_loopback_

Re: [Linux-kernel-mentees] [PATCH v2] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-11-07 Thread Anmol karn
Hello, Sorry for this wrong subject(It should be v3 instead of v2), please ignore this patch. I will send a new one with the corrected subject. Thanks, Anmol On Sun, Nov 8, 2020 at 12:27 AM Anmol Karn wrote: > > rose_send_frame() dereferences `neigh->dev` when called from > rose_transmit_clear

[Linux-kernel-mentees] [PATCH v2] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-11-07 Thread Anmol Karn
rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in rose_add_loopback_neigh() as NULL. i.e when `rose_loopback_neigh` used in rose_loopback_

Re: [Linux-kernel-mentees] [PATCH v2 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-07 Thread Anmol Karn
Hello Sir, On Fri, Nov 06, 2020 at 01:04:27PM -0800, Saeed Mahameed wrote: > On Thu, 2020-11-05 at 21:26 +0530, Anmol Karn wrote: > > rose_send_frame() dereferences `neigh->dev` when called from > > rose_transmit_clear_request(), and the first occurance of the `neigh` > > is in rose_loopback_timer

Re: [Linux-kernel-mentees] [PATCH v2 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-06 Thread Saeed Mahameed
On Thu, 2020-11-05 at 21:26 +0530, Anmol Karn wrote: > rose_send_frame() dereferences `neigh->dev` when called from > rose_transmit_clear_request(), and the first occurance of the `neigh` > is in rose_loopback_timer() as `rose_loopback_neigh`, and it is > initialized > in rose_add_loopback_neigh()

[Linux-kernel-mentees] [PATCH v2 net] rose: Fix Null pointer dereference in rose_send_frame()

2020-11-05 Thread Anmol Karn
rose_send_frame() dereferences `neigh->dev` when called from rose_transmit_clear_request(), and the first occurance of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh`, and it is initialized in rose_add_loopback_neigh() as NULL. i.e when `rose_loopback_neigh` used in rose_loopback_

Linux Kernel Code of Conduct Committee: October 2020 report

2020-11-05 Thread Greg KH
future, my apologies. Linux Kernel Code of Conduct Committee: October 2020 In the period of January 1, 2020 through October 31, 2020 the Committee received the following reports: - Unacceptable behavior or comments in email: 1 - Unacceptable comments in github repo by non-community

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-11-01 Thread Anmol Karn
On Sun, Nov 01, 2020 at 12:02:58PM +0100, Greg KH wrote: > On Fri, Oct 30, 2020 at 04:24:13PM +0530, Anmol Karn wrote: > > On Thu, Oct 15, 2020 at 05:50:51PM +0200, Greg KH wrote: > > > On Thu, Oct 15, 2020 at 07:40:12PM +0530, Anmol Karn wrote: > > > > On Thu, Oct 15, 2020 at 07:12:25AM +0200, Gre

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-11-01 Thread Greg KH
On Fri, Oct 30, 2020 at 04:24:13PM +0530, Anmol Karn wrote: > On Thu, Oct 15, 2020 at 05:50:51PM +0200, Greg KH wrote: > > On Thu, Oct 15, 2020 at 07:40:12PM +0530, Anmol Karn wrote: > > > On Thu, Oct 15, 2020 at 07:12:25AM +0200, Greg KH wrote: > > > > On Thu, Oct 15, 2020 at 05:47:12AM +0530, Anm

Has the linux-kernel already implemented the functions in apollo-kernel?

2020-10-30 Thread Hongyi Zhao
Hi, The apollo-kernel (https://github.com/ApolloAuto/apollo-kernel) is a patched Linux Kernel based on official Linux Kernel 4.4.32 with some modifications on the kernel level, especially for the scenario necessary to run the Apollo (https://github.com/ApolloAuto/apollo) open autonomous driving

Re: Queries on ARM SDEI Linux kernel code

2020-10-30 Thread James Morse
Hi Neeraj, On 21/10/2020 18:31, Neeraj Upadhyay wrote: > On 10/16/2020 9:57 PM, James Morse wrote: >> On 15/10/2020 07:07, Neeraj Upadhyay wrote: >>> 1. Looks like interrupt bind interface (SDEI_1_0_FN_SDEI_INTERRUPT_BIND) is >>> not available >>> for clients to use; can you please share informat

Re: [Linux-kernel-mentees] [PATCH] net: rose: Fix Null pointer dereference in rose_send_frame()

2020-10-30 Thread Anmol Karn
On Thu, Oct 15, 2020 at 05:50:51PM +0200, Greg KH wrote: > On Thu, Oct 15, 2020 at 07:40:12PM +0530, Anmol Karn wrote: > > On Thu, Oct 15, 2020 at 07:12:25AM +0200, Greg KH wrote: > > > On Thu, Oct 15, 2020 at 05:47:12AM +0530, Anmol Karn wrote: > > > > In rose_send_frame(), when comparing two ax.2

price offer for linux-kernel@vger.kernel.org

2020-10-23 Thread iraqofficgenerationchemicals
Hello Dear, Any possibilities to get price offer for your product at earliest? Customer is waiting. Please confirm me below with your price offer. * Delivery time after payment of requested Order? [I have to confirm delivery time to our clients] * Each item approximate weight? [This is import

Re: Queries on ARM SDEI Linux kernel code

2020-10-21 Thread Neeraj Upadhyay
Hi James, Sorry for late reply. Thanks for your comments! On 10/16/2020 9:57 PM, James Morse wrote: Hi Neeraj, On 15/10/2020 07:07, Neeraj Upadhyay wrote: 1. Looks like interrupt bind interface (SDEI_1_0_FN_SDEI_INTERRUPT_BIND) is not available for clients to use; can you please share inform

Re: Dts for eth network based on marvell's mv88e6390x crashes Xilinx's linux-kernel v5.4

2020-10-19 Thread Andrew Lunn
On Mon, Oct 19, 2020 at 05:05:08PM +0300, michael alayev wrote: > Hello Andrew, > > > > Please fix your email client and > > > > post the DT file for review. I will > >     > then point out some of the errors. > > > > &gem0 { >     status = "okay"; >     phy-mode = "rgmi

  1   2   3   4   5   6   7   8   9   10   >