Re: [PATCH][RFC] disable built-in modules V2

2005-04-09 Thread Magnus Damm
On Apr 9, 2005 3:42 AM, Herbert Xu <[EMAIL PROTECTED]> wrote: > Magnus Damm <[EMAIL PROTECTED]> wrote: > > > > Say a kernel shipped with your favourite distribution crashes your > > machine during boot-up - wouldn't it be nice to be able to just > > di

Re: [PATCH][RFC] disable built-in modules V2

2005-04-09 Thread Magnus Damm
On Apr 9, 2005 11:48 AM, Herbert Xu <[EMAIL PROTECTED]> wrote: > On Sat, Apr 09, 2005 at 11:43:59AM +0200, Magnus Damm wrote: > > > > > Perhaps your favourite distribution could build that as a module to > > > start with. > > > > Right. Today dis

Re: [PATCH][RFC] disable built-in modules V2

2005-04-09 Thread Magnus Damm
On Apr 9, 2005 12:07 PM, Herbert Xu <[EMAIL PROTECTED]> wrote: > On Sat, Apr 09, 2005 at 12:03:45PM +0200, Magnus Damm wrote: > > > > > Perhaps they should start using initramfs then. > > > > But how does that help me? I still want to be able to pass a list o

Re: [PATCH 0/5] autoparam

2005-04-11 Thread Magnus Damm
On 4/9/05, Domen Puncer <[EMAIL PROTECTED]> wrote: > On 21/03/05 00:06 +0100, Magnus Damm wrote: > > Here are a set of patches that makes it possible to autogenerate kernel > > command > > line documentation from the source code. The approach is rather > > st

Re: Call to atention about using hash functions as content indexers (SCM saga)

2005-04-11 Thread Magnus Damm
On 4/12/05, Petr Baudis <[EMAIL PROTECTED]> wrote: > (iv) You fail to propose a better solution. I would feel safer with back end storage filenames based on email and mtime together with an optional hash lookup that turns collisions into worse performance. But that's just me. / magnus - To unsub

incorrect help for NETLINK in 2.2.19

2001-05-28 Thread Magnus Damm
you want a patch. Thanks / Magnus Damm http://opensource.se - open source in sweden - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

Re: How to reclaim inode pages on demand

2005-08-10 Thread Magnus Damm
On 8/11/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > Mel Gorman <[EMAIL PROTECTED]> wrote: > > The majority of pages I am seeing no longer have page->mapping set. Does > > this mean they are in the process of being cleared up? > > They're just anonymous pages, aren't they? But you said "pages t

Re: How to reclaim inode pages on demand

2005-08-10 Thread Magnus Damm
On 8/11/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > Magnus Damm <[EMAIL PROTECTED]> wrote: > > > > On 8/11/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > Mel Gorman <[EMAIL PROTECTED]> wrote: > > > > The majority of pages I am see

Re: [PATCH] MPC8xx PCMCIA driver

2005-09-01 Thread Magnus Damm
Hello all, Nice to see that this driver gets forward ported to 2.6. I originally wrote it for pcmcia-cs, but it made its way into 2.4 after a while. Thanks to all the people who added code and fixes. I'm not sure how the current Linux pcmcia layer works, and I am not involved in powerpc land anym

[PATCH] i386: single node SPARSEMEM fix

2005-09-05 Thread Magnus Damm
memory_present() without this patch, which breaks single node support. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- from-0006/arch/i386/Kconfig +++ to-0007/arch/i386/Kconfig 2005-09-06 12:01:45.0 +0900 @@ -758,7 +758,6 @@ config NUMA depends on SMP && HIGHMEM64G

[PATCH] i386: CONFIG_ACPI_SRAT typo fix

2005-09-07 Thread Magnus Damm
This patch for 2.6.13-git6 fixes a typo involving CONFIG_ACPI_SRAT. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- from-0005/include/asm-i386/mmzone.h +++ to-0008/include/asm-i386/mmzone.h 2005-09-07 15:06:52.0 +0900 @@ -29,7 +29,7 @@ static inline void get_memcfg_num

Re: [PATCH] i386: single node SPARSEMEM fix

2005-09-07 Thread Magnus Damm
On 9/8/05, Dave Hansen <[EMAIL PROTECTED]> wrote: > On Tue, 2005-09-06 at 12:56 +0900, Magnus Damm wrote: > > This patch for 2.6.13-git5 fixes single node sparsemem support. In the case > > when multiple nodes are used, setup_memory() in arch/i386/mm/discontig.c > >

Re: [PATCH] i386: single node SPARSEMEM fix

2005-09-07 Thread Magnus Damm
On 9/8/05, Martin J. Bligh <[EMAIL PROTECTED]> wrote: > --On Wednesday, September 07, 2005 10:28:36 -0700 Dave Hansen <[EMAIL > PROTECTED]> wrote: > > > On Tue, 2005-09-06 at 12:56 +0900, Magnus Damm wrote: > >> This patch for 2.6.13-git5 fixes single

Re: [PATCH] i386: single node SPARSEMEM fix

2005-09-07 Thread Magnus Damm
On 9/8/05, Dave Hansen <[EMAIL PROTECTED]> wrote: > On Wed, 2005-09-07 at 11:22 -0700, Martin J. Bligh wrote: > > CONFIG_NUMA was meant to (and did at one point) support both NUMA and flat > > machines. This is essential in order for the distros to support it - same > > will go for sparsemem. > >

Re: [PATCH] i386: single node SPARSEMEM fix

2005-09-07 Thread Magnus Damm
On 9/8/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > "Martin J. Bligh" <[EMAIL PROTECTED]> wrote: > > > > > > > > --On Wednesday, September 07, 2005 11:27:54 -0700 Dave Hansen <[EMAIL > > PROTECTED]> wrote: > > > > > On Wed, 2005-09-07 at 11:22 -0700, Martin J. Bligh wrote: > > >> CONFIG_NUMA was

Re: [PATCH] i386: single node SPARSEMEM fix

2005-09-07 Thread Magnus Damm
On Wed, 2005-09-07 at 23:11 -0700, Martin J. Bligh wrote: > >> >> CONFIG_NUMA was meant to (and did at one point) support both NUMA and > >> >> flat > >> >> machines. This is essential in order for the distros to support it - > >> >> same > >> >> will go for sparsemem. > >> > > >> > That's a dif

Re: [PATCH 0/5] SUBCPUSETS: a resource control functionality using CPUSETS

2005-09-08 Thread Magnus Damm
On 9/9/05, KUROSAWA Takahiro <[EMAIL PROTECTED]> wrote: > On Thu, 8 Sep 2005 05:02:32 -0700 > Paul Jackson <[EMAIL PROTECTED]> wrote: > > One of my passions is to avoid special cases across API boundaries. > > > > I am proposing that you don't do subcpusets like this. > > > > Consider the following

Re: [PATCH 0/5] SUBCPUSETS: a resource control functionality using CPUSETS

2005-09-09 Thread Magnus Damm
On 9/9/05, Paul Jackson <[EMAIL PROTECTED]> wrote: > magnus wrote: > > Maybe it is possible to have an hierarchical model and keep the > > framework simple and easy to understand while providing guarantees, > > Dinakar's patches to use cpu_exclusive cpusets to define dynamic > sched domains accomp

[PATCH] disable builtin modules

2005-03-19 Thread Magnus Damm
boot any installation cd that includes built in Firewire support because the ohci1394 code together with your broken hardware makes the kernel crash during bootup. Solution: Boot a kernel that includes this patch and pass ohci1394=off. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff

Re: [PATCH] disable builtin modules

2005-03-20 Thread Magnus Damm
On Sun, 20 Mar 2005 10:51:41 +0100 (MET), Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > >This patch makes it possible to disable built in code from the kernel > >command line. The patch is rather simple - it extends the compiled-in case > >of module_init() to include __setup() with a name based on

af_unix.c, KBUILD_MODNAME and unix

2005-03-20 Thread Magnus Damm
Hello All, af_unix.c is currenty built with KBUILD_MODNAME=unix. This seems to work rather well today, but if someone actually tries to use KBUILD_MODNAME then they will end up with a preprocessor surprise: KBUILD_MODNAME -> unix -> 1, because "unix" is defined to 1. With other words, if someone

Re: af_unix.c, KBUILD_MODNAME and unix

2005-03-20 Thread Magnus Damm
> >> af_unix.c is currenty built with KBUILD_MODNAME=unix. This seems to > >> Solution? #undef unix? > > > >or maybe -Uunix ? > > Why is not KBUILD_MODNAME=af_unix ? The exact solution does not matter that much to me, and I'm afraid I do not know how changing KBUILD_MODNAME affects the rest of th

ide-xxx.c and KBUILD_MODNAME

2005-03-20 Thread Magnus Damm
Hello again, The KBUILD_MODNAME problem with af_unix.c is sort of also affecting the ide code, but with another twist. "unix" is not a problem, but KBUILD_MODNAME collides with constants defined in : [snip] /* * Now for the data we need to maintain per-drive: ide_drive_t */ #define ide_scsi

[PATCH] i8042: MODULE_PARM_DESC

2005-03-20 Thread Magnus Damm
For 2.6.11.x, already fixed in 2.6.12-rc1. Replace duplicate "dumbkbd" with "noloop". Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.11.4/drivers/input/serio/i8042.c 2005-03-16 10:56:16.0 +0100 +++ linux-2.6.11.4-i8042_parm_desc/drivers/input

[PATCH] drm: MODULE_PARM_DESC

2005-03-20 Thread Magnus Damm
For 2.6.12 and 2.6.11.x: Remove incorrect "drm_"-prefix from parameter description. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.11.5/drivers/char/drm/drm_stub.c 2005-03-20 18:09:14.348412000 +0100 +++ linux-2.6.11.5-drm_parm_desc/drivers/char/drm/drm_stub.c

[PATCH 0/5] autoparam

2005-03-20 Thread Magnus Damm
Here are a set of patches that makes it possible to autogenerate kernel command line documentation from the source code. The approach is rather straightforward - the parameter name, the type and the description are stored in a section called __param_strings. After vmlinux is built this section is

[PATCH 1/5] autoparam: includes

2005-03-20 Thread Magnus Damm
The code of autoparam - modified include files. Stores parameter name, type and description in a section called __param_strings. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff -urN linux-2.6.12-rc1/include/linux/init.h linux-2.6.12-rc1-autoparam/include/linux/init.h --- linux-2.6.

[PATCH 3/5] autoparam: af_unix workaround

2005-03-20 Thread Magnus Damm
This is a quick fix that removes the "KBUILD_MODNAME -> unix -> 1" conflict. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff -urN linux-2.6.12-rc1/net/unix/af_unix.c linux-2.6.12-rc1-autoparam/net/unix/af_unix.c --- linux-2.6.12-rc1/net/unix/af_unix.c 2005-03-20 18

[PATCH 4/5] autoparam: ide workarounds

2005-03-20 Thread Magnus Damm
This patch contains quick fixes that prevents KBUILD_MODNAME conflicts. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff -urN linux-2.6.12-rc1/drivers/ide/ide-disk.c linux-2.6.12-rc1-autoparam/drivers/ide/ide-disk.c --- linux-2.6.12-rc1/drivers/ide/ide-disk.c 2005-03-20

[PATCH 2/5] autoparam: script

2005-03-20 Thread Magnus Damm
. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff -urN linux-2.6.12-rc1/scripts/section2text.rb linux-2.6.12-rc1-autoparam/scripts/section2text.rb --- linux-2.6.12-rc1/scripts/section2text.rb1970-01-01 01:00:00.0 +0100 +++ linux-2.6.12-rc1-autoparam/scripts/section2text.rb

[PATCH 5/5] autoparam: various fixes

2005-03-20 Thread Magnus Damm
Some module parameter fixes, errors reported by section2text.rb. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> diff -urN linux-2.6.12-rc1/drivers/net/8139cp.c linux-2.6.12-rc1-autoparam/drivers/net/8139cp.c --- linux-2.6.12-rc1/drivers/net/8139cp.c 2005-03-20 18:09:14.0

[PATCH] bt878: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Remove incorrect "bt878_"-prefix from parameter description. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/drivers/media/dvb/bt8xx/bt878.c2004-12-24 22:34:49.0 +0100 +++ linux-2.6.

[PATCH] arlan: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Some module parameter descriptions should only be present when debugging is enabled, ie when ARLAN_ENTRY_EXIT_DEBUGGING is defined. The patch fixes this and adds "arlan_entry_and_exit_debug" that was missing. Error detected with section2text.rb, see autoparam patch. Signed-off-by: M

[PATCH] edgeport: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Fix "low_latency"/"debug" parameter description duplication/mixup. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/drivers/usb/serial/io_edgeport.c 2005-03-20 18:20:17.0 +0100 +++

[PATCH] gadget/ether: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Fix "dev_addr"/"iProduct" parameter description duplication/mixup. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/drivers/usb/gadget/ether.c 2005-03-20 18:20:17.0 +0100 +++ linux-2.

[PATCH] ttpci/budget: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Remove incorrect "budget_"-prefix from parameter description. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/drivers/media/dvb/ttpci/budget-core.c 2005-03-20 18:20:16.0 +0100 +++

[PATCH] asus_acpi: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Remove incorrect "asus_"-prefix from parameter name. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/drivers/acpi/asus_acpi.c 2005-03-20 18:09:14.0 +0100 +++ linux-2.6.12-rc1-autopa

[PATCH] dvb_frontend: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Remove "dvb_"-prefix from parameters. Without the patch all parameters except the declaration of parameter "frontend_debug" have a "dvb_"-prefix. Error detected with section2text.rb, see autoparam patch. --- linux-2.6.12-rc1/drivers/media/dvb/dvb-core/dvb_frontend.c 2005-03-20 18:20:16.000

[PATCH] cifs: MODULE_PARM_DESC

2005-03-21 Thread Magnus Damm
Fix parameter description typo, use parameter name "cifs_min_small" instead of non-existing "cifs_small_rcv" for MODULE_PARM_DESC. Error detected with section2text.rb, see autoparam patch. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- linux-2.6.12-rc1/fs/cifs/c

Re: [PATCH] dvb_frontend: MODULE_PARM_DESC

2005-03-22 Thread Magnus Damm
On Tue, 22 Mar 2005 03:51:04 +0100, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > On Mon, Mar 21, 2005 at 05:10:27PM +0100, Magnus Damm wrote: > > Remove "dvb_"-prefix from parameters. Without the patch all parameters > > except > > the declaration of pa

Re: Linux 2.4.30-rc1

2005-03-24 Thread Magnus Damm
Hello, On Fri, 18 Mar 2005 18:55:13 -0300, Marcelo Tosatti <[EMAIL PROTECTED]> wrote: > > > Here goes the first release candidate for v2.4.30. I'm a bit late, but here's a patch that fixes a module parameter description typo in eepro100. The problem was located in the 2.6 source and a fix shoul

Re: Continuing woes - Yenta PCMCIA and USB 2.0 Cardbus Card

2005-03-30 Thread Magnus Damm
Hello, On Tue, 29 Mar 2005 19:06:19 -0500, Ron Gage <[EMAIL PROTECTED]> wrote: > Laptop is an HP Pavilion N5150, Intel USB chipset (UHCI). Cardbus card is > generic ALI based USB chipset (EHCI/OHCI). USB drive is a Sony VAIO external > case for a 2.5" drive. The chip in the usb drive has no man

pata_platform: Fix NULL pointer dereference

2007-07-19 Thread Magnus Damm
pata_platform: Fix NULL pointer dereference pata_platform currently dereferences a NULL pointer in pata_platform_probe() if pdev->dev.platform_data is set to NULL. This breakage was most likely introduced by commit 5f45bc50976ee1f408f7171af155aec646655a37. Signed-off-by: Magnus Damm <

Re: [Fastboot] [PATCH] kexec: Fix CONFIG_SMP=n compilation (ia64)

2007-02-04 Thread Magnus Damm
On 2/3/07, Horms <[EMAIL PROTECTED]> wrote: On Fri, Feb 02, 2007 at 08:53:00PM +0900, Magnus Damm wrote: > On 2/2/07, Magnus Damm <[EMAIL PROTECTED]> wrote: > > On 2/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > Magnus Damm <[EMAIL PROTECTED]> wr

[PATCH] kexec: Fix CONFIG_SMP=n compilation V2 (ia64)

2007-02-04 Thread Magnus Damm
64/kernel/crash.c: At top level: arch/ia64/kernel/crash.c:84: warning: 'kdump_wait_cpu_freeze' defined but not used make[1]: *** [arch/ia64/kernel/crash.o] Error 1 make: *** [arch/ia64/kernel] Error 2 Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- Applies on top of 2.6.20.

Re: [RFC][PATCH][0/4] Memory controller (RSS Control)

2007-02-19 Thread Magnus Damm
On 2/19/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Mon, 19 Feb 2007 12:20:19 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > This patch applies on top of Paul Menage's container patches (V7) posted at > > http://lkml.org/lkml/2007/2/12/88 > > It implements a controller within the cont

Re: [RFC][PATCH][0/4] Memory controller (RSS Control)

2007-02-19 Thread Magnus Damm
On 2/19/07, Balbir Singh <[EMAIL PROTECTED]> wrote: Magnus Damm wrote: > On 2/19/07, Andrew Morton <[EMAIL PROTECTED]> wrote: >> On Mon, 19 Feb 2007 12:20:19 +0530 Balbir Singh <[EMAIL PROTECTED]> >> wrote: >> >> > This patch applies on top of P

[PATCH] kexec: Avoid migration of already disabled irqs (ia64)

2007-02-01 Thread Magnus Damm
ipermail/fastboot/2007-January/thread.html#5774 Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> Acked-by: Simon Horman <[EMAIL PROTECTED]> Acked-by: Zou, Nanhai <[EMAIL PROTECTED]> Acked-by: Jay Lan <[EMAIL PROTECTED]> --- Tested using kexec-tools-testing 7792798a79b78a5

[PATCH] kexec: Fix CONFIG_SMP=n compilation (ia64)

2007-02-01 Thread Magnus Damm
kexec: Fix CONFIG_SMP=n compilation (ia64) This patch makes it possible to compile kexec for ia64 without SMP support. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- Applies on top of 2.6.20-rc7. arch/ia64/kernel/crash.c | 11 +++ arch/ia64/kernel/machine_kexec.c

Re: [PATCH] kexec: Fix CONFIG_SMP=n compilation (ia64)

2007-02-01 Thread Magnus Damm
On 2/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: (added ia64 list) (added ia64 maintainer) (added kexec list) Sorry about that. On Thu, 01 Feb 2007 22:13:47 +0900 Magnus Damm <[EMAIL PROTECTED]> wrote: > kexec: Fix CONFIG_SMP=n compilation (ia64) > > This patch

Re: [PATCH] kexec: Fix CONFIG_SMP=n compilation (ia64)

2007-02-02 Thread Magnus Damm
On 2/2/07, Magnus Damm <[EMAIL PROTECTED]> wrote: On 2/2/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > Magnus Damm <[EMAIL PROTECTED]> wrote: > > > kexec: Fix CONFIG_SMP=n compilation (ia64) > > > > This patch makes it possible to compile kexec for i

[PATCH] Kexec / Kdump: Unify elf note code

2006-12-03 Thread Magnus Damm
s390 doesn't fully support kexec-on-panic which for that arch leads to introduction of unused code. Signed-Off-By: Magnus Damm <[EMAIL PROTECTED]> --- Applies on top of linux-2.6.19. Builds on i386 and x86_64. arch/i386/kernel/crash.c| 66 +---

[PATCH 00/02] kexec: Move segment code to assembly files

2006-12-05 Thread Magnus Damm
is an attempt to simplify future porting work. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- Applies to 2.6.19. arch/i386/kernel/machine_kexec.c | 59 -- arch/i386/kernel/relocate_kernel.S | 58 ++--- arch/x86_64/

[PATCH 02/02] kexec: Move segment code to assembly file (x86_64)

2006-12-05 Thread Magnus Damm
control page. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- Applies to 2.6.19. arch/x86_64/kernel/machine_kexec.c | 58 -- arch/x86_64/kernel/relocate_kernel.S | 50 ++--- 2 files changed, 45 insertions(+), 63 del

[PATCH 01/02] kexec: Move segment code to assembly file (i386)

2006-12-05 Thread Magnus Damm
control page. Signed-off-by: Magnus Damm <[EMAIL PROTECTED]> --- Applies to 2.6.19. arch/i386/kernel/machine_kexec.c | 59 arch/i386/kernel/relocate_kernel.S | 58 --- 2 files changed, 53 insertions(+), 64 del

Re: [PATCH 00/02] kexec: Move segment code to assembly files

2006-12-05 Thread Magnus Damm
On 12/5/06, Vivek Goyal <[EMAIL PROTECTED]> wrote: On Tue, Dec 05, 2006 at 10:37:57PM +0900, Magnus Damm wrote: > kexec: Move segment code to assembly files > > The following patches rearrange the lowlevel kexec code to perform idt, > gdt and segment setup code in assembl

[PATCH 2.6.20-rc1] fix vm_events_fold_cpu() build breakage

2006-12-14 Thread Magnus Damm
x56eb): undefined reference to `vm_events_fold_cpu' make: *** [.tmp_vmlinux1] Error 1 Signed-Off-By: Magnus Damm <[EMAIL PROTECTED]> --- Applies on top of linux-2.6.20-rc1. include/linux/vmstat.h |4 1 file changed, 4 insertions(+) --- 0001/include/linux/vmstat.h +++ 00

Re: [PATCH 17/20] x86_64: Remove CONFIG_PHYSICAL_START

2006-11-17 Thread Magnus Damm
Hi Vivek, Sorry for not commenting on an earlier version. On 11/18/06, Vivek Goyal <[EMAIL PROTECTED]> wrote: I am about to add relocatable kernel support which has essentially no cost so there is no point in retaining CONFIG_PHYSICAL_START and retaining CONFIG_PHYSICAL_START makes implementati

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Magnus Damm
On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: On Thu, Mar 15, 2007 at 06:56:16PM +0530, Vivek Goyal wrote: > On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: > > On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: > > > > > But I think changing this macro might run into issues. It i

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Magnus Damm
On 3/16/07, Horms <[EMAIL PROTECTED]> wrote: On Fri, Mar 16, 2007 at 08:52:30AM +0530, Vivek Goyal wrote: > So it will now be left to the user. If he tries to kexec to a 64bit kernel > on a machine not supporting 32bit extensions, then kexec will not give > any advance warning. I feel comfortabl

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > Right. And maybe it's a good idea to make sure that this feature is > actually supported by kexec-tools before adding code to the kernel? I sent patches to the fastboot

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: On Fri, 2007-03-16 at 16:59 +0900, Magnus Damm wrote: > On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-03-16 at 11:40 +0900, Magnus Damm wrote: > > > Right. And maybe it's a good ide

Re: [Fastboot] [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-16 Thread Magnus Damm
On 3/16/07, Vivek Goyal <[EMAIL PROTECTED]> wrote: Got a question. When running 32bit dom0 on 64bit hypervisor, which kexec-tools elf loader will kick in? 32bit or 64bit? Looks like in this case 64bit one. But shouldn't it be 32bit as 32bit OS is running and we must be using the kexec-tools binar

Re: 2.6.21-rc2-mm2

2007-03-08 Thread Magnus Damm
On 3/6/07, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: Following panic ouccurred (always) on ia64/NUMA(with empty node.) Bug in here. == void move_native_irq(int irq) { struct irq_desc *desc = irq_desc + irq; if (likely(!(desc->status & IRQ_MOVE_PENDING))) retu

[PATCH v5 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V5

2016-09-20 Thread Magnus Damm
reworked to include patch 3 of the V1 of this series Changes since V1: - Got rid of patch 2 and 3 from initial series - Updated bitmap code locking and also used lighter bitop functions - Updated the Kconfig bits to apply on top of ARCH_RENESAS Signed-off-by: Magnus Damm --- Built on top

[PATCH v5 01/07] iommu/ipmmu-vmsa: Remove platform data handling

2016-09-20 Thread Magnus Damm
From: Magnus Damm The IPMMU driver is using DT these days, and platform data is no longer used by the driver. Remove unused code. Signed-off-by: Magnus Damm Reviewed-by: Laurent Pinchart --- Changes since V4: - None Changes since V3: - None Changes since V2: - None Changes since V1

[PATCH v5 03/07] iommu/ipmmu-vmsa: Break out utlb parsing code

2016-09-20 Thread Magnus Damm
From: Magnus Damm Break out the utlb parsing code and dev_data allocation into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm --- Changes since V4: - Dropped hunk with fix to apply on top of: b1e2afc iommu/ipmmu-vmsa: Fix wrong error handle

[PATCH v5 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2016-09-20 Thread Magnus Damm
From: Magnus Damm Introduce a bitmap for context handing and convert the interrupt routine to handle all registered contexts. At this point the number of contexts are still limited. Also remove the use of the ARM specific mapping variable from ipmmu_irq() to allow compile on ARM64. Signed-off

[PATCH v5 07/07] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2016-09-20 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm

[PATCH v5 06/07] iommu/ipmmu-vmsa: ARM and ARM64 archdata access

2016-09-20 Thread Magnus Damm
From: Magnus Damm Not all architectures have an iommu member in their archdata, so use #ifdefs support build wit COMPILE_TEST on any architecture. Signed-off-by: Magnus Damm --- Changes since V4: - None Changes since V3: - New patch drivers/iommu/ipmmu-vmsa.c | 37

[PATCH v5 04/07] iommu/ipmmu-vmsa: Break out domain allocation code

2016-09-20 Thread Magnus Damm
From: Magnus Damm Break out the domain allocation code into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm --- Changes since V4: - None Changes since V3: - None Changes since V2: - Included this new patch as-is from the following series

[PATCH v5 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-09-20 Thread Magnus Damm
From: Magnus Damm Introduce an alternative set of iommu_ops suitable for 64-bit ARM as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. Also adjust the Kconfig to depend on ARM or IOMMU_DMA. Signed-off-by: Magnus Damm --- Changes since V4: - Added Kconfig hunk to depend on ARM or IOMMU_DMA

[PATCH v5 00/09] iommu/ipmmu-vmsa: r8a7795 support V5

2017-10-16 Thread Magnus Damm
-bit ARM update V2 - Reworked root device handling to make use of driver_for_each_device() - Added deferred probing to make sure root device always is present Signed-off-by: Magnus Damm --- Developed on top of next-20171013 Also applies to renesas-drivers-2017-10-03-v4.14-rc3 Tested on top

[PATCH v5 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-10-16 Thread Magnus Damm
From: Magnus Damm Add root device handling to the IPMMU driver by allowing certain DT compat strings to enable has_cache_leaf_nodes that in turn will support both root devices with interrupts and leaf devices that face the actual IPMMU consumer devices. Signed-off-by: Magnus Damm --- Changes

[PATCH v5 01/09] iommu/ipmmu-vmsa: Introduce features, break out alias

2017-10-16 Thread Magnus Damm
From: Magnus Damm Introduce struct ipmmu_features to track various hardware and software implementation changes inside the driver for different kinds of IPMMU hardware. Add use_ns_alias_offset as a first example of a feature to control if the secure register bank offset should be used or not

[PATCH v5 03/09] iommu/ipmmu-vmsa: Enable multi context support

2017-10-16 Thread Magnus Damm
From: Magnus Damm Add support for up to 8 contexts. Each context is mapped to one domain. One domain is assigned one or more slave devices. Contexts are allocated dynamically and slave devices are grouped together based on which IPMMU device they are connected to. This makes slave devices tied

[PATCH v5 04/09] iommu/ipmmu-vmsa: Make use of IOMMU_OF_DECLARE()

2017-10-16 Thread Magnus Damm
From: Magnus Damm Hook up IOMMU_OF_DECLARE() support in case CONFIG_IOMMU_DMA is enabled. The only current supported case for 32-bit ARM is disabled, however for 64-bit ARM usage of OF is required. Signed-off-by: Magnus Damm --- Changes since V4: - Use ipmmu_is_root() instead of now removed

[PATCH v5 05/09] iommu/ipmmu-vmsa: IPMMU device is 40-bit bus master

2017-10-16 Thread Magnus Damm
From: Magnus Damm The r8a7795 IPMMU supports 40-bit bus mastering. Both the coherent DMA mask and the streaming DMA mask are set to unlock the 40-bit address space for coherent allocations and streaming operations. Signed-off-by: Magnus Damm --- Changes since V4: - None Changes since V3

[PATCH v5 06/09] iommu/ipmmu-vmsa: Write IMCTR twice

2017-10-16 Thread Magnus Damm
From: Magnus Damm Write IMCTR both in the root device and the leaf node. To allow access of IMCTR introduce the following function: - ipmmu_ctx_write_all() While at it also rename context functions: - ipmmu_ctx_read() -> ipmmu_ctx_read_root() - ipmmu_ctx_write() -> ipmmu_ctx_writ

[PATCH v5 07/09] iommu/ipmmu-vmsa: Make IMBUSCTR setup optional

2017-10-16 Thread Magnus Damm
From: Magnus Damm Introduce a feature to allow opt-out of setting up IMBUSCR. The default case is unchanged. Signed-off-by: Magnus Damm --- Changes since V4: - Use leaf node mmu instead of root Changes since V3: - None Changes since V2: - None Changes since V1: - Updated the commit

[PATCH v5 08/09] iommu/ipmmu-vmsa: Allow two bit SL0

2017-10-16 Thread Magnus Damm
From: Magnus Damm Introduce support for two bit SL0 bitfield in IMTTBCR by using a separate feature flag. Signed-off-by: Magnus Damm --- Changes since V4: - Use leaf node mmu instead of root Changes since V3: - None Changes since V2: - None Changes since V1: - None drivers/iommu

[PATCH v5 09/09] iommu/ipmmu-vmsa: Hook up r8a7795 DT matching code

2017-10-16 Thread Magnus Damm
From: Magnus Damm Tie in r8a7795 features and update the IOMMU_OF_DECLARE compat string to include the updated compat string. Signed-off-by: Magnus Damm --- Changes since V4: - Got rid of root device availability check in ->xlate() -> deferred probing is used to make sure the r

Re: [PATCH v4 02/09] iommu/ipmmu-vmsa: Add optional root device feature

2017-10-16 Thread Magnus Damm
Hi Robin, On Tue, Jun 20, 2017 at 2:19 AM, Robin Murphy wrote: > On 19/06/17 10:14, Magnus Damm wrote: >> From: Magnus Damm >> >> Add root device handling to the IPMMU driver by allowing certain >> DT compat strings to enable has_cache_leaf_nodes that in turn will &

Re: [PATCH 1/2] clk: shmobile: add Renesas R-Car Gen3 CPG support

2015-08-28 Thread Magnus Damm
Hi Geert, On Wed, Aug 26, 2015 at 4:29 PM, Geert Uytterhoeven wrote: > Hi Stephen, > > On Wed, Aug 26, 2015 at 12:46 AM, Stephen Boyd wrote: >>> --- /dev/null >>> +++ b/drivers/clk/shmobile/clk-rcar-gen3.c > >>> + >>> +/* >>> + * Reset register definitions. >>> + */ >>> +#define MODEMR 0xe616006

[PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-10-18 Thread Magnus Damm
From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm

Re: [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-10-20 Thread Magnus Damm
Hi Laurent, On Mon, Oct 19, 2015 at 3:42 PM, Laurent Pinchart wrote: > Hi Magnus, > > Thank you for the patch. > > On Monday 19 October 2015 12:02:53 Magnus Damm wrote: >> From: Magnus Damm >> >> Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_

Re: [PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-23 Thread Magnus Damm
Hi Geert, On Wed, Apr 22, 2015 at 2:56 AM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Tue, Apr 21, 2015 at 5:01 PM, Magnus Damm wrote: >> irqchip: renesas-irqc: Fine grained Runtime PM support >> >> [PATCH/RFC 01/03] irqchip: renesas-irqc: Add irq_enable() and irq

[PATCH/RFC 01/03] irqchip: renesas-irqc: Add irq_enable() and irq_disable()

2015-04-21 Thread Magnus Damm
From: Magnus Damm Hook up ->irq_enable() and ->irq_disable() together with ->irq_mask() and ->irq_unmask(). This should not adjust any code behaviour at all. Signed-off-by: Magnus Damm --- drivers/irqchip/irq-renesas-irqc.c | 24 ++-- 1 file changed, 18 inse

[PATCH/RFC 03/03] irqchip: renesas-irqc: Rely on Runtime PM for wakeup

2015-04-21 Thread Magnus Damm
From: Magnus Damm Get rid of the clock control code and rely on Runtime PM for wakeup handling. This more or less reverts the earlier commit "irqchip: renesas-irqc: Add wake-up support" however to work ->irq_enable() and ->irq_disable() need to manage Runtime PM state. Signe

[PATCH/RFC 02/03] irqchip: renesas-irqc: Add fine grained Runtime PM code

2015-04-21 Thread Magnus Damm
From: Magnus Damm Convert Runtime PM support from coarse grained "always enabled" into more fine grained per-interrupt optional enablement. Signed-off-by: Magnus Damm --- drivers/irqchip/irq-renesas-irqc.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) --- 00

[PATCH/RFC 00/03] irqchip: renesas-irqc: Fine grained Runtime PM support

2015-04-21 Thread Magnus Damm
oard, but I have not tried Suspend-to-RAM yet with wakeup support. It would be useful to test this with Suspend-to-RAM on APE6EVM. Thanks to Geert for hooking up APE6EVM interrupt wake support! Signed-off-by: Magnus Damm --- Written against next-20150421 drivers/irqchip/irq-renesas-irqc.c |

Re: [PATCH 01/08] devicetree: bindings: Remove sh7372 CMT binding

2015-06-22 Thread Magnus Damm
Hi Geert, On Mon, Jun 22, 2015 at 6:38 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Sun, Jun 21, 2015 at 10:09 AM, Magnus Damm wrote: >> From: Magnus Damm >> >> Remove the sh7372 CMT compat string to reduce maintenance burden. >> >> It should be

Re: [PATCH 02/08] clocksource: sh_cmt: Use 0x3f mask for SH_CMT_48BIT case

2015-06-22 Thread Magnus Damm
On Mon, Jun 22, 2015 at 6:43 PM, Geert Uytterhoeven wrote: > On Sun, Jun 21, 2015 at 10:09 AM, Magnus Damm wrote: >> From: Magnus Damm >> >> Always use 0x3f as channel mask for the SH_CMT_48BIT type of devices. >> Once this patch is applied the "renesas,ch

Re: [PATCH 08/08] ARM: shmobile: Remove CMT renesas,channels-mask from DTS

2015-06-22 Thread Magnus Damm
Hi Laurent, On Tue, Jun 23, 2015 at 7:40 AM, Laurent Pinchart wrote: > Hi Magnus, > > Thank you for the patch. > > On Sunday 21 June 2015 17:10:33 Magnus Damm wrote: >> From: Magnus Damm >> >> Update the DTS to remove the now deprecated "renesas,channel

[PATCH 00/08] clocksource: sh_cmt: DT binding rework

2015-06-21 Thread Magnus Damm
t are not left around documented as deprecated since they were never used by the driver. Comments are very welcome! If all are in favor then it would be good to merge patch 1-5 first and patch 6-8 later once 1-5 are in. Old DTBs are left working but treated as low-feature CMT0. New DTBs including p

[PATCH 01/08] devicetree: bindings: Remove sh7372 CMT binding

2015-06-21 Thread Magnus Damm
From: Magnus Damm Remove the sh7372 CMT compat string to reduce maintenance burden. It should be fine to break DT compatibility because: 1) The sh7372 SoC support has been removed from upstream 2) The sh7372 CMT DT binding was never part of upstream DTS 3) The CMT driver never matches on the

[PATCH 04/08] clocksource: sh_cmt: Support separate R-Car Gen2 CMT0/1

2015-06-21 Thread Magnus Damm
From: Magnus Damm Add support for the new R-Car Gen2 CMT0 and CMT1 bindings. Support for the old DT binding is still kept around, however devices using such binding will be treated as a low-feature CMT0 device. If users want to make use of CMT1-specific features then they need to update their

[PATCH 07/08] devicetree: bindings: Deprecate property, update example

2015-06-21 Thread Magnus Damm
From: Magnus Damm Deprecate "renesas,channels-mask" and update the r8a7790 CMT example. Signed-off-by: Magnus Damm --- Documentation/devicetree/bindings/timer/renesas,cmt.txt | 24 ++- 1 file changed, 17 insertions(+), 7 deletions(-) --- 0006/Documentation/devicetre

[PATCH 02/08] clocksource: sh_cmt: Use 0x3f mask for SH_CMT_48BIT case

2015-06-21 Thread Magnus Damm
From: Magnus Damm Always use 0x3f as channel mask for the SH_CMT_48BIT type of devices. Once this patch is applied the "renesas,channels-mask" property will be ignored by the driver for older devices matching SH_CMT_48BIT. In the future when all CMT types store channel mask in the driv

[PATCH 06/08] ARM: shmobile: Update CMT compat string users in DTS

2015-06-21 Thread Magnus Damm
From: Magnus Damm Use recently updated r8a73a4 and R-Car Gen2 CMT0 and CMT1 compat strings. With this change in place we can keep device-specific configuration in the driver and the driver can be able to support CMT1 specific features. Signed-off-by: Magnus Damm --- arch/arm/boot/dts

<    1   2   3   4   5   6   7   >