readonly.
This patch makes show_mountinfo use __mnt_is_readonly to check if a
mount is readonly, which checks both for MNT_READONLY in mnt_flags and
for MS_RDONLY in mnt_sb->s_flags.
Signed-off-by: Shea Levy
---
fs/proc_namespace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
.
This patchset fixes show_mountinfo and statfs to report such mounts as
readonly.
Signed-off-by: Shea Levy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
readonly.
This patch makes vfs_statfs set ST_RDONLY in f_flags if mnt_sb->s_flags
contains MS_RDONLY.
Signed-off-by: Shea Levy
---
fs/statfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/statfs.c b/fs/statfs.c
index c219e733..c614087 100644
--- a/fs/statfs.c
+++ b/fs/statfs.c
@@ -3
On 10/31/2012 10:54 AM, Josh Boyer wrote:
On Wed, Oct 31, 2012 at 10:50 AM, Jiri Kosina wrote:
On Mon, 29 Oct 2012, Matthew Garrett wrote:
This is pretty much identical to the first patchset, but with the capability
renamed (CAP_COMPROMISE_KERNEL) and the kexec patch dropped. If anyone wants
On 10/31/2012 11:02 AM, Matthew Garrett wrote:
On Wed, Oct 31, 2012 at 03:50:00PM +0100, Jiri Kosina wrote:
Reading stored memory image (potentially tampered before reboot) from disk
is basically DMA-ing arbitrary data over the whole RAM. I am currently not
able to imagine a scenario how this c
On 10/31/2012 01:03 PM, Alan Cox wrote:
On Wed, 31 Oct 2012 16:55:04 +0100 (CET)
Jiri Kosina wrote:
On Wed, 31 Oct 2012, Alan Cox wrote:
All this depends on your threat model. If I have physical access to
suspend/resume your machine then you already lost. If I don't have
physical access then
On 10/31/2012 01:08 PM, Alan Cox wrote:
On Wed, 31 Oct 2012 15:56:35 +
Matthew Garrett wrote:
1) Gain root.
2) Modify swap partition directly.
3) Force reboot.
4) Win.
Root should not have the ability to elevate themselves to running
arbitrary kernel code. Therefore, the above attack need
se? If not, should the manpage really
be so dismissive of vfork?
Cheers,
Shea Levy--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please r
fkill 15546 2 bluetooth,cfg80211
crc16 1311 2 bluetooth,ext4
Any ideas?
Cheers,
Shea Levy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kerne
On 07/31/2012 11:52 AM, Marcel Holtmann wrote:
Hi Shea,
Please CC me on response, I am not subscribed to the list.
hcitool is unable to detect my laptop's bluetooth device:
$ lsusb
Bus 004 Device 009: ID 05ac:821d Apple, Inc.
Bus 004 Device 008: ID 05ac:820b Apple, Inc.
Bus 004 Device 007: ID
On 07/31/2012 12:12 PM, Marcel Holtmann wrote:
Hi Shea,
include /sys/kernel/debug/usb/devices details for this device.
Not sure, which device it is, so here's all of bus 4:
T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=03 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64
tside of the kernel itself, but before I started the
work I thought I'd ask here if anyone thought I should instead bring my
old patch up-to-date.
Thoughts?
Thanks,
Shea Levy
P.S. I am subscribed to linux-efi but not lkml, please include me in any
replies to lkml.
--
To unsubscribe from
On Jan 1, 2013, at 12:24, "H. Peter Anvin" wrote:
> On 01/01/2013 07:55 AM, Shea Levy wrote:
>> Hi all,
>>
>> In March last year, I submitted a patch to enable the EFI boot stub to
>> read its config arguments from a file on the ESP, both to help with
>&g
On Jan 2, 2013, at 12:43, Matthew Garrett wrote:
> On Wed, Jan 02, 2013 at 08:26:29AM -0500, Shea Levy wrote:
>
>> Hm, ok. Does the boot stub have access to CONFIG_CMDLINE? Or could
>> another compile-time setting be added so that distros can ship livecds
>> that au
Any feedback on this?
On Mar 14, 2013, at 12:09 PM, Shea Levy wrote:
> By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly
> mountpoint, it is possible to have a readonly mount without MNT_READONLY
> in its mnt_flags. Currently, /proc//mountinfo and statfs will
> r
On 4/29/13 4:56 PM, Serge E. Hallyn wrote:
Quoting s...@shealevy.com (s...@shealevy.com):
Hi All,
I just hit the following error trying to build 3.8.9:
/nix/store/vkvwpn6f7iff6zqrq2d9z2a1945pcsza-linux-3.8.9-source/kernel/user_namespace.c:
In function 'map_write':
/nix/store/vkvwpn6f7iff6zqrq2
eve this should
work even with the unusual MODLIB/INSTALL_FW_PATH, a quick Google search
replacing those paths with the normal /lib shows others have the same
error. The error seems to be due to make version, I'm using GNU Make 3.8.2.
Regards,
Shea Levy
#
# Automatically generated file;
, see
http://permalink.gmane.org/gmane.linux.embedded.yocto.meta-ti/27
Signed-off-by: Shea Levy
---
scripts/Makefile.fwinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index 6bf8e87..4d908d1 100644
--- a/scripts/Makefile.fwinst
+++
Hi Chas,
On 08/01/2012 07:22 AM, chas williams - CONTRACTOR wrote:
On Tue, 31 Jul 2012 21:59:37 -0400
Shea Levy wrote:
Hello,
When building with
MODLIB=/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/modules/3.5.0
and
="/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.
Argh, sorry, forgot the sign-off. Will resend after checkpatch passes. Sorry
for the noise.
On Aug 2, 2012, at 8:42 AM, s...@shealevy.com wrote:
> From: Shea Levy
>
> ---
> drivers/bluetooth/btusb.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/driver
Hi David,
On Aug 2, 2012, at 9:32 AM, David Herrmann wrote:
> Hi Shea
>
> On Thu, Aug 2, 2012 at 2:45 PM, wrote:
>> From: Shea Levy
>>
>>
>> Signed-off-by: Shea Levy
>
> Why is this patch missing a commit-message? Please add one.
The commit me
Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
Signed-off-by: Shea Levy
Hello,
On 08/25/2012 01:28 PM, Henrik Rydberg wrote:
+ /* Apple-specific (Broadcom) devices */
+ { USB_VENDOR_AND_INTERFACE_INFO(0x05ac, 0xff, 0x01, 0x01) },
+
Would this subsume https://lkml.org/lkml/2012/8/22/689 ?
Thanks,
Shea Levy
--
To unsubscribe from this list: send the
Hi
On 08/25/2012 01:43 PM, Henrik Rydberg wrote:
On Sat, Aug 25, 2012 at 01:28:52PM -0400, Shea Levy wrote:
Hello,
On 08/25/2012 01:28 PM, Henrik Rydberg wrote:
+ /* Apple-specific (Broadcom) devices */
+ { USB_VENDOR_AND_INTERFACE_INFO(0x05ac, 0xff, 0x01, 0x01) },
+
Would this
Prot=01 Driver=btusb
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
So:
Tested-by: Shea Levy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
Signed-off-by: Shea Levy
Hi all,
Is there a problem with this patch?
Thanks,
Shea
On Aug 7, 2012, at 5:21 PM, Shea Levy wrote:
> $ usb-devices
>
> T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
> D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=05ac ProdID
Hello,
The linux-kernel-announce doesn't seem to have had any traffic since 3.1-rc4
(maybe due to the kernel.org break-in?). Is there a recommended way to get
email news of kernel releases without being subscribed to the main kernel list?
Cheers,
Shea--
To unsubscribe from this list: send the l
On 07/23/2012 01:52 PM, J.H. wrote:
On 07/23/2012 02:22 AM, Borislav Petkov wrote:
On Sun, Jul 22, 2012 at 12:08:34PM -0400, Shea Levy wrote:
The linux-kernel-announce doesn't seem to have had any traffic
since 3.1-rc4 (maybe due to the kernel.org break-in?). Is there a
recommended way t
0]: https://nixos.org/
Cheers,
Shea Levy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi Palmer, Zong,
Palmer Dabbelt writes:
> On Thu, 15 Mar 2018 01:50:40 PDT (-0700), z...@andestech.com wrote:
>> These patches resolve the some issues of loadable module.
>> - symbol out of ranges
>> - unknown relocation types
>>
>> The reference of external variable and function symbols
>>
Hi Zong,
Zong Li writes:
> 2018-03-24 20:59 GMT+08:00 Shea Levy :
>> Hi Palmer, Zong,
>>
>> Palmer Dabbelt writes:
>>
>>> On Thu, 15 Mar 2018 01:50:40 PDT (-0700), z...@andestech.com wrote:
>>>> These patches resolve the some issues o
Signed-off-by: Shea Levy
---
arch/m68k/Kconfig | 1 +
arch/m68k/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 785612b576f7..47913a68529e 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -24,6 +24,7
Signed-off-by: Shea Levy
---
arch/sh/Kconfig | 1 +
arch/sh/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 97fe29316476..b6f80dad2152 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -50,6 +50,7 @@ config SUPERH
Signed-off-by: Shea Levy
---
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 6 --
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c22ebe08e902..ab1b4cee84fc 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -37,6 +37,7
Signed-off-by: Shea Levy
---
init/initramfs.c | 7 +++
usr/Kconfig | 4
2 files changed, 11 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..de5ce873eb5a 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,13 @@ extern unsigned
Signed-off-by: Shea Levy
---
arch/um/Kconfig.common | 1 +
arch/um/kernel/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index c68add8df3ae..1cb8a023938b 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um
Signed-off-by: Shea Levy
---
arch/parisc/Kconfig | 1 +
arch/parisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 9792d8cf4f56..7410c2094987 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
Signed-off-by: Shea Levy
---
arch/nios2/Kconfig | 1 +
arch/nios2/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 3d4ec88f1db1..d3b72d5c8967 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -19,6
Signed-off-by: Shea Levy
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/mm/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd07642..8cf384068e79 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
Signed-off-by: Shea Levy
---
arch/microblaze/Kconfig | 1 +
arch/microblaze/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 3817a3e2146c..ef23e8410b4b 100644
--- a/arch/microblaze/Kconfig
+++ b/arch
Signed-off-by: Shea Levy
---
arch/m32r/Kconfig | 1 +
arch/m32r/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index dd84ee194579..010a2b999181 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -21,6
Signed-off-by: Shea Levy
---
arch/openrisc/Kconfig | 1 +
arch/openrisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index dfb6a79ba7ff..0f8d2132baa5 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc
Signed-off-by: Shea Levy
---
arch/h8300/Kconfig | 1 +
arch/h8300/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 091d6d04b5e5..58c9b6b1df16 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -24,6
Signed-off-by: Shea Levy
---
arch/c6x/Kconfig | 1 +
arch/c6x/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index c6b4dd1418b4..857f95f9a6a4 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -19,6 +19,7 @@ config
Signed-off-by: Shea Levy
---
arch/frv/Kconfig | 1 +
arch/frv/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index af369b05fed5..5c104b800cb1 100644
--- a/arch/frv/Kconfig
+++ b/arch/frv/Kconfig
@@ -17,6 +17,7
Signed-off-by: Shea Levy
---
arch/arc/Kconfig | 1 +
arch/arc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index d76bf4a83740..2844ce5b910c 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -44,6 +44,7 @@ config
Signed-off-by: Shea Levy
---
arch/alpha/Kconfig | 1 +
arch/alpha/mm/init.c | 8
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index e96adcbcab41..238d743ae8f2 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -27,6
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
Signed-off-by: Shea Levy
---
arch/h8300/Kconfig | 1 +
arch/h8300/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 091d6d04b5e5..58c9b6b1df16 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -24,6
Hi Christophe,
LEROY Christophe writes:
> Shea Levy a écrit :
>
>> Signed-off-by: Shea Levy
>> ---
>> init/initramfs.c | 7 +++
>> usr/Kconfig | 4
>> 2 files changed, 11 insertions(+)
>>
>> diff --git a/init/initramfs.c b/init
Signed-off-by: Shea Levy
---
arch/sh/Kconfig | 1 +
arch/sh/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 97fe29316476..b6f80dad2152 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -50,6 +50,7 @@ config SUPERH
Signed-off-by: Shea Levy
---
arch/nios2/Kconfig | 1 +
arch/nios2/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 3d4ec88f1db1..d3b72d5c8967 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -19,6
Signed-off-by: Shea Levy
---
arch/m68k/Kconfig | 1 +
arch/m68k/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 785612b576f7..47913a68529e 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -24,6 +24,7
Signed-off-by: Shea Levy
---
arch/um/Kconfig.common | 1 +
arch/um/kernel/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index c68add8df3ae..1cb8a023938b 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um
Signed-off-by: Shea Levy
---
arch/frv/Kconfig | 1 +
arch/frv/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index af369b05fed5..5c104b800cb1 100644
--- a/arch/frv/Kconfig
+++ b/arch/frv/Kconfig
@@ -17,6 +17,7
Signed-off-by: Shea Levy
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/mm/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd07642..8cf384068e79 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
Signed-off-by: Shea Levy
---
arch/parisc/Kconfig | 1 +
arch/parisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 9792d8cf4f56..7410c2094987 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
Signed-off-by: Shea Levy
---
arch/openrisc/Kconfig | 1 +
arch/openrisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index dfb6a79ba7ff..0f8d2132baa5 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc
Signed-off-by: Shea Levy
---
arch/c6x/Kconfig | 1 +
arch/c6x/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index c6b4dd1418b4..857f95f9a6a4 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -19,6 +19,7 @@ config
Signed-off-by: Shea Levy
---
arch/microblaze/Kconfig | 1 +
arch/microblaze/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 3817a3e2146c..ef23e8410b4b 100644
--- a/arch/microblaze/Kconfig
+++ b/arch
Signed-off-by: Shea Levy
---
arch/arc/Kconfig | 1 +
arch/arc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index d76bf4a83740..2844ce5b910c 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -44,6 +44,7 @@ config
Signed-off-by: Shea Levy
---
arch/alpha/Kconfig | 1 +
arch/alpha/mm/init.c | 8
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index e96adcbcab41..238d743ae8f2 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -27,6
Signed-off-by: Shea Levy
---
arch/m32r/Kconfig | 1 +
arch/m32r/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index dd84ee194579..010a2b999181 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -21,6
Signed-off-by: Shea Levy
---
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 6 --
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c22ebe08e902..ab1b4cee84fc 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -37,6 +37,7
Signed-off-by: Shea Levy
---
init/initramfs.c | 7 +++
usr/Kconfig | 4
2 files changed, 11 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..5f2e3dba4822 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,13 @@ extern unsigned
Hi Palmer,
Palmer Dabbelt writes:
> On Sun, 25 Mar 2018 15:18:39 PDT (-0700), s...@shealevy.com wrote:
>> Signed-off-by: Shea Levy
>> ---
>> arch/riscv/Kconfig | 1 +
>> arch/riscv/mm/init.c | 6 --
>> 2 files changed, 1 insertion(+), 6 deletions(-)
>
Signed-off-by: Shea Levy
---
Note that this patch worked in my old modules patchset and seems to be
working now, but my kernel boot locks up on top of
riscv-for-linus-4.17-mw0 and I don't know if it's due to this patch or
something else that's changed in the mean time.
---
arc
Hi Palmer,
Palmer Dabbelt writes:
> On Tue, 20 Feb 2018 05:50:43 PST (-0800), s...@shealevy.com wrote:
>> Signed-off-by: Shea Levy
>> ---
>> arch/riscv/mm/init.c | 6 ++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/arch/riscv/mm/init.c b/arc
Palmer Dabbelt writes:
> On Thu, 08 Mar 2018 11:14:52 PST (-0800), s...@shealevy.com wrote:
>> Hi Palmer,
>>
>> Palmer Dabbelt writes:
>>
>>> On Tue, 20 Feb 2018 05:50:43 PST (-0800), s...@shealevy.com wrote:
>>>> Signed-off-by: Shea Levy
>&g
Hello!
You may be interested in my recent patchset [1], which has known issues
but addresses the same problems yours does. It differs in the approach
taken here in that, rather than supporting GOT/PLT handling which we
can't really take advantage of anyway, we simply build non-PIC modules
instead
Hi Palmer,
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote:
>> These patches resolve the some issues of loadable module.
>> - symbol out of ranges
>> - unknown relocation types
>>
>> The reference of external variable and function symbols
>> cannot
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote:
>> 2018-03-14 5:30 GMT+08:00 Shea Levy :
>>> Hi Palmer,
>>>
>>> Palmer Dabbelt writes:
>>>
>>>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@
Zong Li writes:
> 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt :
>> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote:
>>>
>>> 2018-03-14 5:30 GMT+08:00 Shea Levy :
>>>>
>>>> Hi Palmer,
>>>>
>>>> Pal
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote:
>> Hi Palmer,
>>
>> Palmer Dabbelt writes:
>>
>>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote:
These patches resolve the some issues of loadable module.
- symbol out of
Palmer Dabbelt writes:
> On Wed, 14 Mar 2018 05:07:09 PDT (-0700), s...@shealevy.com wrote:
>> Palmer Dabbelt writes:
>>
>>> On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote:
Hi Palmer,
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
Signed-off-by: Shea Levy
---
init/initramfs.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..c8fe150f958a 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,11 @@ extern unsigned long __initramfs_size;
#include
Signed-off-by: Shea Levy
---
arch/c6x/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index 4cc72b0d1c1d..a11cb657182a 100644
--- a/arch/c6x/mm/init.c
+++ b/arch/c6x/mm/init.c
@@ -66,13 +66,6 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
arch/m68k/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index e85acd131fa8..e20bef09258c 100644
--- a/arch/m68k/mm/init.c
+++ b/arch/m68k/mm/init.c
@@ -172,10 +172,3 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
arch/h8300/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 015287ac8ce8..37574332b202 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -102,13 +102,6 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
arch/alpha/mm/init.c | 8
1 file changed, 8 deletions(-)
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 9d74520298ab..55f7c8efa962 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm/init.c
@@ -291,11 +291,3 @@ free_initmem(void
Signed-off-by: Shea Levy
---
arch/riscv/mm/init.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index c77df8142be2..36f83fe8a726 100644
--- a/arch/riscv/mm/init.c
+++ b/arch/riscv/mm/init.c
@@ -62,9 +62,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/nios2/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c
index c92fe4234009..3df75ff8c768 100644
--- a/arch/nios2/mm/init.c
+++ b/arch/nios2/mm/init.c
@@ -82,13 +82,6 @@ void __init mmu_init(void
Signed-off-by: Shea Levy
---
arch/parisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index cab32ee824d2..3643399230f3 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -932,10 +932,3 @@ void flush_tlb_all(void
Signed-off-by: Shea Levy
---
arch/openrisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c
index 6972d5d6f23f..c1a3dcf9ad40 100644
--- a/arch/openrisc/mm/init.c
+++ b/arch/openrisc/mm/init.c
@@ -222,13 +222,6 @@ void __init
Signed-off-by: Shea Levy
---
arch/um/kernel/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index 3c0e470ea646..2d26eec92126 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel/mem.c
@@ -170,13 +170,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/sh/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index ce0bbaa7e404..7451459d0725 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -477,13 +477,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/powerpc/mm/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index fe8c61149fb8..e85b2a3cd264 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -404,13 +404,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/m32r/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c
index 93abc8c3a46e..e2b5f09209ee 100644
--- a/arch/m32r/mm/init.c
+++ b/arch/m32r/mm/init.c
@@ -139,14 +139,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/microblaze/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index df6de7ccdc2e..ea058dfda222 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -187,13 +187,6 @@ void
Signed-off-by: Shea Levy
---
arch/frv/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index cf464100e838..345edc4dc462 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
@@ -131,14 +131,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/arc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c
index ba145065c579..7bcf23ab1756 100644
--- a/arch/arc/mm/init.c
+++ b/arch/arc/mm/init.c
@@ -229,10 +229,3 @@ void __ref free_initmem(void
Joe Perches writes:
> On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote:
>> Signed-off-by: Shea Levy
>
> Most people seem to want some form of commit message
> and not just your sign-off.
>
Ah, if the subject is insufficient I can add some more detail.
>
> And
Daniel Thompson writes:
> On 28/03/18 21:36, Shea Levy wrote:
>> Signed-off-by: Shea Levy
>> ---
>> arch/riscv/mm/init.c | 6 --
>> 1 file changed, 6 deletions(-)
>>
>> diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
>> index c7
Now that there is a generic implementation, riscv's noop stub can be
removed.
Signed-off-by: Shea Levy
---
arch/riscv/mm/init.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index c77df8142be2..36f83fe8a726 100644
--- a/arch/riscv/mm/i
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/alpha/mm/init.c | 8
1 file changed, 8 deletions(-)
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 9d74520298ab..55f7c8efa962 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/frv/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index cf464100e838..345edc4dc462 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/um/kernel/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index 3c0e470ea646..2d26eec92126 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel
1 - 100 of 146 matches
Mail list logo