Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
All you need is a dummy module with a few module_param()s. You can find them later in /sys/module//parameters/. drivers/misc/ is a nice place do dump such things. :-) Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
Usually you don't have to think whether your module is a "ordinary" driver or not... See drivers/misc/dummy-irq.c. Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
. We have more serious issues to solve. :-) Thanks, //richard -- 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/

[PATCH 3/4] um: Get rid of thread_struct->saved_task

2013-09-23 Thread Richard Weinberger
As we have a sane show_stack() now, we can drop the ->saved_task hack. Signed-off-by: Richard Weinberger --- arch/um/drivers/mconsole_kern.c | 6 ++ arch/um/include/asm/processor-generic.h | 1 - arch/um/kernel/process.c| 15 ++- 3 files changed

[PATCH 2/4] um: Make stack trace reliable against kernel mode faults

2013-09-23 Thread Richard Weinberger
-by: Richard Weinberger --- arch/um/include/asm/processor-generic.h | 1 + arch/um/include/shared/os.h | 1 + arch/um/kernel/sysrq.c | 32 +++- arch/um/kernel/trap.c | 14 +++--- arch/um/os-Linux/signal.c

[PATCH 1/4] um: Rewrite show_stack()

2013-09-23 Thread Richard Weinberger
Currently on UML stack traces are not very reliable and both x86 and x86_64 have their on implementations. This patch unifies both and adds support to outline unreliable functions calls. Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 85

[PATCH 4/4] um: Make kstack_depth_to_print conform to arch/x86

2013-09-23 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 7122bf9..4d6fdf6 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -46,9 +46,6 @@ static

[PATCH] Documentation: Update x86_64/boot-options.txt

2013-09-23 Thread Richard Weinberger
Removed obsolte parameters from boot-options.txt. Verified by grepping around in arch/x86/. Signed-off-by: Richard Weinberger --- Documentation/x86/x86_64/boot-options.txt | 23 --- 1 file changed, 23 deletions(-) diff --git a/Documentation/x86/x86_64/boot-options.txt b

Re: [PATCH] ptp: add range check on n_samples

2013-09-24 Thread Richard Cochran
valid value of n_samples is between 1 to 25. If n_samples <= 0 or > 25 > it makes no sense, so this patch intends to add a range check. The field, n_samples, is unsigned, so the check is not needed. Thanks, Richard > Signed-off-by: Dong Zhu > --- > drivers/ptp/ptp_chard

[PATCH 1/2] UBI: Fix error path in scan_pool()

2013-09-25 Thread Richard Weinberger
We have to set "ret", not "err" in case of an error. Reported-by: Richard Genoud Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/fastmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c in

[PATCH 2/2] UBI: Call scan_all() with correct offset in error case

2013-09-25 Thread Richard Weinberger
If we find an invalid fastmap we have to scan from the very beginning. Otherwise we leak the first 64 PEBs. Reported-by: Richard Genoud Signed-off-by: Richard Weinberger --- drivers/mtd/ubi/attach.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/ubi

Re: [RFC PATCH] perf: add SLANG_INC for slang.h

2012-09-05 Thread Richard Purdie
uiltin-annotate.o] Error 1 > make: *** Waiting for unfinished jobs > make: *** [/home/acme/git/build/perf/builtin-diff.o] Error 1 > make: Leaving directory `/home/git/linux/tools/perf' > [acme@sandy linux]$ cat /etc/redhat-release > Red Hat Enterprise Linux Server release

Re: [uml-devel] [PATCH/RFC] um: Preinclude include/linux/kern_levels.h

2012-09-09 Thread Richard Weinberger
Am 09.09.2012 17:09, schrieb Joe Perches: > On Sun, 2012-09-09 at 10:33 +0200, Geert Uytterhoeven wrote: >> Ping? > > Richard? Are you going to pick up this patch? > It seems sensible. > > Geert, I suggest sending it directly to Linus as a fix > if Richard doesn

Re: [PATCH v2] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-10 Thread Richard Cochran
-136,17 +279,24 @@ > val &= ~BMCR_ANENABLE; > phy_write(phydev, MII_BMCR, val); > /* Remember that the port is in fiber mode. */ > - phydev->priv = lxt973_probe; > - } else { > - phydev->priv = NULL;

Re: [GIT PULL] Disintegrate UAPI for hexagon

2012-10-05 Thread Richard Kuo
cripted) Disintegrate arch/hexagon/include/asm (2012-10-04 18:20:45 > +0100) > OK, pulled into my current tree. I'd like to wait for the generic stuff to make it into Linus's tree before pushing it out though. Thanks, Richard Kuo -- Sent by an employee of the Qualcomm Innov

Re: [net:master 1/9] pch_gbe_main.c:(.text+0x510370): undefined reference to `pch_ch_control_write'

2012-10-06 Thread Richard Cochran
ple, the time stamping function of a MAC driver can be completely separate from the clock function, and indeed that is how the pair of gianfar drivers work. But for other hardware, it might not be practical to keep the functions separate, and in that case I would say, just keep it as one driver.

Re: [PATCH] ubi: use list_move_tail instead of list_del/list_add_tail

2012-10-09 Thread Richard Weinberger
Am Tue, 9 Oct 2012 14:14:21 +0800 schrieb Wei Yongjun : > From: Wei Yongjun > > Using list_move_tail() instead of list_del() + list_add_tail(). > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yon

[GIT PULL] UML changes for 3.7-rc1

2012-10-09 Thread Richard Weinberger
Linus, please issue the following pull request. UML receives this time only cleanups. The most outstanding change is the 'include "foo.h"' do 'include ' conversion done by Al Viro. It touches many files, that's why the diffstat is rather big. Thanks, //

[RESEND] [PATCH] [RFC] coredump: Ensure that the coredump helper has stdout and stderr

2012-10-09 Thread Richard Weinberger
() succeeds. Before this patch it was in vain and returned always -EBADF because nobody opened fd 0. Signed-off-by: Richard Weinberger --- fs/exec.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/exec.c b/fs/exec.c index 574cf4d..2912fec 100644 --- a/fs/exec.c +++ b/fs

[PATCH] Include asm/siginfo.h in linux/coredump.h

2012-10-10 Thread Richard Weinberger
Stephen Rothwell Cc: Andrew Morton Signed-off-by: Richard Weinberger --- include/linux/coredump.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/coredump.h b/include/linux/coredump.h index 1775eb8..1d73993 100644 --- a/include/linux/coredump.h +++ b/include/linux/cor

Re: [PATCH] Include asm/siginfo.h in linux/coredump.h

2012-10-10 Thread Richard Weinberger
Am Wed, 10 Oct 2012 15:16:59 -0700 schrieb Andrew Morton : > On Thu, 11 Oct 2012 00:04:07 +0200 > Richard Weinberger wrote: > > > commit 5ab1c30 (coredump: pass siginfo_t* to do_coredump() and > > below, not merely signr) added siginfo_t to linux/coredump.h but >

My SD Card Reader cannot read SDHC cards

2012-12-01 Thread Richard Yao
I have the following SD Card Reader: http://support.dell.com/support/edocs/monitors/2405fpw/en/about.htm#Card Reader Specificatoins It is identified as the following in lsusb: Bus 002 Device 007: ID 0424:223a Standard Microsystems Corp. 8-in-1 Card Reader I have a LG microSD Card adapter that c

Re: My SD Card Reader cannot read SDHC cards

2012-12-01 Thread Richard Yao
On 12/01/2012 01:30 PM, Roger Heflin wrote: > On Sat, Dec 1, 2012 at 6:04 AM, Richard Yao wrote: >> Standard Microsystems Corp. 8-in-1 Card >> Reader > > Does that card reader support SDHC cards?The older readers don't > support >2GB (ie sdhc) > cards, a

[GIT PULL] Please pull the Hexagon branch

2012-10-18 Thread Richard Kuo
Linus, Please pull the following small changes for the Hexagon arch. It includes the Hexagon UAPI changes from David Howells and some CR marking changes for the transition from Code Aurora to Linux Foundation. Thanks, Richard Kuo The following changes since commit

Re: [PATCH] ptp_pch: release chip->mem_base and chip->regs on error

2012-10-18 Thread Richard Cochran
;chip->regs' was not released > on error > > Cc: Richard Cochran > Cc: David S. Miller > Signed-off-by: Yuanhan Liu Acked-by: Richard Cochran -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [GIT PULL] Please pull the Hexagon branch

2012-10-19 Thread Richard Kuo
On Fri, Oct 19, 2012 at 11:08:40AM -0700, Linus Torvalds wrote: > On Thu, Oct 18, 2012 at 5:16 PM, Richard Kuo wrote: > > > > Please pull the following small changes for the Hexagon arch. It includes > > the Hexagon UAPI changes from David Howells and some CR markin

Re: [E1000-devel] [PATCH] RX initialization sequence fixed - enable RX after corresponding ring initialization only

2012-10-19 Thread Richard Davies
Jeff Kirsher wrote: > Dmitry Fleytman wrote: > > Reported-by: Chris Webb > > Reported-by: Richard Davies > > > > Signed-off-by: Dmitry Fleytman > > --- > > drivers/net/ethernet/intel/e1000/e1000_ethtool.c |9 + > > drivers/ne

WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0xa9/0xb0()

2012-10-20 Thread Richard Weinberger
end trace 79e761c96dd48155 ]--- [ 162.900031] sd 6:0:6:0: [sdh] Synchronizing SCSI cache [ 162.900075] sd 6:0:6:0: [sdh] [ 162.900077] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [ 162.910855] mpt2sas0: expander_remove: handle(0x0009), sas_addr(0x5003048001804dff) ---cut--- Thanks,

Re: question about context switch on arm Linux

2012-10-21 Thread Richard Cochran
; and a "best effort" mode. The strict mode does have the limitation, but the best effort mode does not. HTH, Richard -- 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://

Re: question about context switch on arm Linux

2012-10-21 Thread Richard Cochran
On Sun, Oct 21, 2012 at 04:19:50PM +0800, caiyuqing wrote: > Richard, thanks for your reply. > mainline Linux doesn't support FCSE, if so, when kernel switch a > process to another(these two process share the same virtual memory > space), that means the vitrual-to-physical

Re: [PATCH 1/1] arch Kconfig: remove references to IRQ_PER_CPU

2012-11-13 Thread Richard Kuo
sn't removed from any of the architecture Kconfig > files where it was defined or selected. It's completely unused so remove > the remaining references. > > Signed-off-by: James Hogan > Cc: Thomas Gleixner > Cc: Mike Frysinger > Cc: Richard Kuo > Cc: Ton

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-14 Thread Richard Retanubun
onnection) it was leaking 1192 bytes per occurrence. Thanks for everyone's time. -- Richard Retanubun. -- 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/maj

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-09 Thread Richard Retanubun
On 29/10/12 06:14 PM, Alan Stern wrote: On Mon, 29 Oct 2012, Richard Retanubun wrote: Focusing down on one of the dumps: unreferenced object 0xd3849740 (size 8): comm "khubd", pid 1026, jiffies 232553037 (age 506.597s) hex dump (first 8 bytes): 4d 43 38 37 3

[PATCH] drivers/platform/x86/thinkpad_acpi.c: Handle HKEY event 0x6040

2012-12-26 Thread Richard Hartmann
.net : AC plug/unplug: X120e - caaaujb5v9dhdbdxdvvhnjog4urzc1tgkqeb_zgpay7q8kzh...@mail.gmail.com x121e - 20120817143459.gb3...@x1.osrc.amd.com X220 - Confirmed by Richard Hartmann X220i - 4f406274.7070...@gmail.com X220t - 4f489f5b.9040...@cs.tu-berlin.de X230 - CAKx4u7kqvVH0-gstom

[PATCH] drivers/platform/x86/thinkpad_acpi.c: Handle HKEY event 0x6040

2012-12-29 Thread Richard Hartmann
le who saw this event when either plugging or unplugging the AC adapter or docking or undocking their laptop. X120e - caaaujb5v9dhdbdxdvvhnjog4urzc1tgkqeb_zgpay7q8kzh...@mail.gmail.com X121e - 20120817143459.gb3...@x1.osrc.amd.com X220 - Confirmed by Richard Hartmann X220i - 4f406274.7070...@gmail

Re: [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype

2012-12-30 Thread Richard Weinberger
vious declaration > of 'sig_info' was here > > Signed-off-by: Sergei Trofimovich > CC: Jeff Dike > CC: Richard Weinberger > CC: "Martin Pärtel" > CC: Al Viro > CC: user-mode-linux-de...@lists.sourceforge.net > CC: user-mode-linux-u...@lists.sourcefor

Re: clk dereference in drivers/net/ethernet/ti/cpts.c

2013-01-03 Thread Richard Cochran
nce in drivers/net/ethernet/ti/cpts.c, in the > function cpts_clk_init: > > cpts->freq = cpts->refclk->recalc(cpts->refclk); > > It was not obvious to me, however, what API function should be used > instead, so I am just reporting the (potential) problem. This issue ha

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-01-04 Thread Richard Cochran
or issue is being addressed? Thanks, Richard -- 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/

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-01-05 Thread Richard Cochran
mentation/devicetree/overlay-notes.txt as well? Thanks, Richard -- 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/

[PATCH] um: Use generic idle loop

2013-04-16 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- arch/um/Kconfig.common | 1 + arch/um/kernel/process.c | 27 --- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index bceee66..5783406 100644 --- a/arch/um

[PATCH] x86,efi: Implement efi_no_storage_paranoia parameter

2013-04-16 Thread Richard Weinberger
: Richard Weinberger --- Documentation/kernel-parameters.txt | 6 ++ arch/x86/platform/efi/efi.c | 15 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 4609e81..d1cc3a9 100644

Re: [PATCH] x86,efi: Implement efi_no_storage_paranoia parameter

2013-04-17 Thread Richard Weinberger
Am 17.04.2013 01:16, schrieb Jiri Kosina: On Wed, 17 Apr 2013, Richard Weinberger wrote: +static bool efi_no_storage_paranoia; +EXPORT_SYMBOL_GPL(efi_no_storage_paranoia); Is there any particular reason to export this symbol? I saw that the other parameters in that file are exported too and

Re: [PATCH] x86,efi: Implement efi_no_storage_paranoia parameter

2013-04-17 Thread Richard Weinberger
Am 17.04.2013 16:55, schrieb Matt Fleming: On 17/04/13 08:32, Richard Weinberger wrote: Am 17.04.2013 01:16, schrieb Jiri Kosina: On Wed, 17 Apr 2013, Richard Weinberger wrote: +static bool efi_no_storage_paranoia; +EXPORT_SYMBOL_GPL(efi_no_storage_paranoia); Is there any particular reason

Re: [PATCH RFC] ARM: don't allow to register the early_console twice

2013-04-18 Thread Richard GENOUD
d on ARMv7 > architecture (Armada XP and Armada 370), and on a ARMv5 one > (AT91SAMG35 thanks to Richard Genoud), with and with CONFIG_SMP > selected. > > This patch simply doesn't allow to call twice register_console() with > the early_console. > > Signed-off-by: Grego

Re: mem_cgroup_page_lruvec: BUG: unable to handle kernel NULL pointer dereference at 00000000000001a8

2013-06-13 Thread Richard Weinberger
Am 13.06.2013 14:02, schrieb Michal Hocko: On Thu 13-06-13 13:48:27, richard -rw- weinberger wrote: Hi! While playing with user namespaces my kernel crashed under heavy load. Kernel is 3.9.0 plus some trivial patches. Could you post disassembly for mem_cgroup_page_lruvec? Sure

Re: mem_cgroup_page_lruvec: BUG: unable to handle kernel NULL pointer dereference at 00000000000001a8

2013-06-13 Thread Richard Weinberger
Am 13.06.2013 16:39, schrieb Michal Hocko: On Thu 13-06-13 15:34:59, Richard Weinberger wrote: Am 13.06.2013 15:32, schrieb Michal Hocko: Ohh and could you post the config please? Sorry should have asked earlier. See attachment. Nothing unusual there. Could you enable CONFIG_DEBUG_VM maybe

Re: mem_cgroup_page_lruvec: BUG: unable to handle kernel NULL pointer dereference at 00000000000001a8

2013-06-13 Thread Richard Weinberger
Am 13.06.2013 16:45, schrieb Richard Weinberger: Am 13.06.2013 16:39, schrieb Michal Hocko: On Thu 13-06-13 15:34:59, Richard Weinberger wrote: Am 13.06.2013 15:32, schrieb Michal Hocko: Ohh and could you post the config please? Sorry should have asked earlier. See attachment. Nothing

[PATCH 0/2] llseek fixes

2013-06-14 Thread Richard Yao
alues when in reality such functions should only care about SEEK_HOLE/SEEK_DATA. Any other cases should be passsed to generic_file_llseek(). Richard Yao (2): ocfs2: Fix llseek() semantics and do some cleanup btrfs: Cleanup llseek() fs/btrfs/file.c | 49 ++-

[PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-14 Thread Richard Yao
addressed #3 in btrfs. The only lingering issue was that the offset > inode->i_sb->s_maxbytes check became dead code. The ocfs2 code was not fortunate enough to have had a similar correction until now. Signed-off-by: Richard Yao --- fs/ocfs2/file.c | 65 ++

[PATCH 2/2] btrfs: Cleanup llseek()

2013-06-14 Thread Richard Yao
that issue. However, the ocfs2 code was not fortunate enough to have had this corrected at that time. Signed-off-by: Richard Yao --- fs/btrfs/file.c | 49 - 1 file changed, 20 insertions(+), 29 deletions(-) diff --git a/fs/btrfs/file.c b/fs/btrfs/file.

Re: [Ocfs2-devel] [PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-15 Thread Richard Yao
On 06/15/2013 02:22 AM, shencanquan wrote: > Hello, Richard and Jeff, >we found that llseek has another bug when in SEEK_END. it should be > add the inode lock and unlock. >this bug can be reproduce the following scenario: >on one nodeA, open the file and then write so

Re: [PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-15 Thread Richard Yao
On 06/15/2013 01:09 AM, Jeff Liu wrote: > [Add ocfs2-devel to CC-list] > > Hello Richard, > > Thanks for your patch. > > On 06/15/2013 03:23 AM, Richard Yao wrote: > >> There are multiple issues with the custom llseek implemented in ocfs2 for >> implement

Re: [PATCH 1/2] ocfs2: Fix llseek() semantics and do some cleanup

2013-06-16 Thread Richard Yao
On 06/16/2013 03:00 AM, Jeff Liu wrote: > On 06/16/2013 08:46 AM, Richard Yao wrote: > >> On 06/15/2013 01:09 AM, Jeff Liu wrote: >>> [Add ocfs2-devel to CC-list] >>> >>> Hello Richard, >>> >>> Thanks for your patch. >>> >>

Re: [PATCHv2] uml: Fix which_tmpdir failure when /dev/shm is a symlink, and in other edge cases

2013-06-20 Thread Richard Weinberger
Am 20.06.2013 15:36, schrieb Tristan Schmelcher: *sigh* found another bug. Gonna sit on the patch for a bit before sending v3, just in case I find more issues. No need to hurry. :-) As the patch is non-trivial it's 3.11 material anyway. Thanks, //richard -- To unsubscribe from this

Re: [PATCH] UBI: Fastmap: Fix memory leak

2013-05-29 Thread Richard Weinberger
Am 29.05.2013 14:27, schrieb Artem Bityutskiy: On Mon, 2013-05-27 at 10:10 +0200, Richard Weinberger wrote: Hi! Am 27.05.2013 10:02, schrieb Thomas Weber: Signed-off-by: wang bo [fix whitespace errors] Tested with linux-v3.10-rc3 on Devkit8000. Signed-off-by: Thomas Weber The discussion

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-29 Thread Richard Genoud
Bandwidth [ 4] 0.0-10.0 sec 112 MBytes 94.1 Mbits/sec That's great ! with this patchset, we can now run a server with a vanilla kernel ( who needs more that a serial port and ethernet, really ? ;) ) Tested-by: Richard Genoud -- 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/

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-30 Thread Richard Genoud
Interval Transfer Bandwidth [ 3] 0.0-300.0 sec 3.28 GBytes 94.0 Mbits/sec 0.83 0.71 0.43 1/46 1770 loadavg over a 5min at 0.71, yeah, that's pretty high... Richard. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

Re: [PATCH 0/2] ARM: dts: add watchdog device tree node in at91 dts files

2013-05-31 Thread Richard Genoud
7 files changed, 32 insertions(+) > > -- > 1.7.9.5 > Those patches haven been floating around from quite some time. Let's merge them ! Tested on sam9g35, v3.10-rc2 Tested-by: Richard Genoud -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH 1/2] trivial: atmel_lcdfb: add missing error message

2013-05-31 Thread Richard Genoud
When a too small framebuffer is given, the atmel_lcdfb_check_var silently fails. Adding an error message will save some head scratching. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/video

[PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c |7 ++- 1 file

[PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-05-31 Thread Richard Genoud
We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c

[PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-05-31 Thread Richard Genoud
Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Based on Ludovic Desroches patchset "ARM: at91: move to generic DMA device tree binding" Signed-off-by: Richard Genoud --- drivers/spi/spi-atmel.c | 42 +++

[PATCH 2/2] ARM: at91: dt: at91sam9x5: add SPI DMA client infos

2013-05-31 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5.dtsi |6 ++ 1 file changed, 6 insertions(+) rebased on linux-next next-20130531 plus Ludovic Desroches' patch "ARM: at91: dt: add header to define at_hdmac configuration" to get the AT91_DMA_CFG_PER_ID() macr

Re: [PATCH 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
2013/5/31 Jean-Christophe PLAGNIOL-VILLARD : > On 16:28 Fri 31 May , Richard Genoud wrote: >> When removing atmel_lcdfb module, the backlight is unregistered but not >> blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). >> This can result in the screen going full white

[PATCHv2 2/2] atmel_lcdfb: blank the backlight on remove

2013-05-31 Thread Richard Genoud
When removing atmel_lcdfb module, the backlight is unregistered but not blanked. (only for CONFIG_BACKLIGHT_ATMEL_LCDC case). This can result in the screen going full white depending on how the PWM is wired. Signed-off-by: Richard Genoud --- drivers/video/atmel_lcdfb.c | 10 -- 1 file

Re: [PATCH 1/2] spi: atmel: convert to dma_request_slave_channel_compat()

2013-06-03 Thread Richard Genoud
2013/6/3 Ludovic Desroches : > On Fri, May 31, 2013 at 05:01:59PM +0200, Richard Genoud wrote: >> Use generic DMA DT helper. >> Platforms booting with or without DT populated are both supported. >> >> Based on Ludovic Desroches patchset >> "ARM: at91: m

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-25 Thread Richard Weinberger
t; #ifdef CONFIG_HAS_IOPORT > #ifndef CONFIG_GENERIC_IOMAP > UML has no io memory but a MMU, so I'd argue that you better fix drivers/ptp/ptp_pch.c dependencies. _If_ ptp_pch.c really works without real io memory, you can look what I did in my GENERIC_IO series[1] to ma

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Hi! Am 26.06.2013 09:56, schrieb Chen Gang: > On 06/26/2013 02:54 PM, Richard Weinberger wrote: >> Hi! >> >> Am 26.06.2013 08:31, schrieb Chen Gang: >>> For "User Mode Linux", it may enable 'MMU', but not need implement >>> ioremap

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Am 26.06.2013 10:34, schrieb Chen Gang: > On 06/26/2013 04:05 PM, Richard Weinberger wrote: >>>>>>>> diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h >>>>>>>> index d5afe96..e80331d 100644 >>>>>>>

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Am 26.06.2013 10:58, schrieb Chen Gang: > On 06/26/2013 04:39 PM, Richard Weinberger wrote: >>>>>>>>>> The drivers internal code has already check the related return value, >>>>>>>>>> so it is the architecture's duty to 't

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Am 26.06.2013 11:33, schrieb Chen Gang: > On 06/26/2013 05:03 PM, Richard Weinberger wrote: >> Am 26.06.2013 10:58, schrieb Chen Gang: >>>> On 06/26/2013 04:39 PM, Richard Weinberger wrote: >>>>>>>>>>>>>>&

dm-crypt reordering BIOs across barriers?

2013-06-07 Thread Richard Yao
When you use dm-crypt, block IO requests to a dm-* device will invoke dm_request_fn() -> map_request() -> crypt_map(). If a BIO is a write barrier, crypt_map() will return DM_MAPIO_REMAPPED to map_request(), which will immediately queue it to the device. If a few dozen IOs are queued in rapid succ

Re: [gentoo-dev] dm-crypt reordering BIOs across barriers?

2013-06-08 Thread Richard Yao
On 06/08/2013 02:11 AM, Sergei Trofimovich wrote: > On Fri, 07 Jun 2013 23:47:33 -0400 > Richard Yao wrote: > >> When you use dm-crypt, block IO requests to a dm-* device will invoke >> dm_request_fn() -> map_request() -> crypt_map(). If a BIO is a write >>

rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard GENOUD
s from 10.125.0.1: seq=1 ttl=64 time=2.677 ms 64 bytes from 10.125.0.1: seq=2 ttl=64 time=2.895 ms  --- 10.125.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.677/4.179/6.966 ms # So it works allright with the other key, but not with the

Re: rtl8192cu: slow path warning and connection problem v3.10-rc5

2013-06-11 Thread Richard Genoud
2013/6/11 Richard GENOUD : > Hi, > > I've got an usb wireless adapter TP-Link TL-WN725N > http://www.tp-link.com/ca/products/details/?categoryid=241&model=TL-WN725N > It is based on the rtl8192cu chip. > I'm running a recent kernel (3.10-rc5) on a arm-based board (a

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-02 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > > On 7/1/2013 16:39, Richard Genoud wrote: >> >> The ssc device has to fill the at_dma_slave structure with the >> device tree informations. >> Doing a of_dma_request_slave_channel()+dma_release_channel() for that >&g

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > > On 7/2/2013 16:13, Richard Genoud wrote: >>> >>> Please hold on of this, as to the ASoC dmaengine will deal with this. So, >>> we >>> >not need do it manually. >>> > >>> >Now,

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-03 Thread Richard Genoud
2013/7/3 Richard Genoud : > 2013/7/2 Bo Shen : >> Hi Richard, >> >> >> On 7/2/2013 16:13, Richard Genoud wrote: >>>> >>>> Please hold on of this, as to the ASoC dmaengine will deal with this. So, >>>> we >>>> >not ne

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-04 Thread Richard Genoud
2013/7/4 Bo Shen : > Hi Richard, > > > On 7/3/2013 23:51, Richard Genoud wrote: >>> >>> >but there's a violent hang (kernel stops, no trace) when I try the >>> > record : >>> >arecord -v -V stereo -Dplug:default -f cd -t wav -c

Re: [PATCH 1/3] arch/um/Makefile: remove dead code

2013-07-04 Thread Richard Weinberger
=um SUBARCH=x86_64 > Cc: Al Viro > Cc: Richard Weinberger > Cc: Jeff Dike > Signed-off-by: Ramkumar Ramachandra NAK. Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-05 Thread Richard Genoud
r ? "receive" : "transmit", > ---<8--- > > BTW, I am checking this with our IP team, if find the real solution, I will > fix it. ok, I'll rebase my patches on that. Thanks ! Best Regards, Richard -- To unsubscribe from this list: send the line "unsubs

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-05 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > Will move this patch before 5, 6, 7? yes, you're right. > > > On 7/1/2013 16:39, Richard Genoud wrote: >> >> From: Nicolas Ferre >> >> Description of the Asoc machine driver for an at91sam9x5 based board >

Re: [RFC PATCH 02/13] misc: atmel_ssc: keep the count of pdev->id

2013-07-05 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > > On 7/1/2013 16:39, Richard Genoud wrote: >> >> With device tree, pdev->id is always -1, so we introduce a local >> counter. >> >> Signed-off-by: Richard Genoud >> --- >> drivers/misc/atm

Re: [RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-05 Thread Richard Genoud
2013/7/2 Bo Shen : > Hi Richard, > > > On 7/1/2013 16:39, Richard Genoud wrote: >> >> Signed-off-by: Richard Genoud >> --- >> arch/arm/mach-at91/at91sam9x5.c |1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/arm/mach-

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-05 Thread Richard Genoud
2013/7/5 Mark Brown : > On Fri, Jul 05, 2013 at 05:15:05PM +0200, Richard Genoud wrote: >> 2013/7/2 Bo Shen : > >> >> From: Nicolas Ferre >> >> >> >> Description of the Asoc machine driver for an at91sam9x5 based board >> >> with a wm

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Am 26.06.2013 12:01, schrieb Chen Gang: > On 06/26/2013 05:48 PM, Geert Uytterhoeven wrote: >> On Wed, Jun 26, 2013 at 11:38 AM, Richard Weinberger wrote: >>>>>> Since the API itself already contents the meaning: "return NULL means >>>>>> the ar

rtl8192cu: slow path warning

2013-06-26 Thread Richard GENOUD
On [mar., 11.06.2013 14:38:15], Richard GENOUD wrote: > Hi, > > I've got an usb wireless adapter TP-Link TL-WN725N > http://www.tp-link.com/ca/products/details/?categoryid=241&model=TL-WN725N > It is based on the rtl8192cu chip. > I'm running a recent kernel

Re: rtl8192cu: slow path warning

2013-06-27 Thread Richard Genoud
2013/6/26 Larry Finger : > On 06/26/2013 09:22 AM, Richard GENOUD wrote: >> >> Using 3.10-rc7, I'm still seeing the warning, BUT ONLY on the first >> connection. >> >> [ 40.312500] usb 2-2: default language 0x0409 >> [ 40.312500] usb 2-2: udev 2, bus

Re: RTL8192CU on ARM not working

2013-06-27 Thread Richard Genoud
retries: 0 > tx failed: 0 > signal: -64 dBm > signal avg: -63 dBm > tx bitrate: 1.0 MBit/s > authorized: yes > authenticated: yes > preamble: long > WMM/WME: yes >

Re: rtl8192cu: slow path warning

2013-06-28 Thread Richard GENOUD
On [jeu., 27.06.2013 13:20:52], Larry Finger wrote: > On 06/27/2013 02:33 AM, Richard Genoud wrote: > >Yes, of course, you can add my > >Reported-by: Richard Genoud > > > >But the patch doesn't compile on my platform ( since I'm on ARM, I > >haven't

A Bug in 3.9.8

2013-06-29 Thread Richard Corbin
e kernel, the CPU usage for each core was registering non-zero values when appropriate as usual. Cordially, Richard Corbin -- 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/

Re: A Bug in 3.9.8

2013-06-30 Thread Richard Corbin
Many Thanks and my apologies. Richard Corbin 25532 Southwind Rd. Warrenton, MO 63383 racorbin2...@charter.net Original Message *Subject:* Re: A Bug in 3.9.8 *Date:* Sun 06/30/2013 at 11:11 AM *From:* Greg KH *To: * Richard Corbin *CC: * sta

[RFC PATCH 11/13] sound: atmel-pcm-dma: check pointer before dereference

2013-07-01 Thread Richard Genoud
If platform_data is NULL, filter() is called with a NULL slave parameter. Signed-off-by: Richard Genoud --- sound/soc/atmel/atmel-pcm-dma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c index 1d38fd0..b20dbba 100644

[RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-01 Thread Richard Genoud
Signed-off-by: Richard Genoud --- arch/arm/mach-at91/at91sam9x5.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..191eb4b 100644 --- a/arch/arm/mach-at91/at91sam9x5.c +++ b/arch/arm/mach-at91/at91sam9x5.c

[RFC PATCH 10/13] sound: atmel_ssc_dai: PM: actually stopping clock on suspend/resume

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre Stop SSC clock on suspend/resume cycle checking if the controller is actually initialized. This will save power while sleeping. Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König --- sound/soc/atmel/atmel_ssc_dai.c | 20 +--- 1 file changed, 13

[RFC PATCH 13/13] sound: codec: wm8371: correct capture line/mic

2013-07-01 Thread Richard Genoud
With the "switch" text, we can't enable the line and mic capture in alsamixer. Signed-off-by: Richard Genoud --- sound/soc/codecs/wm8731.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 3

[RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its connections are a headphone jack and an Line input jack. [Richard: this is based on an old patch

[RFC PATCH 05/13] ARM: AT91: DTS: sam9x5ek: add WM8731 codec

2013-07-01 Thread Richard Genoud
The WM8731 codec on sam9x5ek board is on i2c, address 1A Signed-off-by: Richard Genoud --- arch/arm/boot/dts/at91sam9x5ek.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi index b753855..a81a1a6 100644

[RFC PATCH 12/13] sound: wm8731: rework power management

2013-07-01 Thread Richard Genoud
From: Nicolas Ferre - preserve crystal oscillator across suspend/resume sequence: enabled by default,it should be kept enabled on resume. - if codec is in active state: set the active bit at resume time. Signed-off-by: Nicolas Ferre Signed-off-by: Uwe Kleine-König --- sound/soc/codecs/wm873

[RFC PATCH 09/13] sound: atmel-pcm: don't return ok if pcm-dma is not implemented

2013-07-01 Thread Richard Genoud
If DMA is not selected, atmel_pcm_dma_platform_register() should fail. Like that, the driver knows it can't use it. Signed-off-by: Richard Genoud --- sound/soc/atmel/atmel-pcm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/atmel-pcm.h b/sound/soc/

<    1   2   3   4   5   6   7   8   9   10   >