Thread (5 messages) 5 messages, 2 authors, 2013-02-05

Re: Revert "console: implement lockdep support for console_lock"

From: Sedat Dilek <hidden>
Date: 2013-02-01 09:09:18
Also in: linux-next, lkml

On Fri, Feb 1, 2013 at 9:42 AM, Daniel Vetter [off-list ref] wrote:
On Fri, Feb 1, 2013 at 9:21 AM, Sedat Dilek [off-list ref] wrote:
quoted
people having the fbcon-locking-fixes [1] in their local GIT tree can
revert this change?
Yeah, if you have all the fixes reverting this is fine and appreciated
to increase testing. Dave will probably push the revert himself to
drm-next soon.
[ CCing Ingo ]

The revert is now in -rc6.

Hmmm, I have here...

     CONFIG_LOCKDEP_SUPPORT=y

Excerpts from the revert [1]:
[...]
-#ifdef CONFIG_LOCKDEP
-static struct lockdep_map console_lock_dep_map = {
-       .name = "console_lock"
-};
-#endif
[...]

Checking for CONFIG_LOCKDEP ...

[ lib/Kconfig.debug ]
...
config LOCKDEP
        bool
        depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT &&
STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
        select STACKTRACE
        select FRAME_POINTER if !MIPS && !PPC && !ARM_UNWIND && !S390
&& !MICROBLAZE
        select KALLSYMS
        select KALLSYMS_ALL
...

---> No help text.
---> Missing pointer to <file:Documentation/lockdep-design.txt>.

[ arch/x86/Kconfig ]
...
config LOCKDEP_SUPPORT
        def_bool y
...

I would have expected a check for CONFIG_LOCKDEP_SUPPORT.
This is BTW with Linux v3.8-rc5!

- Sedat -

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;hÿ0d05bf73620eb7dc8aee7423e992ef87870bdf
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=Documentation/lockdep-design.txt
-Daniel
quoted
commit ff0d05bf73620eb7dc8aee7423e992ef87870bdf
Refs: v3.8-rc5-194-gff0d05b
Author:     Dave Airlie [off-list ref]
AuthorDate: Thu Jan 31 14:27:03 2013 +1100
Commit:     Dave Airlie [off-list ref]
CommitDate: Thu Jan 31 15:46:56 2013 +1100

    Revert "console: implement lockdep support for console_lock"

    This reverts commit daee779718a319ff9f83e1ba3339334ac650bb22.

    I'll requeue this after the console locking fixes, so lockdep
    is useful again for people until fbcon is fixed.

    Signed-off-by: Dave Airlie [off-list ref]

Thanks!

Regards,
- Sedat

[1] http://cgit.freedesktop.org/~airlied/linux/log/?hûcon-locking-fixes


--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help