* Linux 2.6.37-rc8
@ 2010-12-29 1:18 Linus Torvalds
2010-12-29 11:18 ` Borislav Petkov
` (4 more replies)
0 siblings, 5 replies; 117+ messages in thread
From: Linus Torvalds @ 2010-12-29 1:18 UTC (permalink / raw)
To: Linux Kernel Mailing List
Another week, another -rc. This should be the last for the 37 series,
so I still expect the merge window to open early January when people
are hopefully back to working order after having eaten (and drunk) too
much.
The -rc8 release shouldn't be all that exciting. The most noticeable
is probably the fact that hopefully the "blank screen" problem with
intel graphics is fixed. But on the whole, it's all just a collection
of random fixes all over.
The diffstat doesn't look very interesting, and the appended shortlog
probably does give about as much information as you'd want.
Go wild, and ring in the new year with a new kernel.
Linus
---
Aaro Koskinen (1):
gpiolib: gpio_request_one(): add missing gpio_free()
Ahmed S. Darwish (1):
RAMOOPS: Don't overflow over non-allocated regions
Alex Deucher (7):
drm/radeon/kms: disable ss fixed ref divide
drm/radeon/kms: disable the r600 cb offset checker for linear surfaces
drm/radeon/kms/evergreen: flush hdp cache when flushing gart tlb
drm/radeon/kms: fix evergreen asic reset
drm/radeon/kms/evergreen: reset the grbm blocks at resume and init
drm/radeon/kms: reorder display resume to avoid problems
drm/radeon/kms: fix bug in r600_gpu_is_lockup
Andreas Mohr (1):
net: Add USB PID for new MOSCHIP USB ethernet controller MCS7832 variant
Andres Salomon (3):
MAINTAINERS: update geode entry
cs5535-gpio: don't apply errata #36 to edge detect GPIOs
cs5535-gpio: handle GPIO regs where higher (clear) bits are set
Andrey Vagin (1):
ipv6: delete expired route in ip6_pmtu_deliver
Arnaldo Carvalho de Melo (1):
perf buildid-list: Fix error return for success
Arnaud Ebalard (1):
asix: add USB ID for Logitec LAN-GTJ U2A
Axel Lin (1):
backlight: cr_bllcd.c: fix a memory leak
Baruch Siach (1):
[media] mx2_camera: fix pixel clock polarity configuration
Ben Hutchings (4):
bonding/vlan: Remove redundant VLAN tag insertion logic
bonding: Change active slave quietly when bond is down
bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion
tehuti: Firmware filename is tehuti/bdx.bin
Benjamin Herrenschmidt (1):
drm/radeon: Add early unregister of firmware fb's
Changli Gao (1):
net_sched: always clone skbs
Chris Wilson (5):
drm/i915/ringbuffer: Handle wrapping of the autoreported HEAD
drm/i915/sdvo: Only use the SDVO pin if it is in the valid range
agp/intel: Fix missed cached memory flags setting in i965_write_entry()
drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks
drm: Include the connector name in the output_poll_execute() debug message
Christian Lamparter (1):
p54usb: add 5 more USBIDs
Dan Carpenter (4):
[media] lirc_dev: stray unlock in lirc_dev_fop_poll()
[media] lirc_dev: fixes in lirc_dev_fop_read()
typhoon: memory corruption in typhoon_get_drvinfo()
USB: mcs7830: return negative if auto negotiate fails
Dan Rosenberg (1):
irda: prevent integer underflow in IRLMP_ENUMDEVICES
Dave Airlie (3):
drm/radeon: use aperture size not vram size for overlap tests
Revert "drm: Don't try and disable an encoder that was never enabled"
fb: fix overlapping test off-by-one.
David Daney (1):
of/i2c: Fix request module by alias
David Flynn (1):
drm/i915/dp: Fix I2C/EDID handling with active DisplayPort to
DVI converter
David Henningsson (1):
ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510
David Howells (1):
KEYS: Don't call up_write() if __key_link_begin() returns an error
David S. Miller (2):
net: Fix range checks in tcf_valid_offset().
Revert "ipv4: Allow configuring subnets as local addresses"
David Sharp (1):
ring_buffer: Off-by-one and duplicate events in ring_buffer_read_page
David Stevens (2):
bridge: fix IPv6 queries for bridge multicast snooping
ipv6: Fragment locally generated tunnel-mode IPSec6 packets as needed.
Dmitry V. Levin (1):
netlink: fix gcc -Wconversion compilation warning
Don Fry (1):
MAINTAINERS: email address change
Eduardo Costa (1):
p54usb: New USB ID for Gemtek WUBI-100GW
Eric Dumazet (3):
net_sched: sch_sfq: fix allot handling
tcp: fix listening_get_next()
ipv4: dont create routes on down devices
Fabio Estevam (1):
video: imxfb: Fix the maximum value for yres
Florian Fainelli (2):
gpio: Fix null pointer dereference while accessing rdc321x platform_data
watchdog: Fix null pointer dereference while accessing rdc321x
platform_data
Franck Bui-Huu (3):
perf probe: Fix use of kernel image path given by 'k' option
perf symbols: Stop using vmlinux files with no symbols
perf buildid-cache: Fix symbolic link handling
Guennadi Liakhovetski (5):
[media] soc-camera: fix static build of the sh_mobile_csi2.c driver
fbdev: sh-mobile: restore display size configuration
fbdev: sh-mobile: retrieve and propagate display sizes from EDID
[media] v4l: soc-camera: fix multiple simultaneous user case
fbdev: sh_mobile_lcdc: increase maximum framebuffer size to support 1080p
H. Peter Anvin (1):
x86, kexec: Limit the crashkernel address appropriately
Herton Ronaldo Krzesinski (1):
mac80211: avoid calling ieee80211_work_work unconditionally
Hillf Danton (1):
bonding: Fix slave selection bug.
Imre Kaloz (1):
ARM: fix IXP4xx build failure
Ivan Vecera (1):
be2net: use mutex instead of spin lock for mbox_lock
James Bottomley (1):
[SCSI] fix up documentation for change in ->queuecommand to
lockless calling
Jarek Poplawski (2):
sundance: Fix oopses with corrupted skb_shared_info
epic100: hamachi: yellowfin: Fix skb allocation size
Jarod Wilson (10):
[media] mceusb: add support for Conexant Hybrid TV RDU253S
[media] nuvoton-cir: improve buffer parsing responsiveness
[media] mceusb: fix up reporting of trailing space
[media] mceusb: buffer parsing fixups for 1st-gen device
[media] IR: add tv power scancode to rc6 mce keymap
[media] mceusb: fix keybouce issue after parser simplification
[media] streamzap: merge timeout space with trailing space
[media] mceusb: add another Fintek device ID
[media] mceusb: fix inverted mask inversion logic
[media] mceusb: set a default rx timeout
Jeff Garzik (1):
pata_cs5536: avoid implicit MSR API inclusion on x86-64
Jeff Mahoney (1):
taskstats: pad taskstats netlink response for aligment issues on ia64
Jesper Juhl (2):
ALSA: pcm: remember to always call va_end() on stuff that we va_start()
x86/microcode: Fix double vfree() and remove redundant pointer
checks before vfree()
Jing Huang (1):
[SCSI] bfa: rename log_level to bfa_log_level
Johan Hedberg (1):
Bluetooth: Fix initial RFCOMM DLC security level
Johannes Berg (3):
iwlagn: rename enhanced txpower fields
mac80211: fix mesh forwarding
led_class: fix typo in blink API
Johannes Stezenbach (1):
mac80211/rt2x00: add ieee80211_tx_status_ni()
Jun Nie (1):
Bluetooth: add NULL pointer check in HCI
Kailang Yang (2):
ALSA: hda - Add fix-up for Sony VAIO with ALC275 codecs
ALSA: hda - Don't apply ALC269-specific initialization to ALC275
Ken Kawasaki (1):
axnet_cs: move id (0x1bf, 0x2328) to axnet_cs
Len Brown (1):
Revert "ACPI battery: update status upon sysfs query"
Linus Torvalds (1):
Linux 2.6.37-rc8
Mark Brown (2):
mfd: Supply IRQ base for WM832x devices
mfd: Support additional parent IDs for wm831x
Masami Hiramatsu (2):
perf tools: Fix lazy wildcard matching
perf probe: Fix to support libdwfl older than 0.148
Mattias Wallin (1):
mfd: Fix ab8500-core interrupt ffs bit bug
Meelis Roos (1):
hostap: remove netif_stop_queue from init
Mel Gorman (1):
mm: vmscan: tracepoint: account for scanned pages similarly for
both ftrace and vmstat
Michal Nazarewicz (1):
mm/migrate.c: fix compilation error
Michał Mirosław (1):
net/veth: Fix packet checksumming
Minchan Kim (1):
mm/compaction.c: avoid double mem_cgroup_del_lru()
Mingkai Hu (2):
spi/fsl_espi: change the read behaviour of the SPIRF
spi/fsl_espi: fix wrong setting of the address in the command buffer
Nicolas Ferre (1):
mmc: atmel-mci: fix multiblock SDIO transfers
Octavian Purdila (1):
net: fix nulls list corruptions in sk_prot_alloc
Paul Bender (1):
[media] rc: fix sysfs entry for mceusb and streamzap
Paul Mundt (6):
sh: Fix up SH4-202 clkfwk build.
sh: mach-se: Fix up SE7206 build.
nommu: Fix up vmalloc_node() symbol export regression.
nommu: Provide stubbed alloc/free_vm_area() implementation.
sh: Fix up SH7201 clkfwk build.
sh: intc: Initialize radix tree gfp mask explicitly.
Prasad Joshi (2):
logfs: fix deadlock in logfs_get_wblocks, hold and wait on
super->s_write_mutex
logfs: fix "Kernel BUG at readwrite.c:1193"
Rafael J. Wysocki (4):
ACPI: Execute _PRW for devices reported as inactive or not present
atl1c: Do not use legacy PCI power management
PCI hotplug: Fix unexpected driver unregister in pciehp_acpi.c
ACPI / ACPICA: Disable GPEs during initialization
Sebastian Andrzej Siewior (1):
drivers/spi/spi.c: don't release the spi device twice
Sunil Mushran (2):
ocfs2/dlm: Migrate lockres with no locks if it has a reference
ocfs2: Adjust masklog flag values
Sven Neumann (1):
libertas: fix potential NULL-pointer dereference
Sylwester Nawrocki (6):
[media] s5p-fimc: BKL lock removal - compilation fix
[media] s5p-fimc: Fix vidioc_g_crop/cropcap on camera sensor
[media] s5p-fimc: Explicitly add required header file
[media] s5p-fimc: Convert m2m driver to unlocked_ioctl
[media] s5p-fimc: Use correct fourcc code for 32-bit RGB format
[media] s5p-fimc: Fix output DMA handling in S5PV310 IP revisions
Takashi Iwai (4):
mmc: Fix re-probing with PM_POST_RESTORE notification
ALSA: hda - Fix conflict of d-mic capture volume controls
ALSA: hda - Try to find an empty control index when it's occupied
ALSA: hda - Fix GPIO2-fixup for Sony laptops
Tao Ma (2):
ocfs2: Hold ip_lock when set/clear flags for indexed dir.
ocfs2: Fix system inodes cache overflow.
Tejun Heo (4):
percpu: print out alloc information with KERN_DEBUG instead of KERN_INFO
libata-sff: fix HSM_ST_ERR handling in __ata_sff_port_intr()
libata: no special completion processing for EH commands
libata: issue DIPM enable commands with LPM state updated
Theodore Ts'o (1):
ext4: fix on-line resizing regression
Tim Harvey (1):
mac80211: Fix NULL-pointer deference on ibss merge when not ready
Tristan Ye (1):
Ocfs2: Teach 'coherency=full' O_DIRECT writes to correctly
up_read i_alloc_sem.
Wei Yongjun (1):
sctp: fix the return value of getting the sctp partial delivery point
Wey-Yi Guy (1):
iwlagn: implement layout-agnostic EEPROM reading
Will Newton (1):
include/linux/unaligned: pack the whole struct rather than just the field
Wolfram Sang (4):
rtc: rs5c372: fix buffer size
powerpc/mpc5200: include fs.h in mpc52xx_gpt.c
spi/mpc52xx-spi: fix annotation for remove()-pointer
pata_mpc52xx: driver needs BMDMA
Wu Fengguang (1):
writeback: do uninterruptible sleep in balance_dirty_pages()
Wu Zhangjin (1):
pata_cs5536: Add support for non-X86_32 platforms
Yauhen Kharuzhy (1):
mmc: at91_mci: fix multiblock SDIO transfers
Yong Zhang (1):
kthread_work: make lockdep happy
stephen hemminger (1):
ipv6: don't flush routes when setting loopback down
^ permalink raw reply [flat|nested] 117+ messages in thread* Re: Linux 2.6.37-rc8 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds @ 2010-12-29 11:18 ` Borislav Petkov 2010-12-29 12:08 ` Rafael J. Wysocki 2010-12-29 18:21 ` Linux 2.6.37-rc8 (no fb) Randy Dunlap ` (3 subsequent siblings) 4 siblings, 1 reply; 117+ messages in thread From: Borislav Petkov @ 2010-12-29 11:18 UTC (permalink / raw) To: Linus Torvalds; +Cc: Linux Kernel Mailing List, Zhang Rui, Len Brown On Tue, Dec 28, 2010 at 05:18:12PM -0800, Linus Torvalds wrote: > Another week, another -rc. This should be the last for the 37 series, There's also the issue with oopsing when physically removing the battery from the system. I have a proposed fix but no acks/nacks from ACPI guys yet: https://patchwork.kernel.org/patch/418751/ -- Regards/Gruss, Boris. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2010-12-29 11:18 ` Borislav Petkov @ 2010-12-29 12:08 ` Rafael J. Wysocki 2010-12-30 1:17 ` Zhang Rui 0 siblings, 1 reply; 117+ messages in thread From: Rafael J. Wysocki @ 2010-12-29 12:08 UTC (permalink / raw) To: Borislav Petkov Cc: Linus Torvalds, Linux Kernel Mailing List, Zhang Rui, Len Brown On Wednesday, December 29, 2010, Borislav Petkov wrote: > On Tue, Dec 28, 2010 at 05:18:12PM -0800, Linus Torvalds wrote: > > Another week, another -rc. This should be the last for the 37 series, > > There's also the issue with oopsing when physically removing the battery > from the system. I have a proposed fix but no acks/nacks from ACPI guys > yet: > > https://patchwork.kernel.org/patch/418751/ The commit causing this problem has been reverted: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cde44d1740bcb3dcfecbf792a71826431e61686e Which means that the problem it attepmted to address is back. Thanks, Rafael ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2010-12-29 12:08 ` Rafael J. Wysocki @ 2010-12-30 1:17 ` Zhang Rui 0 siblings, 0 replies; 117+ messages in thread From: Zhang Rui @ 2010-12-30 1:17 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Borislav Petkov, Linus Torvalds, Linux Kernel Mailing List, Brown, Len On Wed, 2010-12-29 at 20:08 +0800, Rafael J. Wysocki wrote: > On Wednesday, December 29, 2010, Borislav Petkov wrote: > > On Tue, Dec 28, 2010 at 05:18:12PM -0800, Linus Torvalds wrote: > > > Another week, another -rc. This should be the last for the 37 series, > > > > There's also the issue with oopsing when physically removing the battery > > from the system. I have a proposed fix but no acks/nacks from ACPI guys > > yet: > > > > https://patchwork.kernel.org/patch/418751/ > > The commit causing this problem has been reverted: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cde44d1740bcb3dcfecbf792a71826431e61686e > > Which means that the problem it attepmted to address is back. > Right. After discussion with Len, we agreed that the real problem is that we should not probe/unprobe power_supply class device in acpi_battery_update. And we also agreed on reverting that commit for now, and rewriting the battery driver, sometime in Q1 2011, with the problem fixed. Sorry that I didn't update this in the mailing list. thanks, rui > Thanks, > Rafael > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds 2010-12-29 11:18 ` Borislav Petkov @ 2010-12-29 18:21 ` Randy Dunlap 2010-12-29 19:40 ` Linus Torvalds 2010-12-30 17:14 ` still nfs problems [Was: Linux 2.6.37-rc8] Uwe Kleine-König ` (2 subsequent siblings) 4 siblings, 1 reply; 117+ messages in thread From: Randy Dunlap @ 2010-12-29 18:21 UTC (permalink / raw) To: Linus Torvalds, dri-devel Cc: Linux Kernel Mailing List, David Airlie, Chris Wilson [-- Attachment #1: Type: text/plain, Size: 1924 bytes --] On Tue, 28 Dec 2010 17:18:12 -0800 Linus Torvalds wrote: > Another week, another -rc. This should be the last for the 37 series, > so I still expect the merge window to open early January when people > are hopefully back to working order after having eaten (and drunk) too > much. > > The -rc8 release shouldn't be all that exciting. The most noticeable > is probably the fact that hopefully the "blank screen" problem with > intel graphics is fixed. But on the whole, it's all just a collection > of random fixes all over. I booted -rc8 and found that my video worked for only a few seconds, then it goes blank. -rc7 and -rc6 do the same. -rc5 is OK. The only significant difference that I can see in the kernel message log is this: from 2.6.37-rc5: [drm] initialized overlay support i2c i2c-3: master_xfer[0] W, addr=0x50, len=1 i2c i2c-3: master_xfer[1] R, addr=0x50, len=1 i2c i2c-3: master_xfer[0] W, addr=0x50, len=1 i2c i2c-3: master_xfer[1] R, addr=0x50, len=128 fbcon: inteldrmfb (fb0) is primary device Console: switching to colour frame buffer device 160x64 fb0: inteldrmfb frame buffer device drm: registered panic notifier [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 and from 2.6.37-rc6: [drm] initialized overlay support No connectors reported connected with modes [drm] Cannot find any crtc or sizes - going 1024x768 fbcon: inteldrmfb (fb0) is primary device Console: switching to colour frame buffer device 128x48 fb0: inteldrmfb frame buffer device drm: registered panic notifier [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 Full kernel boot logs are in http://www.xenotime.net/linux/logs/ (2637-rc5.notimes and 2637-rc6.notimes). The 2.6.37-rc5 kernel config file is attached. It is close to an allmodconfig. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** desserts: http://www.xenotime.net/linux/recipes/ [-- Attachment #2: config-2637-rc5 --] [-- Type: application/octet-stream, Size: 119862 bytes --] # # Automatically generated make config: don't edit # Linux/x86_64 2.6.37-rc5 Kernel Configuration # Tue Dec 7 08:18:53 2010 # CONFIG_64BIT=y # CONFIG_X86_32 is not set CONFIG_X86_64=y CONFIG_X86=y CONFIG_INSTRUCTION_DECODER=y CONFIG_OUTPUT_FORMAT="elf64-x86-64" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_MMU=y CONFIG_ZONE_DMA=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEED_SG_DMA_LENGTH=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y # CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y CONFIG_ZONE_DMA32=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_INTEL_TXT=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_64_SMP=y CONFIG_X86_HT=y CONFIG_X86_TRAMPOLINE=y CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" # CONFIG_KTIME_SCALAR is not set CONFIG_ARCH_CPU_PROBE_RELEASE=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y CONFIG_HAVE_IRQ_WORK=y CONFIG_IRQ_WORK=y # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y CONFIG_HAVE_KERNEL_LZMA=y CONFIG_HAVE_KERNEL_LZO=y CONFIG_KERNEL_GZIP=y # CONFIG_KERNEL_BZIP2 is not set # CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_LZO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_WATCH=y CONFIG_AUDIT_TREE=y CONFIG_HAVE_GENERIC_HARDIRQS=y # # IRQ subsystem # CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y # CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED is not set CONFIG_HAVE_SPARSE_IRQ=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y # CONFIG_AUTO_IRQ_AFFINITY is not set # CONFIG_IRQ_PER_CPU is not set # CONFIG_HARDIRQS_SW_RESEND is not set CONFIG_SPARSE_IRQ=y # # RCU Subsystem # CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set CONFIG_RCU_TRACE=y CONFIG_RCU_FANOUT=64 CONFIG_RCU_FANOUT_EXACT=y CONFIG_RCU_FAST_NO_HZ=y CONFIG_TREE_RCU_TRACE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y CONFIG_BLK_CGROUP=m CONFIG_DEBUG_BLK_CGROUP=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y CONFIG_MM_OWNER=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_RD_LZO=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_HAVE_PERF_EVENTS=y CONFIG_PERF_USE_VMALLOC=y # # Kernel Performance Events And Counters # CONFIG_PERF_EVENTS=y CONFIG_PERF_COUNTERS=y CONFIG_DEBUG_PERF_USE_VMALLOC=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_OPROFILE=m CONFIG_OPROFILE_EVENT_MULTIPLEX=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_JUMP_LABEL=y CONFIG_OPTPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=y CONFIG_USER_RETURN_NOTIFIER=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_OPTPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_DMA_API_DEBUG=y CONFIG_HAVE_HW_BREAKPOINT=y CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y CONFIG_HAVE_USER_RETURN_NOTIFIER=y CONFIG_HAVE_PERF_EVENTS_NMI=y CONFIG_HAVE_ARCH_JUMP_LABEL=y # # GCOV-based kernel profiling # CONFIG_GCOV_KERNEL=y CONFIG_GCOV_PROFILE_ALL=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_BLK_DEV_BSG=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=m CONFIG_IOSCHED_CFQ=m CONFIG_CFQ_GROUP_IOSCHED=y CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" CONFIG_PREEMPT_NOTIFIERS=y CONFIG_PADATA=y # CONFIG_INLINE_SPIN_TRYLOCK is not set # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set # CONFIG_INLINE_SPIN_LOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK_IRQ is not set # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set # CONFIG_INLINE_SPIN_UNLOCK is not set # CONFIG_INLINE_SPIN_UNLOCK_BH is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set # CONFIG_INLINE_READ_LOCK is not set # CONFIG_INLINE_READ_LOCK_BH is not set # CONFIG_INLINE_READ_LOCK_IRQ is not set # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set # CONFIG_INLINE_READ_UNLOCK is not set # CONFIG_INLINE_READ_UNLOCK_BH is not set # CONFIG_INLINE_READ_UNLOCK_IRQ is not set # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set # CONFIG_INLINE_WRITE_LOCK is not set # CONFIG_INLINE_WRITE_LOCK_BH is not set # CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set # CONFIG_INLINE_WRITE_UNLOCK is not set # CONFIG_INLINE_WRITE_UNLOCK_BH is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y # # Processor type and features # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_SMP=y CONFIG_X86_X2APIC=y CONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y CONFIG_X86_VSMP=y CONFIG_X86_UV=y CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_PARAVIRT_GUEST=y CONFIG_XEN=y CONFIG_XEN_DOM0=y CONFIG_XEN_PRIVILEGED_GUEST=y CONFIG_XEN_PVHVM=y CONFIG_XEN_MAX_DOMAIN_MEMORY=128 CONFIG_XEN_SAVE_RESTORE=y CONFIG_XEN_DEBUG_FS=y CONFIG_KVM_CLOCK=y CONFIG_KVM_GUEST=y CONFIG_PARAVIRT=y CONFIG_PARAVIRT_SPINLOCKS=y CONFIG_PARAVIRT_CLOCK=y CONFIG_PARAVIRT_DEBUG=y CONFIG_NO_BOOTMEM=y CONFIG_MEMTEST=y # CONFIG_MK8 is not set # CONFIG_MPSC is not set # CONFIG_MCORE2 is not set # CONFIG_MATOM is not set CONFIG_GENERIC_CPU=y CONFIG_X86_CPU=y CONFIG_X86_INTERNODE_CACHE_SHIFT=12 CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_XADD=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_TSC=y CONFIG_X86_CMPXCHG64=y CONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_DEBUGCTLMSR=y CONFIG_PROCESSOR_SELECT=y CONFIG_CPU_SUP_INTEL=y CONFIG_CPU_SUP_AMD=y CONFIG_CPU_SUP_CENTAUR=y CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y CONFIG_DMI=y CONFIG_GART_IOMMU=y CONFIG_CALGARY_IOMMU=y CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y CONFIG_AMD_IOMMU=y CONFIG_AMD_IOMMU_STATS=y CONFIG_SWIOTLB=y CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_API=y CONFIG_MAXSMP=y CONFIG_NR_CPUS=4096 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_PREEMPT_NONE=y # CONFIG_PREEMPT_VOLUNTARY is not set # CONFIG_PREEMPT is not set CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y CONFIG_X86_MCE=y CONFIG_X86_MCE_INTEL=y CONFIG_X86_MCE_AMD=y CONFIG_X86_MCE_THRESHOLD=y CONFIG_X86_MCE_INJECT=m CONFIG_X86_THERMAL_VECTOR=y CONFIG_I8K=m CONFIG_MICROCODE=m CONFIG_MICROCODE_INTEL=y CONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=m CONFIG_X86_CPUID=m CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y CONFIG_DIRECT_GBPAGES=y CONFIG_NUMA=y CONFIG_K8_NUMA=y CONFIG_X86_64_ACPI_NUMA=y CONFIG_NODES_SPAN_OTHER_NODES=y CONFIG_NUMA_EMU=y CONFIG_NODES_SHIFT=10 CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_MEMORY_PROBE=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_SELECT_MEMORY_MODEL=y CONFIG_SPARSEMEM_MANUAL=y CONFIG_SPARSEMEM=y CONFIG_NEED_MULTIPLE_NODES=y CONFIG_HAVE_MEMORY_PRESENT=y CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_HAVE_MEMBLOCK=y CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG_SPARSE=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_COMPACTION=y CONFIG_MIGRATION=y CONFIG_PHYS_ADDR_T_64BIT=y CONFIG_ZONE_DMA_FLAG=1 CONFIG_BOUNCE=y CONFIG_VIRT_TO_BUS=y CONFIG_MMU_NOTIFIER=y CONFIG_KSM=y CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y CONFIG_MEMORY_FAILURE=y CONFIG_HWPOISON_INJECT=m CONFIG_X86_CHECK_BIOS_CORRUPTION=y CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y CONFIG_X86_RESERVE_LOW=64 CONFIG_MTRR=y CONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=y CONFIG_ARCH_USES_PG_UNCACHED=y CONFIG_EFI=y CONFIG_SECCOMP=y CONFIG_CC_STACKPROTECTOR=y # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 CONFIG_SCHED_HRTICK=y CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y CONFIG_KEXEC_JUMP=y CONFIG_PHYSICAL_START=0x1000000 CONFIG_RELOCATABLE=y CONFIG_PHYSICAL_ALIGN=0x1000000 CONFIG_HOTPLUG_CPU=y CONFIG_COMPAT_VDSO=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="" CONFIG_CMDLINE_OVERRIDE=y CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y CONFIG_USE_PERCPU_NUMA_NODE_ID=y # # Power management and ACPI options # CONFIG_ARCH_HIBERNATION_HEADER=y CONFIG_PM=y # CONFIG_PM_DEBUG is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND_NVS=y CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_HIBERNATION=y CONFIG_PM_STD_PARTITION="" # CONFIG_PM_RUNTIME is not set CONFIG_PM_OPS=y CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_PROCFS=y CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_POWER_METER=m CONFIG_ACPI_EC_DEBUGFS=m CONFIG_ACPI_PROC_EVENT=y CONFIG_ACPI_AC=m CONFIG_ACPI_BATTERY=m CONFIG_ACPI_BUTTON=m CONFIG_ACPI_VIDEO=m CONFIG_ACPI_FAN=m CONFIG_ACPI_DOCK=y CONFIG_ACPI_PROCESSOR=m CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_PROCESSOR_AGGREGATOR=m CONFIG_ACPI_THERMAL=m CONFIG_ACPI_NUMA=y # CONFIG_ACPI_CUSTOM_DSDT is not set CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_DEBUG=y CONFIG_ACPI_DEBUG_FUNC_TRACE=y CONFIG_ACPI_PCI_SLOT=m CONFIG_X86_PM_TIMER=y CONFIG_ACPI_CONTAINER=m CONFIG_ACPI_HOTPLUG_MEMORY=m CONFIG_ACPI_SBS=m CONFIG_ACPI_HED=m CONFIG_ACPI_APEI=y CONFIG_ACPI_APEI_GHES=m CONFIG_ACPI_APEI_EINJ=m CONFIG_ACPI_APEI_ERST_DEBUG=m CONFIG_SFI=y # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=m CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m # # CPUFreq processor drivers # CONFIG_X86_PCC_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_POWERNOW_K8=m CONFIG_X86_SPEEDSTEP_CENTRINO=m CONFIG_X86_P4_CLOCKMOD=m # # shared options # CONFIG_X86_SPEEDSTEP_LIB=m CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y CONFIG_INTEL_IDLE=y # # Memory power savings # CONFIG_I7300_IDLE_IOAT_CHANNEL=y CONFIG_I7300_IDLE=m # # Bus options (PCI etc.) # CONFIG_PCI=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y CONFIG_PCI_XEN=y CONFIG_PCI_DOMAINS=y CONFIG_PCI_CNB20LE_QUIRK=y CONFIG_DMAR=y CONFIG_DMAR_DEFAULT_ON=y CONFIG_DMAR_FLOPPY_WA=y CONFIG_INTR_REMAP=y CONFIG_PCIEPORTBUS=y CONFIG_HOTPLUG_PCI_PCIE=m CONFIG_PCIEAER=y CONFIG_PCIE_ECRC=y CONFIG_PCIEAER_INJECT=m CONFIG_PCIEASPM=y CONFIG_PCIEASPM_DEBUG=y CONFIG_ARCH_SUPPORTS_MSI=y CONFIG_PCI_MSI=y CONFIG_PCI_DEBUG=y CONFIG_PCI_STUB=m CONFIG_XEN_PCIDEV_FRONTEND=m CONFIG_XEN_PCIDEV_FE_DEBUG=y CONFIG_HT_IRQ=y CONFIG_PCI_IOV=y CONFIG_PCI_IOAPIC=y CONFIG_ISA_DMA_API=y CONFIG_AMD_NB=y CONFIG_PCCARD=m CONFIG_PCMCIA=m CONFIG_PCMCIA_LOAD_CIS=y CONFIG_CARDBUS=y # # PC-card bridges # CONFIG_YENTA=m CONFIG_YENTA_O2=y CONFIG_YENTA_RICOH=y CONFIG_YENTA_TI=y CONFIG_YENTA_ENE_TUNE=y CONFIG_YENTA_TOSHIBA=y CONFIG_PD6729=m CONFIG_I82092=m CONFIG_PCCARD_NONSTATIC=y CONFIG_HOTPLUG_PCI=m CONFIG_HOTPLUG_PCI_FAKE=m CONFIG_HOTPLUG_PCI_ACPI=m CONFIG_HOTPLUG_PCI_ACPI_IBM=m CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m CONFIG_HOTPLUG_PCI_SHPC=m # # Executable file formats / Emulations # CONFIG_BINFMT_ELF=y CONFIG_COMPAT_BINFMT_ELF=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y # CONFIG_HAVE_AOUT is not set CONFIG_BINFMT_MISC=m CONFIG_IA32_EMULATION=y CONFIG_IA32_AOUT=m CONFIG_COMPAT=y CONFIG_COMPAT_FOR_U64_ALIGNMENT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_HAVE_TEXT_POKE_SMP=y CONFIG_NET=y CONFIG_COMPAT_NETLINK_MESSAGES=y # # Networking options # CONFIG_PACKET=m CONFIG_UNIX=m CONFIG_XFRM=y CONFIG_XFRM_USER=m CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y CONFIG_XFRM_STATISTICS=y CONFIG_XFRM_IPCOMP=m CONFIG_NET_KEY=m CONFIG_NET_KEY_MIGRATE=y CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_ASK_IP_FIB_HASH=y # CONFIG_IP_FIB_TRIE is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y CONFIG_IP_PNP_RARP=y CONFIG_NET_IPIP=m CONFIG_NET_IPGRE_DEMUX=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y CONFIG_IP_MROUTE=y CONFIG_IP_MROUTE_MULTIPLE_TABLES=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_ARPD=y CONFIG_SYN_COOKIES=y CONFIG_INET_AH=m CONFIG_INET_ESP=m CONFIG_INET_IPCOMP=m CONFIG_INET_XFRM_TUNNEL=m CONFIG_INET_TUNNEL=m CONFIG_INET_XFRM_MODE_TRANSPORT=m CONFIG_INET_XFRM_MODE_TUNNEL=m CONFIG_INET_XFRM_MODE_BEET=m CONFIG_INET_LRO=m CONFIG_INET_DIAG=m CONFIG_INET_TCP_DIAG=m CONFIG_TCP_CONG_ADVANCED=y CONFIG_TCP_CONG_BIC=m CONFIG_TCP_CONG_CUBIC=m CONFIG_TCP_CONG_WESTWOOD=m CONFIG_TCP_CONG_HTCP=m CONFIG_TCP_CONG_HSTCP=m CONFIG_TCP_CONG_HYBLA=m CONFIG_TCP_CONG_VEGAS=m CONFIG_TCP_CONG_SCALABLE=m CONFIG_TCP_CONG_LP=m CONFIG_TCP_CONG_VENO=m CONFIG_TCP_CONG_YEAH=m CONFIG_TCP_CONG_ILLINOIS=m CONFIG_DEFAULT_RENO=y CONFIG_DEFAULT_TCP_CONG="reno" CONFIG_TCP_MD5SIG=y CONFIG_IPV6=m CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_OPTIMISTIC_DAD=y CONFIG_INET6_AH=m CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m CONFIG_IPV6_MIP6=m CONFIG_INET6_XFRM_TUNNEL=m CONFIG_INET6_TUNNEL=m CONFIG_INET6_XFRM_MODE_TRANSPORT=m CONFIG_INET6_XFRM_MODE_TUNNEL=m CONFIG_INET6_XFRM_MODE_BEET=m CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m CONFIG_IPV6_SIT=m CONFIG_IPV6_SIT_6RD=y CONFIG_IPV6_NDISC_NODETYPE=y CONFIG_IPV6_TUNNEL=m CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y CONFIG_IPV6_MROUTE=y CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y CONFIG_IPV6_PIMSM_V2=y CONFIG_NETLABEL=y CONFIG_NETWORK_SECMARK=y CONFIG_NETWORK_PHY_TIMESTAMPING=y CONFIG_NETFILTER=y CONFIG_NETFILTER_DEBUG=y CONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=y # # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK=m CONFIG_NETFILTER_NETLINK_QUEUE=m CONFIG_NETFILTER_NETLINK_LOG=m CONFIG_NF_CONNTRACK=m CONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_CONNTRACK_SECMARK=y CONFIG_NF_CONNTRACK_ZONES=y CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NF_CT_PROTO_DCCP=m CONFIG_NF_CT_PROTO_GRE=m CONFIG_NF_CT_PROTO_SCTP=m CONFIG_NF_CT_PROTO_UDPLITE=m CONFIG_NF_CONNTRACK_AMANDA=m CONFIG_NF_CONNTRACK_FTP=m CONFIG_NF_CONNTRACK_H323=m CONFIG_NF_CONNTRACK_IRC=m CONFIG_NF_CONNTRACK_NETBIOS_NS=m CONFIG_NF_CONNTRACK_PPTP=m CONFIG_NF_CONNTRACK_SANE=m CONFIG_NF_CONNTRACK_SIP=m CONFIG_NF_CONNTRACK_TFTP=m CONFIG_NF_CT_NETLINK=m CONFIG_NETFILTER_TPROXY=m CONFIG_NETFILTER_XTABLES=m # # Xtables combined modules # CONFIG_NETFILTER_XT_MARK=m CONFIG_NETFILTER_XT_CONNMARK=m # # Xtables targets # CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_CONNMARK=m CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m CONFIG_NETFILTER_XT_TARGET_CT=m CONFIG_NETFILTER_XT_TARGET_DSCP=m CONFIG_NETFILTER_XT_TARGET_HL=m CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m CONFIG_NETFILTER_XT_TARGET_LED=m CONFIG_NETFILTER_XT_TARGET_MARK=m CONFIG_NETFILTER_XT_TARGET_NFLOG=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m CONFIG_NETFILTER_XT_TARGET_NOTRACK=m CONFIG_NETFILTER_XT_TARGET_RATEEST=m CONFIG_NETFILTER_XT_TARGET_TEE=m CONFIG_NETFILTER_XT_TARGET_TPROXY=m CONFIG_NETFILTER_XT_TARGET_TRACE=m CONFIG_NETFILTER_XT_TARGET_SECMARK=m CONFIG_NETFILTER_XT_TARGET_TCPMSS=m CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m # # Xtables matches # CONFIG_NETFILTER_XT_MATCH_CLUSTER=m CONFIG_NETFILTER_XT_MATCH_COMMENT=m CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m CONFIG_NETFILTER_XT_MATCH_CONNMARK=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_CPU=m CONFIG_NETFILTER_XT_MATCH_DCCP=m CONFIG_NETFILTER_XT_MATCH_DSCP=m CONFIG_NETFILTER_XT_MATCH_ESP=m CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m CONFIG_NETFILTER_XT_MATCH_HELPER=m CONFIG_NETFILTER_XT_MATCH_HL=m CONFIG_NETFILTER_XT_MATCH_IPRANGE=m CONFIG_NETFILTER_XT_MATCH_IPVS=m CONFIG_NETFILTER_XT_MATCH_LENGTH=m CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m CONFIG_NETFILTER_XT_MATCH_OSF=m CONFIG_NETFILTER_XT_MATCH_OWNER=m CONFIG_NETFILTER_XT_MATCH_POLICY=m CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m CONFIG_NETFILTER_XT_MATCH_QUOTA=m CONFIG_NETFILTER_XT_MATCH_RATEEST=m CONFIG_NETFILTER_XT_MATCH_REALM=m CONFIG_NETFILTER_XT_MATCH_RECENT=m CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_NETFILTER_XT_MATCH_SOCKET=m CONFIG_NETFILTER_XT_MATCH_STATE=m CONFIG_NETFILTER_XT_MATCH_STATISTIC=m CONFIG_NETFILTER_XT_MATCH_STRING=m CONFIG_NETFILTER_XT_MATCH_TCPMSS=m CONFIG_NETFILTER_XT_MATCH_TIME=m CONFIG_NETFILTER_XT_MATCH_U32=m CONFIG_IP_VS=m CONFIG_IP_VS_IPV6=y CONFIG_IP_VS_DEBUG=y CONFIG_IP_VS_TAB_BITS=12 # # IPVS transport protocol load balancing support # CONFIG_IP_VS_PROTO_TCP=y CONFIG_IP_VS_PROTO_UDP=y CONFIG_IP_VS_PROTO_AH_ESP=y CONFIG_IP_VS_PROTO_ESP=y CONFIG_IP_VS_PROTO_AH=y CONFIG_IP_VS_PROTO_SCTP=y # # IPVS scheduler # CONFIG_IP_VS_RR=m CONFIG_IP_VS_WRR=m CONFIG_IP_VS_LC=m CONFIG_IP_VS_WLC=m CONFIG_IP_VS_LBLC=m CONFIG_IP_VS_LBLCR=m CONFIG_IP_VS_DH=m CONFIG_IP_VS_SH=m CONFIG_IP_VS_SED=m CONFIG_IP_VS_NQ=m # # IPVS application helper # CONFIG_IP_VS_FTP=m CONFIG_IP_VS_NFCT=y CONFIG_IP_VS_PE_SIP=m # # IP: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV4=m CONFIG_NF_CONNTRACK_IPV4=m CONFIG_NF_CONNTRACK_PROC_COMPAT=y CONFIG_IP_NF_QUEUE=m CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_ADDRTYPE=m CONFIG_IP_NF_MATCH_AH=m CONFIG_IP_NF_MATCH_ECN=m CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m CONFIG_NF_NAT=m CONFIG_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_NETMAP=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_NF_NAT_SNMP_BASIC=m CONFIG_NF_NAT_PROTO_DCCP=m CONFIG_NF_NAT_PROTO_GRE=m CONFIG_NF_NAT_PROTO_UDPLITE=m CONFIG_NF_NAT_PROTO_SCTP=m CONFIG_NF_NAT_FTP=m CONFIG_NF_NAT_IRC=m CONFIG_NF_NAT_TFTP=m CONFIG_NF_NAT_AMANDA=m CONFIG_NF_NAT_PPTP=m CONFIG_NF_NAT_H323=m CONFIG_NF_NAT_SIP=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_CLUSTERIP=m CONFIG_IP_NF_TARGET_ECN=m CONFIG_IP_NF_TARGET_TTL=m CONFIG_IP_NF_RAW=m CONFIG_IP_NF_SECURITY=m CONFIG_IP_NF_ARPTABLES=m CONFIG_IP_NF_ARPFILTER=m CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration # CONFIG_NF_DEFRAG_IPV6=m CONFIG_NF_CONNTRACK_IPV6=m CONFIG_IP6_NF_QUEUE=m CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_AH=m CONFIG_IP6_NF_MATCH_EUI64=m CONFIG_IP6_NF_MATCH_FRAG=m CONFIG_IP6_NF_MATCH_OPTS=m CONFIG_IP6_NF_MATCH_HL=m CONFIG_IP6_NF_MATCH_IPV6HEADER=m CONFIG_IP6_NF_MATCH_MH=m CONFIG_IP6_NF_MATCH_RT=m CONFIG_IP6_NF_TARGET_HL=m CONFIG_IP6_NF_TARGET_LOG=m CONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_MANGLE=m CONFIG_IP6_NF_RAW=m CONFIG_IP6_NF_SECURITY=m # # DECnet: Netfilter Configuration # CONFIG_DECNET_NF_GRABULATOR=m CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=m CONFIG_BRIDGE_EBT_ARP=m CONFIG_BRIDGE_EBT_IP=m CONFIG_BRIDGE_EBT_IP6=m CONFIG_BRIDGE_EBT_LIMIT=m CONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=m CONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=m CONFIG_BRIDGE_EBT_LOG=m CONFIG_BRIDGE_EBT_ULOG=m CONFIG_BRIDGE_EBT_NFLOG=m CONFIG_IP_DCCP=m CONFIG_INET_DCCP_DIAG=m # # DCCP CCIDs Configuration (EXPERIMENTAL) # CONFIG_IP_DCCP_CCID2_DEBUG=y CONFIG_IP_DCCP_CCID3=y CONFIG_IP_DCCP_CCID3_DEBUG=y CONFIG_IP_DCCP_TFRC_LIB=y CONFIG_IP_DCCP_TFRC_DEBUG=y # # DCCP Kernel Hacking # CONFIG_IP_DCCP_DEBUG=y CONFIG_NET_DCCPPROBE=m CONFIG_IP_SCTP=m CONFIG_NET_SCTPPROBE=m CONFIG_SCTP_DBG_MSG=y CONFIG_SCTP_DBG_OBJCNT=y # CONFIG_SCTP_HMAC_NONE is not set # CONFIG_SCTP_HMAC_SHA1 is not set CONFIG_SCTP_HMAC_MD5=y CONFIG_RDS=m CONFIG_RDS_RDMA=m CONFIG_RDS_TCP=m CONFIG_RDS_DEBUG=y CONFIG_TIPC=m CONFIG_TIPC_ADVANCED=y CONFIG_TIPC_ZONES=3 CONFIG_TIPC_CLUSTERS=1 CONFIG_TIPC_NODES=255 CONFIG_TIPC_PORTS=8191 CONFIG_TIPC_LOG=0 CONFIG_TIPC_DEBUG=y CONFIG_ATM=m CONFIG_ATM_CLIP=m CONFIG_ATM_CLIP_NO_ICMP=y CONFIG_ATM_LANE=m CONFIG_ATM_MPOA=m CONFIG_ATM_BR2684=m CONFIG_ATM_BR2684_IPFILTER=y CONFIG_L2TP=m CONFIG_L2TP_DEBUGFS=m CONFIG_L2TP_V3=y CONFIG_L2TP_IP=m CONFIG_L2TP_ETH=m CONFIG_STP=m CONFIG_GARP=m CONFIG_BRIDGE=m CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_NET_DSA=y CONFIG_NET_DSA_TAG_DSA=y CONFIG_NET_DSA_TAG_EDSA=y CONFIG_NET_DSA_TAG_TRAILER=y CONFIG_NET_DSA_MV88E6XXX=y CONFIG_NET_DSA_MV88E6060=y CONFIG_NET_DSA_MV88E6XXX_NEED_PPU=y CONFIG_NET_DSA_MV88E6131=y CONFIG_NET_DSA_MV88E6123_61_65=y CONFIG_VLAN_8021Q=m CONFIG_VLAN_8021Q_GVRP=y CONFIG_DECNET=m CONFIG_DECNET_ROUTER=y CONFIG_LLC=m CONFIG_LLC2=m CONFIG_IPX=m CONFIG_IPX_INTERN=y CONFIG_ATALK=m CONFIG_DEV_APPLETALK=m CONFIG_IPDDP=m CONFIG_IPDDP_ENCAP=y CONFIG_IPDDP_DECAP=y CONFIG_X25=m CONFIG_LAPB=m CONFIG_ECONET=m CONFIG_ECONET_AUNUDP=y CONFIG_ECONET_NATIVE=y CONFIG_WAN_ROUTER=m CONFIG_PHONET=m CONFIG_PHONET_PIPECTRLR=y CONFIG_IEEE802154=m CONFIG_NET_SCHED=y # # Queueing/Scheduling # CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_HTB=m CONFIG_NET_SCH_HFSC=m CONFIG_NET_SCH_ATM=m CONFIG_NET_SCH_PRIO=m CONFIG_NET_SCH_MULTIQ=m CONFIG_NET_SCH_RED=m CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_DRR=m CONFIG_NET_SCH_INGRESS=m # # Classification # CONFIG_NET_CLS=y CONFIG_NET_CLS_BASIC=m CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m CONFIG_CLS_U32_PERF=y CONFIG_CLS_U32_MARK=y CONFIG_NET_CLS_RSVP=m CONFIG_NET_CLS_RSVP6=m CONFIG_NET_CLS_FLOW=m CONFIG_NET_CLS_CGROUP=m CONFIG_NET_EMATCH=y CONFIG_NET_EMATCH_STACK=32 CONFIG_NET_EMATCH_CMP=m CONFIG_NET_EMATCH_NBYTE=m CONFIG_NET_EMATCH_U32=m CONFIG_NET_EMATCH_META=m CONFIG_NET_EMATCH_TEXT=m CONFIG_NET_CLS_ACT=y CONFIG_NET_ACT_POLICE=m CONFIG_NET_ACT_GACT=m CONFIG_GACT_PROB=y CONFIG_NET_ACT_MIRRED=m CONFIG_NET_ACT_IPT=m CONFIG_NET_ACT_NAT=m CONFIG_NET_ACT_PEDIT=m CONFIG_NET_ACT_SIMP=m CONFIG_NET_ACT_SKBEDIT=m CONFIG_NET_ACT_CSUM=m CONFIG_NET_CLS_IND=y CONFIG_NET_SCH_FIFO=y CONFIG_DCB=y CONFIG_DNS_RESOLVER=m CONFIG_RPS=y # # Network testing # CONFIG_NET_PKTGEN=m CONFIG_NET_TCPPROBE=m CONFIG_NET_DROP_MONITOR=y CONFIG_HAMRADIO=y # # Packet Radio protocols # CONFIG_AX25=m CONFIG_AX25_DAMA_SLAVE=y CONFIG_NETROM=m CONFIG_ROSE=m # # AX.25 network device drivers # CONFIG_MKISS=m CONFIG_6PACK=m CONFIG_BPQETHER=m CONFIG_BAYCOM_SER_FDX=m CONFIG_BAYCOM_SER_HDX=m CONFIG_BAYCOM_PAR=m CONFIG_YAM=m CONFIG_CAN=m CONFIG_CAN_RAW=m CONFIG_CAN_BCM=m # # CAN Device Drivers # CONFIG_CAN_VCAN=m CONFIG_CAN_DEV=m CONFIG_CAN_CALC_BITTIMING=y CONFIG_CAN_MCP251X=m CONFIG_CAN_JANZ_ICAN3=m CONFIG_PCH_CAN=m CONFIG_CAN_SJA1000=m CONFIG_CAN_SJA1000_PLATFORM=m CONFIG_CAN_EMS_PCI=m CONFIG_CAN_KVASER_PCI=m CONFIG_CAN_PLX_PCI=m # # CAN USB interfaces # CONFIG_CAN_EMS_USB=m CONFIG_CAN_ESD_USB2=m CONFIG_CAN_DEBUG_DEVICES=y CONFIG_IRDA=m # # IrDA protocols # CONFIG_IRLAN=m CONFIG_IRNET=m CONFIG_IRCOMM=m CONFIG_IRDA_ULTRA=y # # IrDA options # CONFIG_IRDA_CACHE_LAST_LSAP=y CONFIG_IRDA_FAST_RR=y CONFIG_IRDA_DEBUG=y # # Infrared-port device drivers # # # SIR device drivers # CONFIG_IRTTY_SIR=m # # Dongle support # CONFIG_DONGLE=y CONFIG_ESI_DONGLE=m CONFIG_ACTISYS_DONGLE=m CONFIG_TEKRAM_DONGLE=m CONFIG_TOIM3232_DONGLE=m CONFIG_LITELINK_DONGLE=m CONFIG_MA600_DONGLE=m CONFIG_GIRBIL_DONGLE=m CONFIG_MCP2120_DONGLE=m CONFIG_OLD_BELKIN_DONGLE=m CONFIG_ACT200L_DONGLE=m CONFIG_KINGSUN_DONGLE=m CONFIG_KSDAZZLE_DONGLE=m CONFIG_KS959_DONGLE=m # # FIR device drivers # CONFIG_USB_IRDA=m CONFIG_SIGMATEL_FIR=m CONFIG_NSC_FIR=m CONFIG_WINBOND_FIR=m CONFIG_SMC_IRCC_FIR=m CONFIG_ALI_FIR=m CONFIG_VLSI_FIR=m CONFIG_VIA_FIR=m CONFIG_MCS_FIR=m CONFIG_BT=m CONFIG_BT_L2CAP=m CONFIG_BT_SCO=m CONFIG_BT_RFCOMM=m CONFIG_BT_RFCOMM_TTY=y CONFIG_BT_BNEP=m CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_CMTP=m CONFIG_BT_HIDP=m # # Bluetooth device drivers # CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_H4=y CONFIG_BT_HCIUART_BCSP=y CONFIG_BT_HCIUART_ATH3K=y CONFIG_BT_HCIUART_LL=y CONFIG_BT_HCIBCM203X=m CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBFUSB=m CONFIG_BT_HCIDTL1=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBLUECARD=m CONFIG_BT_HCIBTUART=m CONFIG_BT_HCIVHCI=m CONFIG_BT_MRVL=m CONFIG_BT_MRVL_SDIO=m CONFIG_BT_ATH3K=m CONFIG_AF_RXRPC=m CONFIG_AF_RXRPC_DEBUG=y CONFIG_RXKAD=m CONFIG_FIB_RULES=y CONFIG_WIRELESS=y CONFIG_WIRELESS_EXT=y CONFIG_WEXT_CORE=y CONFIG_WEXT_PROC=y CONFIG_WEXT_SPY=y CONFIG_WEXT_PRIV=y CONFIG_CFG80211=m CONFIG_NL80211_TESTMODE=y CONFIG_CFG80211_DEVELOPER_WARNINGS=y CONFIG_CFG80211_REG_DEBUG=y CONFIG_CFG80211_DEFAULT_PS=y CONFIG_CFG80211_DEBUGFS=y CONFIG_CFG80211_INTERNAL_REGDB=y CONFIG_CFG80211_WEXT=y CONFIG_WIRELESS_EXT_SYSFS=y CONFIG_LIB80211=m CONFIG_LIB80211_CRYPT_WEP=m CONFIG_LIB80211_CRYPT_CCMP=m CONFIG_LIB80211_CRYPT_TKIP=m CONFIG_LIB80211_DEBUG=y CONFIG_MAC80211=m CONFIG_MAC80211_HAS_RC=y CONFIG_MAC80211_RC_PID=y CONFIG_MAC80211_RC_MINSTREL=y CONFIG_MAC80211_RC_MINSTREL_HT=y # CONFIG_MAC80211_RC_DEFAULT_PID is not set CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y CONFIG_MAC80211_RC_DEFAULT="minstrel_ht" CONFIG_MAC80211_MESH=y CONFIG_MAC80211_LEDS=y CONFIG_MAC80211_DEBUGFS=y CONFIG_MAC80211_DEBUG_MENU=y CONFIG_MAC80211_NOINLINE=y CONFIG_MAC80211_VERBOSE_DEBUG=y CONFIG_MAC80211_HT_DEBUG=y CONFIG_MAC80211_TKIP_DEBUG=y CONFIG_MAC80211_IBSS_DEBUG=y CONFIG_MAC80211_VERBOSE_PS_DEBUG=y CONFIG_MAC80211_VERBOSE_MPL_DEBUG=y CONFIG_MAC80211_VERBOSE_MHWMP_DEBUG=y CONFIG_MAC80211_DEBUG_COUNTERS=y CONFIG_MAC80211_DRIVER_API_TRACER=y CONFIG_WIMAX=m CONFIG_WIMAX_DEBUG_LEVEL=8 CONFIG_RFKILL=m CONFIG_RFKILL_LEDS=y CONFIG_RFKILL_INPUT=y CONFIG_NET_9P=m CONFIG_NET_9P_VIRTIO=m CONFIG_NET_9P_RDMA=m CONFIG_NET_9P_DEBUG=y CONFIG_CAIF=m CONFIG_CAIF_DEBUG=y CONFIG_CAIF_NETDEV=m CONFIG_CEPH_LIB=m CONFIG_CEPH_LIB_PRETTYDEBUG=y # # Device Drivers # # # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=m CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="" # CONFIG_DEBUG_DRIVER is not set CONFIG_DEBUG_DEVRES=y CONFIG_SYS_HYPERVISOR=y CONFIG_CONNECTOR=m CONFIG_MTD=m CONFIG_MTD_DEBUG=y CONFIG_MTD_DEBUG_VERBOSE=0 CONFIG_MTD_TESTS=m CONFIG_MTD_CONCAT=m CONFIG_MTD_PARTITIONS=y CONFIG_MTD_REDBOOT_PARTS=m CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y CONFIG_MTD_REDBOOT_PARTS_READONLY=y CONFIG_MTD_AR7_PARTS=m # # User Modules And Translation Layers # CONFIG_MTD_CHAR=m CONFIG_HAVE_MTD_OTP=y CONFIG_MTD_BLKDEVS=m CONFIG_MTD_BLOCK=m CONFIG_MTD_BLOCK_RO=m CONFIG_FTL=m CONFIG_NFTL=m CONFIG_NFTL_RW=y CONFIG_INFTL=m CONFIG_RFD_FTL=m CONFIG_SSFDC=m CONFIG_SM_FTL=m CONFIG_MTD_OOPS=m # # RAM/ROM/Flash chip drivers # CONFIG_MTD_CFI=m CONFIG_MTD_JEDECPROBE=m CONFIG_MTD_GEN_PROBE=m CONFIG_MTD_CFI_ADV_OPTIONS=y CONFIG_MTD_CFI_NOSWAP=y # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set CONFIG_MTD_CFI_GEOMETRY=y CONFIG_MTD_MAP_BANK_WIDTH_1=y CONFIG_MTD_MAP_BANK_WIDTH_2=y CONFIG_MTD_MAP_BANK_WIDTH_4=y CONFIG_MTD_MAP_BANK_WIDTH_8=y CONFIG_MTD_MAP_BANK_WIDTH_16=y CONFIG_MTD_MAP_BANK_WIDTH_32=y CONFIG_MTD_CFI_I1=y CONFIG_MTD_CFI_I2=y CONFIG_MTD_CFI_I4=y CONFIG_MTD_CFI_I8=y CONFIG_MTD_OTP=y CONFIG_MTD_CFI_INTELEXT=m CONFIG_MTD_CFI_AMDSTD=m CONFIG_MTD_CFI_STAA=m CONFIG_MTD_CFI_UTIL=m CONFIG_MTD_RAM=m CONFIG_MTD_ROM=m CONFIG_MTD_ABSENT=m # # Mapping drivers for chip access # CONFIG_MTD_COMPLEX_MAPPINGS=y CONFIG_MTD_PHYSMAP=m CONFIG_MTD_PHYSMAP_COMPAT=y CONFIG_MTD_PHYSMAP_START=0x8000000 CONFIG_MTD_PHYSMAP_LEN=0 CONFIG_MTD_PHYSMAP_BANKWIDTH=2 CONFIG_MTD_SC520CDP=m CONFIG_MTD_NETSC520=m CONFIG_MTD_TS5500=m CONFIG_MTD_SBC_GXX=m CONFIG_MTD_AMD76XROM=m CONFIG_MTD_ICHXROM=m CONFIG_MTD_ESB2ROM=m CONFIG_MTD_CK804XROM=m CONFIG_MTD_SCB2_FLASH=m CONFIG_MTD_NETtel=m CONFIG_MTD_L440GX=m CONFIG_MTD_PCI=m CONFIG_MTD_PCMCIA=m CONFIG_MTD_PCMCIA_ANONYMOUS=y CONFIG_MTD_GPIO_ADDR=m CONFIG_MTD_INTEL_VR_NOR=m CONFIG_MTD_PLATRAM=m # # Self-contained MTD device drivers # CONFIG_MTD_PMC551=m CONFIG_MTD_PMC551_BUGFIX=y CONFIG_MTD_PMC551_DEBUG=y CONFIG_MTD_DATAFLASH=m CONFIG_MTD_DATAFLASH_WRITE_VERIFY=y CONFIG_MTD_DATAFLASH_OTP=y CONFIG_MTD_M25P80=m CONFIG_M25PXX_USE_FAST_READ=y CONFIG_MTD_SST25L=m CONFIG_MTD_SLRAM=m CONFIG_MTD_PHRAM=m CONFIG_MTD_MTDRAM=m CONFIG_MTDRAM_TOTAL_SIZE=4096 CONFIG_MTDRAM_ERASE_SIZE=128 CONFIG_MTD_BLOCK2MTD=m # # Disk-On-Chip Device Drivers # CONFIG_MTD_DOC2000=m CONFIG_MTD_DOC2001=m CONFIG_MTD_DOC2001PLUS=m CONFIG_MTD_DOCPROBE=m CONFIG_MTD_DOCECC=m CONFIG_MTD_DOCPROBE_ADVANCED=y CONFIG_MTD_DOCPROBE_ADDRESS=0x0000 CONFIG_MTD_DOCPROBE_HIGH=y CONFIG_MTD_DOCPROBE_55AA=y CONFIG_MTD_NAND_ECC=m CONFIG_MTD_NAND_ECC_SMC=y CONFIG_MTD_NAND=m CONFIG_MTD_NAND_VERIFY_WRITE=y CONFIG_MTD_SM_COMMON=m CONFIG_MTD_NAND_MUSEUM_IDS=y CONFIG_MTD_NAND_DENALI=m CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018 CONFIG_MTD_NAND_IDS=m CONFIG_MTD_NAND_RICOH=m CONFIG_MTD_NAND_DISKONCHIP=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED=y CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0 CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH=y CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE=y CONFIG_MTD_NAND_CAFE=m CONFIG_MTD_NAND_NANDSIM=m CONFIG_MTD_NAND_PLATFORM=m CONFIG_MTD_ALAUDA=m CONFIG_MTD_ONENAND=m CONFIG_MTD_ONENAND_VERIFY_WRITE=y CONFIG_MTD_ONENAND_GENERIC=m CONFIG_MTD_ONENAND_OTP=y CONFIG_MTD_ONENAND_2X_PROGRAM=y CONFIG_MTD_ONENAND_SIM=m # # LPDDR flash memory drivers # CONFIG_MTD_LPDDR=m CONFIG_MTD_QINFO_PROBE=m CONFIG_MTD_UBI=m CONFIG_MTD_UBI_WL_THRESHOLD=4096 CONFIG_MTD_UBI_BEB_RESERVE=1 CONFIG_MTD_UBI_GLUEBI=m # # UBI debugging options # CONFIG_MTD_UBI_DEBUG=y CONFIG_MTD_UBI_DEBUG_MSG=y CONFIG_MTD_UBI_DEBUG_PARANOID=y CONFIG_MTD_UBI_DEBUG_DISABLE_BGT=y CONFIG_MTD_UBI_DEBUG_EMULATE_BITFLIPS=y CONFIG_MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES=y CONFIG_MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES=y # # Additional UBI debugging messages # CONFIG_MTD_UBI_DEBUG_MSG_BLD=y CONFIG_MTD_UBI_DEBUG_MSG_EBA=y CONFIG_MTD_UBI_DEBUG_MSG_WL=y CONFIG_MTD_UBI_DEBUG_MSG_IO=y CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_SERIAL=m CONFIG_PARPORT_PC_FIFO=y CONFIG_PARPORT_PC_SUPERIO=y CONFIG_PARPORT_PC_PCMCIA=m # CONFIG_PARPORT_GSC is not set CONFIG_PARPORT_AX88796=m CONFIG_PARPORT_1284=y CONFIG_PARPORT_NOT_PC=y CONFIG_PNP=y # CONFIG_PNP_DEBUG_MESSAGES is not set # # Protocols # CONFIG_PNPACPI=y CONFIG_BLK_DEV=y CONFIG_BLK_DEV_FD=m CONFIG_PARIDE=m # # Parallel IDE high-level drivers # CONFIG_PARIDE_PD=m CONFIG_PARIDE_PCD=m CONFIG_PARIDE_PF=m CONFIG_PARIDE_PT=m CONFIG_PARIDE_PG=m # # Parallel IDE protocol modules # CONFIG_PARIDE_ATEN=m CONFIG_PARIDE_BPCK=m CONFIG_PARIDE_COMM=m CONFIG_PARIDE_DSTR=m CONFIG_PARIDE_FIT2=m CONFIG_PARIDE_FIT3=m CONFIG_PARIDE_EPAT=m CONFIG_PARIDE_EPATC8=y CONFIG_PARIDE_EPIA=m CONFIG_PARIDE_FRIQ=m CONFIG_PARIDE_FRPW=m CONFIG_PARIDE_KBIC=m CONFIG_PARIDE_KTTI=m CONFIG_PARIDE_ON20=m CONFIG_PARIDE_ON26=m CONFIG_BLK_CPQ_DA=m CONFIG_BLK_CPQ_CISS_DA=m CONFIG_CISS_SCSI_TAPE=y CONFIG_BLK_DEV_DAC960=m CONFIG_BLK_DEV_UMEM=m # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_DRBD=m CONFIG_DRBD_FAULT_INJECTION=y CONFIG_BLK_DEV_NBD=m CONFIG_BLK_DEV_OSD=m CONFIG_BLK_DEV_SX8=m CONFIG_BLK_DEV_UB=m CONFIG_BLK_DEV_RAM=m CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 CONFIG_BLK_DEV_XIP=y CONFIG_CDROM_PKTCDVD=m CONFIG_CDROM_PKTCDVD_BUFFERS=8 CONFIG_CDROM_PKTCDVD_WCACHE=y CONFIG_ATA_OVER_ETH=m CONFIG_XEN_BLKDEV_FRONTEND=m CONFIG_VIRTIO_BLK=m CONFIG_BLK_DEV_HD=y CONFIG_BLK_DEV_RBD=m CONFIG_MISC_DEVICES=y CONFIG_AD525X_DPOT=m CONFIG_AD525X_DPOT_I2C=m CONFIG_AD525X_DPOT_SPI=m CONFIG_IBM_ASM=m CONFIG_PHANTOM=m CONFIG_SGI_IOC4=m CONFIG_TIFM_CORE=m CONFIG_TIFM_7XX1=m CONFIG_ICS932S401=m CONFIG_ENCLOSURE_SERVICES=m CONFIG_SGI_XP=m CONFIG_CS5535_MFGPT=m CONFIG_CS5535_MFGPT_DEFAULT_IRQ=7 CONFIG_CS5535_CLOCK_EVENT_SRC=m CONFIG_HP_ILO=m CONFIG_SGI_GRU=m CONFIG_SGI_GRU_DEBUG=y CONFIG_APDS9802ALS=m CONFIG_ISL29003=m CONFIG_ISL29020=m CONFIG_SENSORS_TSL2550=m CONFIG_SENSORS_BH1780=m CONFIG_SENSORS_BH1770=m CONFIG_SENSORS_APDS990X=m CONFIG_HMC6352=m CONFIG_DS1682=m CONFIG_TI_DAC7512=m CONFIG_VMWARE_BALLOON=m CONFIG_BMP085=m CONFIG_PCH_PHUB=m CONFIG_C2PORT=m CONFIG_C2PORT_DURAMAR_2150=m # # EEPROM support # CONFIG_EEPROM_AT24=m CONFIG_EEPROM_AT25=m CONFIG_EEPROM_LEGACY=m CONFIG_EEPROM_MAX6875=m CONFIG_EEPROM_93CX6=m CONFIG_CB710_CORE=m CONFIG_CB710_DEBUG=y CONFIG_CB710_DEBUG_ASSUMPTIONS=y CONFIG_IWMC3200TOP=m CONFIG_IWMC3200TOP_DEBUG=y CONFIG_IWMC3200TOP_DEBUGFS=y # # Texas Instruments shared transport line discipline # CONFIG_TI_ST=m CONFIG_HAVE_IDE=y CONFIG_IDE=m # # Please see Documentation/ide/ide.txt for help/info on IDE drives # CONFIG_IDE_XFER_MODE=y CONFIG_IDE_TIMINGS=y CONFIG_IDE_ATAPI=y CONFIG_BLK_DEV_IDE_SATA=y CONFIG_IDE_GD=m CONFIG_IDE_GD_ATA=y CONFIG_IDE_GD_ATAPI=y CONFIG_BLK_DEV_IDECS=m CONFIG_BLK_DEV_DELKIN=m CONFIG_BLK_DEV_IDECD=m CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y CONFIG_BLK_DEV_IDETAPE=m CONFIG_BLK_DEV_IDEACPI=y CONFIG_IDE_TASK_IOCTL=y CONFIG_IDE_PROC_FS=y # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=m CONFIG_BLK_DEV_PLATFORM=m CONFIG_BLK_DEV_CMD640=m CONFIG_BLK_DEV_CMD640_ENHANCED=y CONFIG_BLK_DEV_IDEPNP=m CONFIG_BLK_DEV_IDEDMA_SFF=y # # PCI IDE chipsets support # CONFIG_BLK_DEV_IDEPCI=y CONFIG_BLK_DEV_OFFBOARD=y CONFIG_BLK_DEV_GENERIC=m CONFIG_BLK_DEV_OPTI621=m CONFIG_BLK_DEV_RZ1000=m CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_BLK_DEV_AEC62XX=m CONFIG_BLK_DEV_ALI15X3=m CONFIG_BLK_DEV_AMD74XX=m CONFIG_BLK_DEV_ATIIXP=m CONFIG_BLK_DEV_CMD64X=m CONFIG_BLK_DEV_TRIFLEX=m CONFIG_BLK_DEV_CS5520=m CONFIG_BLK_DEV_CS5530=m CONFIG_BLK_DEV_HPT366=m CONFIG_BLK_DEV_JMICRON=m CONFIG_BLK_DEV_SC1200=m CONFIG_BLK_DEV_PIIX=m CONFIG_BLK_DEV_IT8172=m CONFIG_BLK_DEV_IT8213=m CONFIG_BLK_DEV_IT821X=m CONFIG_BLK_DEV_NS87415=m CONFIG_BLK_DEV_PDC202XX_OLD=m CONFIG_BLK_DEV_PDC202XX_NEW=m CONFIG_BLK_DEV_SVWKS=m CONFIG_BLK_DEV_SIIMAGE=m CONFIG_BLK_DEV_SIS5513=m CONFIG_BLK_DEV_SLC90E66=m CONFIG_BLK_DEV_TRM290=m CONFIG_BLK_DEV_VIA82CXXX=m CONFIG_BLK_DEV_TC86C001=m CONFIG_BLK_DEV_IDEDMA=y # # SCSI device support # CONFIG_SCSI_MOD=y CONFIG_RAID_ATTRS=m CONFIG_SCSI=y CONFIG_SCSI_DMA=y CONFIG_SCSI_TGT=m CONFIG_SCSI_NETLINK=y CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=m CONFIG_CHR_DEV_ST=m CONFIG_CHR_DEV_OSST=m CONFIG_BLK_DEV_SR=m CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=m CONFIG_CHR_DEV_SCH=m CONFIG_SCSI_ENCLOSURE=m CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y CONFIG_SCSI_SCAN_ASYNC=y CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_FC_ATTRS=m CONFIG_SCSI_FC_TGT_ATTRS=y CONFIG_SCSI_ISCSI_ATTRS=m CONFIG_SCSI_SAS_ATTRS=m CONFIG_SCSI_SAS_LIBSAS=m CONFIG_SCSI_SAS_ATA=y CONFIG_SCSI_SAS_HOST_SMP=y CONFIG_SCSI_SAS_LIBSAS_DEBUG=y CONFIG_SCSI_SRP_ATTRS=m CONFIG_SCSI_SRP_TGT_ATTRS=y CONFIG_SCSI_LOWLEVEL=y CONFIG_ISCSI_TCP=m CONFIG_ISCSI_BOOT_SYSFS=m CONFIG_SCSI_CXGB3_ISCSI=m CONFIG_SCSI_CXGB4_ISCSI=m CONFIG_SCSI_BNX2_ISCSI=m CONFIG_BE2ISCSI=m CONFIG_BLK_DEV_3W_XXXX_RAID=m CONFIG_SCSI_HPSA=m CONFIG_SCSI_3W_9XXX=m CONFIG_SCSI_3W_SAS=m CONFIG_SCSI_ACARD=m CONFIG_SCSI_AACRAID=m CONFIG_SCSI_AIC7XXX=m CONFIG_AIC7XXX_CMDS_PER_DEVICE=32 CONFIG_AIC7XXX_RESET_DELAY_MS=5000 CONFIG_AIC7XXX_DEBUG_ENABLE=y CONFIG_AIC7XXX_DEBUG_MASK=0 CONFIG_AIC7XXX_REG_PRETTY_PRINT=y CONFIG_SCSI_AIC7XXX_OLD=m CONFIG_SCSI_AIC79XX=m CONFIG_AIC79XX_CMDS_PER_DEVICE=32 CONFIG_AIC79XX_RESET_DELAY_MS=5000 CONFIG_AIC79XX_DEBUG_ENABLE=y CONFIG_AIC79XX_DEBUG_MASK=0 CONFIG_AIC79XX_REG_PRETTY_PRINT=y CONFIG_SCSI_AIC94XX=m CONFIG_AIC94XX_DEBUG=y CONFIG_SCSI_MVSAS=m CONFIG_SCSI_MVSAS_DEBUG=y CONFIG_SCSI_DPT_I2O=m CONFIG_SCSI_ADVANSYS=m CONFIG_SCSI_ARCMSR=m CONFIG_SCSI_ARCMSR_AER=y CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m CONFIG_MEGARAID_SAS=m CONFIG_SCSI_MPT2SAS=m CONFIG_SCSI_MPT2SAS_MAX_SGE=128 CONFIG_SCSI_MPT2SAS_LOGGING=y CONFIG_SCSI_HPTIOP=m CONFIG_SCSI_BUSLOGIC=m CONFIG_VMWARE_PVSCSI=m CONFIG_LIBFC=m CONFIG_LIBFCOE=m CONFIG_FCOE=m CONFIG_FCOE_FNIC=m CONFIG_SCSI_DMX3191D=m CONFIG_SCSI_EATA=m CONFIG_SCSI_EATA_TAGGED_QUEUE=y CONFIG_SCSI_EATA_LINKED_COMMANDS=y CONFIG_SCSI_EATA_MAX_TAGS=16 CONFIG_SCSI_FUTURE_DOMAIN=m CONFIG_SCSI_GDTH=m CONFIG_SCSI_IPS=m CONFIG_SCSI_INITIO=m CONFIG_SCSI_INIA100=m CONFIG_SCSI_PPA=m CONFIG_SCSI_IMM=m CONFIG_SCSI_IZIP_EPP16=y CONFIG_SCSI_IZIP_SLOW_CTR=y CONFIG_SCSI_STEX=m CONFIG_SCSI_SYM53C8XX_2=m CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 CONFIG_SCSI_SYM53C8XX_MMIO=y CONFIG_SCSI_IPR=m CONFIG_SCSI_IPR_TRACE=y CONFIG_SCSI_IPR_DUMP=y CONFIG_SCSI_QLOGIC_1280=m CONFIG_SCSI_QLA_FC=m CONFIG_SCSI_QLA_ISCSI=m CONFIG_SCSI_LPFC=m CONFIG_SCSI_LPFC_DEBUG_FS=y CONFIG_SCSI_DC395x=m CONFIG_SCSI_DC390T=m CONFIG_SCSI_DEBUG=m CONFIG_SCSI_PMCRAID=m CONFIG_SCSI_PM8001=m CONFIG_SCSI_SRP=m CONFIG_SCSI_BFA_FC=m CONFIG_SCSI_LOWLEVEL_PCMCIA=y CONFIG_PCMCIA_AHA152X=m CONFIG_PCMCIA_FDOMAIN=m CONFIG_PCMCIA_QLOGIC=m CONFIG_PCMCIA_SYM53C500=m CONFIG_SCSI_DH=m CONFIG_SCSI_DH_RDAC=m CONFIG_SCSI_DH_HP_SW=m CONFIG_SCSI_DH_EMC=m CONFIG_SCSI_DH_ALUA=m CONFIG_SCSI_OSD_INITIATOR=m CONFIG_SCSI_OSD_ULD=m CONFIG_SCSI_OSD_DPRINT_SENSE=1 CONFIG_SCSI_OSD_DEBUG=y CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set CONFIG_ATA_VERBOSE_ERROR=y CONFIG_ATA_ACPI=y CONFIG_SATA_PMP=y # # Controllers with non-SFF native interface # CONFIG_SATA_AHCI=y CONFIG_SATA_AHCI_PLATFORM=m CONFIG_SATA_INIC162X=m CONFIG_SATA_SIL24=m CONFIG_ATA_SFF=y # # SFF controllers with custom DMA interface # CONFIG_PDC_ADMA=m CONFIG_SATA_QSTOR=m CONFIG_SATA_SX4=m CONFIG_ATA_BMDMA=y # # SATA SFF controllers with BMDMA # CONFIG_ATA_PIIX=m CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PROMISE=m CONFIG_SATA_SIL=m CONFIG_SATA_SIS=m CONFIG_SATA_SVW=m CONFIG_SATA_ULI=m CONFIG_SATA_VIA=m CONFIG_SATA_VITESSE=m # # PATA SFF controllers with BMDMA # CONFIG_PATA_ALI=m CONFIG_PATA_AMD=m CONFIG_PATA_ARTOP=m CONFIG_PATA_ATIIXP=m CONFIG_PATA_ATP867X=m CONFIG_PATA_CMD64X=m CONFIG_PATA_CS5520=m CONFIG_PATA_CS5530=m CONFIG_PATA_CYPRESS=m CONFIG_PATA_EFAR=m CONFIG_PATA_HPT366=m CONFIG_PATA_HPT37X=m CONFIG_PATA_HPT3X2N=m CONFIG_PATA_HPT3X3=m CONFIG_PATA_HPT3X3_DMA=y CONFIG_PATA_IT8213=m CONFIG_PATA_IT821X=m CONFIG_PATA_JMICRON=m CONFIG_PATA_MARVELL=m CONFIG_PATA_NETCELL=m CONFIG_PATA_NINJA32=m CONFIG_PATA_NS87415=m CONFIG_PATA_OLDPIIX=m CONFIG_PATA_OPTIDMA=m CONFIG_PATA_PDC2027X=m CONFIG_PATA_PDC_OLD=m CONFIG_PATA_RADISYS=m CONFIG_PATA_RDC=m CONFIG_PATA_SC1200=m CONFIG_PATA_SCH=m CONFIG_PATA_SERVERWORKS=m CONFIG_PATA_SIL680=m CONFIG_PATA_SIS=m CONFIG_PATA_TOSHIBA=m CONFIG_PATA_TRIFLEX=m CONFIG_PATA_VIA=m CONFIG_PATA_WINBOND=m # # PIO-only SFF controllers # CONFIG_PATA_CMD640_PCI=m CONFIG_PATA_MPIIX=m CONFIG_PATA_NS87410=m CONFIG_PATA_OPTI=m CONFIG_PATA_PCMCIA=m CONFIG_PATA_PLATFORM=m CONFIG_PATA_RZ1000=m # # Generic fallback / legacy drivers # CONFIG_PATA_ACPI=m CONFIG_ATA_GENERIC=m CONFIG_PATA_LEGACY=m CONFIG_MD=y CONFIG_BLK_DEV_MD=m CONFIG_MD_LINEAR=m CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m CONFIG_MD_RAID10=m CONFIG_MD_RAID456=m CONFIG_MULTICORE_RAID456=y CONFIG_MD_MULTIPATH=m CONFIG_MD_FAULTY=m CONFIG_BLK_DEV_DM=m CONFIG_DM_DEBUG=y CONFIG_DM_CRYPT=m CONFIG_DM_SNAPSHOT=m CONFIG_DM_MIRROR=m CONFIG_DM_LOG_USERSPACE=m CONFIG_DM_ZERO=m CONFIG_DM_MULTIPATH=m CONFIG_DM_MULTIPATH_QL=m CONFIG_DM_MULTIPATH_ST=m CONFIG_DM_DELAY=m CONFIG_DM_UEVENT=y CONFIG_FUSION=y CONFIG_FUSION_SPI=m CONFIG_FUSION_FC=m CONFIG_FUSION_SAS=m CONFIG_FUSION_MAX_SGE=128 CONFIG_FUSION_CTL=m CONFIG_FUSION_LAN=m CONFIG_FUSION_LOGGING=y # # IEEE 1394 (FireWire) support # CONFIG_FIREWIRE=m CONFIG_FIREWIRE_OHCI=m CONFIG_FIREWIRE_OHCI_DEBUG=y CONFIG_FIREWIRE_SBP2=m CONFIG_FIREWIRE_NET=m CONFIG_FIREWIRE_NOSY=m CONFIG_I2O=m CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=y CONFIG_I2O_EXT_ADAPTEC=y CONFIG_I2O_EXT_ADAPTEC_DMA64=y CONFIG_I2O_CONFIG=m CONFIG_I2O_CONFIG_OLD_IOCTL=y CONFIG_I2O_BUS=m CONFIG_I2O_BLOCK=m CONFIG_I2O_SCSI=m CONFIG_I2O_PROC=m CONFIG_MACINTOSH_DRIVERS=y CONFIG_MAC_EMUMOUSEBTN=m CONFIG_NETDEVICES=y CONFIG_IFB=m CONFIG_DUMMY=m CONFIG_BONDING=m CONFIG_MACVLAN=m CONFIG_MACVTAP=m CONFIG_EQUALIZER=m CONFIG_TUN=m CONFIG_VETH=m CONFIG_NET_SB1000=m CONFIG_ARCNET=m CONFIG_ARCNET_1201=m CONFIG_ARCNET_1051=m CONFIG_ARCNET_RAW=m CONFIG_ARCNET_CAP=m CONFIG_ARCNET_COM90xx=m CONFIG_ARCNET_COM90xxIO=m CONFIG_ARCNET_RIM_I=m CONFIG_ARCNET_COM20020=m CONFIG_ARCNET_COM20020_PCI=m CONFIG_MII=m CONFIG_PHYLIB=y # # MII PHY device drivers # CONFIG_MARVELL_PHY=m CONFIG_DAVICOM_PHY=m CONFIG_QSEMI_PHY=m CONFIG_LXT_PHY=m CONFIG_CICADA_PHY=m CONFIG_VITESSE_PHY=m CONFIG_SMSC_PHY=m CONFIG_BROADCOM_PHY=m CONFIG_BCM63XX_PHY=m CONFIG_ICPLUS_PHY=m CONFIG_REALTEK_PHY=m CONFIG_NATIONAL_PHY=m CONFIG_STE10XP=m CONFIG_LSI_ET1011C_PHY=m CONFIG_MICREL_PHY=m CONFIG_FIXED_PHY=y CONFIG_MDIO_BITBANG=m CONFIG_MDIO_GPIO=m CONFIG_NET_ETHERNET=y CONFIG_HAPPYMEAL=m CONFIG_SUNGEM=m CONFIG_CASSINI=m CONFIG_NET_VENDOR_3COM=y CONFIG_VORTEX=m CONFIG_TYPHOON=m CONFIG_ENC28J60=m CONFIG_ENC28J60_WRITEVERIFY=y CONFIG_ETHOC=m CONFIG_DNET=m CONFIG_NET_TULIP=y CONFIG_DE2104X=m CONFIG_DE2104X_DSL=0 CONFIG_TULIP=m CONFIG_TULIP_MWI=y CONFIG_TULIP_MMIO=y CONFIG_TULIP_NAPI=y CONFIG_TULIP_NAPI_HW_MITIGATION=y CONFIG_DE4X5=m CONFIG_WINBOND_840=m CONFIG_DM9102=m CONFIG_ULI526X=m CONFIG_PCMCIA_XIRCOM=m CONFIG_HP100=m # CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IBM_NEW_EMAC_RGMII is not set # CONFIG_IBM_NEW_EMAC_TAH is not set # CONFIG_IBM_NEW_EMAC_EMAC4 is not set # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set CONFIG_NET_PCI=y CONFIG_PCNET32=m CONFIG_AMD8111_ETH=m CONFIG_ADAPTEC_STARFIRE=m CONFIG_KSZ884X_PCI=m CONFIG_B44=m CONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=y CONFIG_FORCEDETH=m CONFIG_E100=m CONFIG_FEALNX=m CONFIG_NATSEMI=m CONFIG_NE2K_PCI=m CONFIG_8139CP=m CONFIG_8139TOO=m CONFIG_8139TOO_PIO=y CONFIG_8139TOO_TUNE_TWISTER=y CONFIG_8139TOO_8129=y CONFIG_8139_OLD_RX_RESET=y CONFIG_R6040=m CONFIG_SIS900=m CONFIG_EPIC100=m CONFIG_SMSC9420=m CONFIG_SUNDANCE=m CONFIG_SUNDANCE_MMIO=y CONFIG_TLAN=m CONFIG_KS8842=m CONFIG_KS8851=m CONFIG_KS8851_MLL=m CONFIG_VIA_RHINE=m CONFIG_VIA_RHINE_MMIO=y CONFIG_SC92031=m CONFIG_NET_POCKET=y CONFIG_ATP=m CONFIG_DE600=m CONFIG_DE620=m CONFIG_ATL2=m CONFIG_NETDEV_1000=y CONFIG_ACENIC=m CONFIG_ACENIC_OMIT_TIGON_I=y CONFIG_DL2K=m CONFIG_E1000=m CONFIG_E1000E=m CONFIG_IP1000=m CONFIG_IGB=m CONFIG_IGB_DCA=y CONFIG_IGBVF=m CONFIG_NS83820=m CONFIG_HAMACHI=m CONFIG_YELLOWFIN=m CONFIG_R8169=m CONFIG_R8169_VLAN=y CONFIG_SIS190=m CONFIG_SKGE=m CONFIG_SKGE_DEBUG=y CONFIG_SKY2=m CONFIG_SKY2_DEBUG=y CONFIG_VIA_VELOCITY=m CONFIG_TIGON3=m CONFIG_BNX2=m CONFIG_CNIC=m CONFIG_QLA3XXX=m CONFIG_ATL1=m CONFIG_ATL1E=m CONFIG_ATL1C=m CONFIG_JME=m CONFIG_STMMAC_ETH=m CONFIG_STMMAC_DA=y CONFIG_STMMAC_DUAL_MAC=y CONFIG_PCH_GBE=m CONFIG_NETDEV_10000=y CONFIG_MDIO=m CONFIG_CHELSIO_T1=m CONFIG_CHELSIO_T1_1G=y CONFIG_CHELSIO_T3_DEPENDS=y CONFIG_CHELSIO_T3=m CONFIG_CHELSIO_T4_DEPENDS=y CONFIG_CHELSIO_T4=m CONFIG_CHELSIO_T4VF_DEPENDS=y CONFIG_CHELSIO_T4VF=m CONFIG_ENIC=m CONFIG_IXGBE=m CONFIG_IXGBE_DCA=y CONFIG_IXGBE_DCB=y CONFIG_IXGBEVF=m CONFIG_IXGB=m CONFIG_S2IO=m CONFIG_VXGE=m CONFIG_VXGE_DEBUG_TRACE_ALL=y CONFIG_MYRI10GE=m CONFIG_MYRI10GE_DCA=y CONFIG_NETXEN_NIC=m CONFIG_NIU=m CONFIG_MLX4_EN=m CONFIG_MLX4_CORE=m CONFIG_MLX4_DEBUG=y CONFIG_TEHUTI=m CONFIG_BNX2X=m CONFIG_QLCNIC=m CONFIG_QLGE=m CONFIG_BNA=m CONFIG_SFC=m CONFIG_SFC_MTD=y CONFIG_BE2NET=m CONFIG_TR=m CONFIG_IBMOL=m CONFIG_3C359=m CONFIG_TMS380TR=m CONFIG_TMSPCI=m CONFIG_ABYSS=m CONFIG_WLAN=y CONFIG_PCMCIA_RAYCS=m CONFIG_LIBERTAS_THINFIRM=m CONFIG_LIBERTAS_THINFIRM_DEBUG=y CONFIG_LIBERTAS_THINFIRM_USB=m CONFIG_AIRO=m CONFIG_ATMEL=m CONFIG_PCI_ATMEL=m CONFIG_PCMCIA_ATMEL=m CONFIG_AT76C50X_USB=m CONFIG_AIRO_CS=m CONFIG_PCMCIA_WL3501=m CONFIG_PRISM54=m CONFIG_USB_ZD1201=m CONFIG_USB_NET_RNDIS_WLAN=m CONFIG_RTL8180=m CONFIG_RTL8187=m CONFIG_RTL8187_LEDS=y CONFIG_ADM8211=m CONFIG_MAC80211_HWSIM=m CONFIG_MWL8K=m CONFIG_ATH_COMMON=m CONFIG_ATH_DEBUG=y CONFIG_ATH5K=m CONFIG_ATH5K_DEBUG=y CONFIG_ATH9K_HW=m CONFIG_ATH9K_COMMON=m CONFIG_ATH9K=m CONFIG_ATH9K_DEBUGFS=y CONFIG_ATH9K_RATE_CONTROL=y CONFIG_ATH9K_HTC=m CONFIG_ATH9K_HTC_DEBUGFS=y CONFIG_AR9170_USB=m CONFIG_AR9170_LEDS=y CONFIG_CARL9170=m CONFIG_CARL9170_LEDS=y CONFIG_CARL9170_DEBUGFS=y CONFIG_CARL9170_WPC=y CONFIG_B43=m CONFIG_B43_PCI_AUTOSELECT=y CONFIG_B43_PCICORE_AUTOSELECT=y CONFIG_B43_PCMCIA=y CONFIG_B43_SDIO=y CONFIG_B43_PIO=y CONFIG_B43_PHY_LP=y CONFIG_B43_LEDS=y CONFIG_B43_HWRNG=y CONFIG_B43_DEBUG=y CONFIG_B43_FORCE_PIO=y CONFIG_B43LEGACY=m CONFIG_B43LEGACY_PCI_AUTOSELECT=y CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y CONFIG_B43LEGACY_LEDS=y CONFIG_B43LEGACY_HWRNG=y CONFIG_B43LEGACY_DEBUG=y CONFIG_B43LEGACY_DMA=y CONFIG_B43LEGACY_PIO=y CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y # CONFIG_B43LEGACY_DMA_MODE is not set # CONFIG_B43LEGACY_PIO_MODE is not set CONFIG_HOSTAP=m CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y CONFIG_HOSTAP_PLX=m CONFIG_HOSTAP_PCI=m CONFIG_HOSTAP_CS=m CONFIG_IPW2100=m CONFIG_IPW2100_MONITOR=y CONFIG_IPW2100_DEBUG=y CONFIG_IPW2200=m CONFIG_IPW2200_MONITOR=y CONFIG_IPW2200_RADIOTAP=y CONFIG_IPW2200_PROMISCUOUS=y CONFIG_IPW2200_QOS=y CONFIG_IPW2200_DEBUG=y CONFIG_LIBIPW=m CONFIG_LIBIPW_DEBUG=y CONFIG_IWLWIFI=m # # Debugging Options # CONFIG_IWLWIFI_DEBUG=y CONFIG_IWLWIFI_DEBUGFS=y CONFIG_IWLWIFI_DEBUG_EXPERIMENTAL_UCODE=y CONFIG_IWLWIFI_DEVICE_TRACING=y CONFIG_IWLAGN=m CONFIG_IWL4965=y CONFIG_IWL5000=y CONFIG_IWL3945=m CONFIG_IWM=m CONFIG_IWM_DEBUG=y CONFIG_IWM_TRACING=y CONFIG_LIBERTAS=m CONFIG_LIBERTAS_USB=m CONFIG_LIBERTAS_CS=m CONFIG_LIBERTAS_SDIO=m CONFIG_LIBERTAS_SPI=m CONFIG_LIBERTAS_DEBUG=y CONFIG_LIBERTAS_MESH=y CONFIG_HERMES=m CONFIG_HERMES_PRISM=y CONFIG_HERMES_CACHE_FW_ON_INIT=y CONFIG_PLX_HERMES=m CONFIG_TMD_HERMES=m CONFIG_NORTEL_HERMES=m CONFIG_PCI_HERMES=m CONFIG_PCMCIA_HERMES=m CONFIG_PCMCIA_SPECTRUM=m CONFIG_ORINOCO_USB=m CONFIG_P54_COMMON=m CONFIG_P54_USB=m CONFIG_P54_PCI=m CONFIG_P54_SPI=m CONFIG_P54_SPI_DEFAULT_EEPROM=y CONFIG_P54_LEDS=y CONFIG_RT2X00=m CONFIG_RT2400PCI=m CONFIG_RT2500PCI=m CONFIG_RT61PCI=m CONFIG_RT2800PCI_PCI=y CONFIG_RT2800PCI=m CONFIG_RT2800PCI_RT30XX=y CONFIG_RT2800PCI_RT35XX=y CONFIG_RT2500USB=m CONFIG_RT73USB=m CONFIG_RT2800USB=m CONFIG_RT2800USB_RT30XX=y CONFIG_RT2800USB_RT35XX=y CONFIG_RT2800USB_UNKNOWN=y CONFIG_RT2800_LIB=m CONFIG_RT2X00_LIB_PCI=m CONFIG_RT2X00_LIB_USB=m CONFIG_RT2X00_LIB=m CONFIG_RT2X00_LIB_HT=y CONFIG_RT2X00_LIB_FIRMWARE=y CONFIG_RT2X00_LIB_CRYPTO=y CONFIG_RT2X00_LIB_LEDS=y CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RT2X00_DEBUG=y CONFIG_WL1251=m CONFIG_WL1251_SPI=m CONFIG_WL1251_SDIO=m CONFIG_WL12XX=m CONFIG_WL1271=m CONFIG_WL1271_SPI=m CONFIG_WL1271_SDIO=m CONFIG_WL12XX_PLATFORM_DATA=y CONFIG_ZD1211RW=m CONFIG_ZD1211RW_DEBUG=y # # WiMAX Wireless Broadband devices # CONFIG_WIMAX_I2400M=m CONFIG_WIMAX_I2400M_USB=m CONFIG_WIMAX_I2400M_SDIO=m CONFIG_WIMAX_IWMC3200_SDIO=y CONFIG_WIMAX_I2400M_DEBUG_LEVEL=8 # # USB Network Adapters # CONFIG_USB_CATC=m CONFIG_USB_KAWETH=m CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_USBNET=m CONFIG_USB_NET_AX8817X=m CONFIG_USB_NET_CDCETHER=m CONFIG_USB_NET_CDC_EEM=m CONFIG_USB_NET_DM9601=m CONFIG_USB_NET_SMSC75XX=m CONFIG_USB_NET_SMSC95XX=m CONFIG_USB_NET_GL620A=m CONFIG_USB_NET_NET1080=m CONFIG_USB_NET_PLUSB=m CONFIG_USB_NET_MCS7830=m CONFIG_USB_NET_RNDIS_HOST=m CONFIG_USB_NET_CDC_SUBSET=m CONFIG_USB_ALI_M5632=y CONFIG_USB_AN2720=y CONFIG_USB_BELKIN=y CONFIG_USB_ARMLINUX=y CONFIG_USB_EPSON2888=y CONFIG_USB_KC2190=y CONFIG_USB_NET_ZAURUS=m CONFIG_USB_NET_CX82310_ETH=m CONFIG_USB_HSO=m CONFIG_USB_NET_INT51X1=m CONFIG_USB_CDC_PHONET=m CONFIG_USB_IPHETH=m CONFIG_USB_SIERRA_NET=m CONFIG_NET_PCMCIA=y CONFIG_PCMCIA_3C589=m CONFIG_PCMCIA_3C574=m CONFIG_PCMCIA_FMVJ18X=m CONFIG_PCMCIA_PCNET=m CONFIG_PCMCIA_NMCLAN=m CONFIG_PCMCIA_SMC91C92=m CONFIG_PCMCIA_XIRC2PS=m CONFIG_PCMCIA_AXNET=m CONFIG_ARCNET_COM20020_CS=m CONFIG_PCMCIA_IBMTR=m CONFIG_WAN=y CONFIG_LANMEDIA=m CONFIG_HDLC=m CONFIG_HDLC_RAW=m CONFIG_HDLC_RAW_ETH=m CONFIG_HDLC_CISCO=m CONFIG_HDLC_FR=m CONFIG_HDLC_PPP=m CONFIG_HDLC_X25=m CONFIG_PCI200SYN=m CONFIG_WANXL=m CONFIG_PC300TOO=m CONFIG_FARSYNC=m CONFIG_DSCC4=m CONFIG_DSCC4_PCISYNC=y CONFIG_DSCC4_PCI_RST=y CONFIG_DLCI=m CONFIG_DLCI_MAX=8 CONFIG_WAN_ROUTER_DRIVERS=m CONFIG_CYCLADES_SYNC=m CONFIG_CYCLOMX_X25=y CONFIG_LAPBETHER=m CONFIG_X25_ASY=m CONFIG_SBNI=m CONFIG_SBNI_MULTILINE=y CONFIG_ATM_DRIVERS=y CONFIG_ATM_DUMMY=m CONFIG_ATM_TCP=m CONFIG_ATM_LANAI=m CONFIG_ATM_ENI=m CONFIG_ATM_ENI_DEBUG=y CONFIG_ATM_ENI_TUNE_BURST=y CONFIG_ATM_ENI_BURST_TX_16W=y CONFIG_ATM_ENI_BURST_TX_8W=y CONFIG_ATM_ENI_BURST_TX_4W=y CONFIG_ATM_ENI_BURST_TX_2W=y CONFIG_ATM_ENI_BURST_RX_16W=y CONFIG_ATM_ENI_BURST_RX_8W=y CONFIG_ATM_ENI_BURST_RX_4W=y CONFIG_ATM_ENI_BURST_RX_2W=y CONFIG_ATM_FIRESTREAM=m CONFIG_ATM_ZATM=m CONFIG_ATM_ZATM_DEBUG=y CONFIG_ATM_NICSTAR=m CONFIG_ATM_NICSTAR_USE_SUNI=y CONFIG_ATM_NICSTAR_USE_IDT77105=y CONFIG_ATM_IDT77252=m CONFIG_ATM_IDT77252_DEBUG=y CONFIG_ATM_IDT77252_RCV_ALL=y CONFIG_ATM_IDT77252_USE_SUNI=y CONFIG_ATM_AMBASSADOR=m CONFIG_ATM_AMBASSADOR_DEBUG=y CONFIG_ATM_HORIZON=m CONFIG_ATM_HORIZON_DEBUG=y CONFIG_ATM_IA=m CONFIG_ATM_IA_DEBUG=y CONFIG_ATM_FORE200E=m CONFIG_ATM_FORE200E_USE_TASKLET=y CONFIG_ATM_FORE200E_TX_RETRY=16 CONFIG_ATM_FORE200E_DEBUG=0 CONFIG_ATM_HE=m CONFIG_ATM_HE_USE_SUNI=y CONFIG_ATM_SOLOS=m CONFIG_IEEE802154_DRIVERS=m CONFIG_IEEE802154_FAKEHARD=m # # CAIF transport drivers # CONFIG_CAIF_TTY=m CONFIG_CAIF_SPI_SLAVE=m CONFIG_CAIF_SPI_SYNC=y CONFIG_XEN_NETDEV_FRONTEND=m CONFIG_FDDI=m CONFIG_DEFXX=m CONFIG_DEFXX_MMIO=y CONFIG_SKFP=m CONFIG_HIPPI=y CONFIG_ROADRUNNER=m CONFIG_ROADRUNNER_LARGE_RINGS=y CONFIG_PLIP=m CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE=m CONFIG_PPPOE=m CONFIG_PPTP=m CONFIG_PPPOATM=m CONFIG_PPPOL2TP=m CONFIG_SLIP=m CONFIG_SLIP_COMPRESSED=y CONFIG_SLHC=m CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y CONFIG_NET_FC=y CONFIG_NETCONSOLE=m CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_NETPOLL=y CONFIG_NETPOLL_TRAP=y CONFIG_NET_POLL_CONTROLLER=y CONFIG_VIRTIO_NET=m CONFIG_VMXNET3=m CONFIG_ISDN=y CONFIG_ISDN_I4L=m CONFIG_ISDN_PPP=y CONFIG_ISDN_PPP_VJ=y CONFIG_ISDN_MPP=y CONFIG_IPPP_FILTER=y CONFIG_ISDN_PPP_BSDCOMP=m CONFIG_ISDN_AUDIO=y CONFIG_ISDN_TTY_FAX=y CONFIG_ISDN_X25=y # # ISDN feature submodules # CONFIG_ISDN_DIVERSION=m # # ISDN4Linux hardware drivers # # # Passive cards # CONFIG_ISDN_DRV_HISAX=m # # D-channel protocol features # CONFIG_HISAX_EURO=y CONFIG_DE_AOC=y CONFIG_HISAX_NO_SENDCOMPLETE=y CONFIG_HISAX_NO_LLC=y CONFIG_HISAX_NO_KEYPAD=y CONFIG_HISAX_1TR6=y CONFIG_HISAX_NI1=y CONFIG_HISAX_MAX_CARDS=8 # # HiSax supported cards # CONFIG_HISAX_16_3=y CONFIG_HISAX_TELESPCI=y CONFIG_HISAX_S0BOX=y CONFIG_HISAX_FRITZPCI=y CONFIG_HISAX_AVM_A1_PCMCIA=y CONFIG_HISAX_ELSA=y CONFIG_HISAX_DIEHLDIVA=y CONFIG_HISAX_SEDLBAUER=y CONFIG_HISAX_NETJET=y CONFIG_HISAX_NETJET_U=y CONFIG_HISAX_NICCY=y CONFIG_HISAX_BKM_A4T=y CONFIG_HISAX_SCT_QUADRO=y CONFIG_HISAX_GAZEL=y CONFIG_HISAX_HFC_PCI=y CONFIG_HISAX_W6692=y CONFIG_HISAX_HFC_SX=y CONFIG_HISAX_ENTERNOW_PCI=y CONFIG_HISAX_DEBUG=y # # HiSax PCMCIA card service modules # CONFIG_HISAX_SEDLBAUER_CS=m CONFIG_HISAX_ELSA_CS=m CONFIG_HISAX_AVM_A1_CS=m CONFIG_HISAX_TELES_CS=m # # HiSax sub driver modules # CONFIG_HISAX_ST5481=m CONFIG_HISAX_HFCUSB=m CONFIG_HISAX_HFC4S8S=m CONFIG_HISAX_FRITZ_PCIPNP=m # # Active cards # CONFIG_ISDN_CAPI=m CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y CONFIG_CAPI_TRACE=y CONFIG_ISDN_CAPI_MIDDLEWARE=y CONFIG_ISDN_CAPI_CAPI20=m CONFIG_ISDN_CAPI_CAPIFS_BOOL=y CONFIG_ISDN_CAPI_CAPIFS=m CONFIG_ISDN_CAPI_CAPIDRV=m # # CAPI hardware drivers # CONFIG_CAPI_AVM=y CONFIG_ISDN_DRV_AVMB1_B1PCI=m CONFIG_ISDN_DRV_AVMB1_B1PCIV4=y CONFIG_ISDN_DRV_AVMB1_B1PCMCIA=m CONFIG_ISDN_DRV_AVMB1_AVM_CS=m CONFIG_ISDN_DRV_AVMB1_T1PCI=m CONFIG_ISDN_DRV_AVMB1_C4=m CONFIG_CAPI_EICON=y CONFIG_ISDN_DIVAS=m CONFIG_ISDN_DIVAS_BRIPCI=y CONFIG_ISDN_DIVAS_PRIPCI=y CONFIG_ISDN_DIVAS_DIVACAPI=m CONFIG_ISDN_DIVAS_USERIDI=m CONFIG_ISDN_DIVAS_MAINT=m CONFIG_ISDN_DRV_GIGASET=m CONFIG_GIGASET_CAPI=y # CONFIG_GIGASET_I4L is not set # CONFIG_GIGASET_DUMMYLL is not set CONFIG_GIGASET_BASE=m CONFIG_GIGASET_M105=m CONFIG_GIGASET_M101=m CONFIG_GIGASET_DEBUG=y CONFIG_HYSDN=m CONFIG_HYSDN_CAPI=y CONFIG_MISDN=m CONFIG_MISDN_DSP=m CONFIG_MISDN_L1OIP=m # # mISDN hardware drivers # CONFIG_MISDN_HFCPCI=m CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_AVMFRITZ=m CONFIG_MISDN_SPEEDFAX=m CONFIG_MISDN_INFINEON=m CONFIG_MISDN_W6692=m CONFIG_MISDN_NETJET=m CONFIG_MISDN_IPAC=m CONFIG_MISDN_ISAR=m CONFIG_ISDN_HDLC=m CONFIG_PHONE=m CONFIG_PHONE_IXJ=m CONFIG_PHONE_IXJ_PCMCIA=m # # Input device support # CONFIG_INPUT=y CONFIG_INPUT_FF_MEMLESS=m CONFIG_INPUT_POLLDEV=m CONFIG_INPUT_SPARSEKMAP=m # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=m CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_JOYDEV=m CONFIG_INPUT_EVDEV=m # CONFIG_INPUT_EVBUG is not set CONFIG_XEN_KBDDEV_FRONTEND=m # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ADP5588=m CONFIG_KEYBOARD_ATKBD=m CONFIG_KEYBOARD_QT2160=m CONFIG_KEYBOARD_LKKBD=m CONFIG_KEYBOARD_GPIO=m CONFIG_KEYBOARD_TCA6416=m CONFIG_KEYBOARD_MATRIX=m CONFIG_KEYBOARD_LM8323=m CONFIG_KEYBOARD_MAX7359=m CONFIG_KEYBOARD_MCS=m CONFIG_KEYBOARD_NEWTON=m CONFIG_KEYBOARD_OPENCORES=m CONFIG_KEYBOARD_STOWAWAY=m CONFIG_KEYBOARD_SUNKBD=m CONFIG_KEYBOARD_XTKBD=m CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=m CONFIG_MOUSE_PS2_ALPS=y CONFIG_MOUSE_PS2_LOGIPS2PP=y CONFIG_MOUSE_PS2_SYNAPTICS=y CONFIG_MOUSE_PS2_LIFEBOOK=y CONFIG_MOUSE_PS2_TRACKPOINT=y CONFIG_MOUSE_PS2_ELANTECH=y CONFIG_MOUSE_PS2_SENTELIC=y CONFIG_MOUSE_PS2_TOUCHKIT=y CONFIG_MOUSE_SERIAL=m CONFIG_MOUSE_APPLETOUCH=m CONFIG_MOUSE_BCM5974=m CONFIG_MOUSE_VSXXXAA=m CONFIG_MOUSE_GPIO=m CONFIG_MOUSE_SYNAPTICS_I2C=m CONFIG_INPUT_JOYSTICK=y CONFIG_JOYSTICK_ANALOG=m CONFIG_JOYSTICK_A3D=m CONFIG_JOYSTICK_ADI=m CONFIG_JOYSTICK_COBRA=m CONFIG_JOYSTICK_GF2K=m CONFIG_JOYSTICK_GRIP=m CONFIG_JOYSTICK_GRIP_MP=m CONFIG_JOYSTICK_GUILLEMOT=m CONFIG_JOYSTICK_INTERACT=m CONFIG_JOYSTICK_SIDEWINDER=m CONFIG_JOYSTICK_TMDC=m CONFIG_JOYSTICK_IFORCE=m CONFIG_JOYSTICK_IFORCE_USB=y CONFIG_JOYSTICK_IFORCE_232=y CONFIG_JOYSTICK_WARRIOR=m CONFIG_JOYSTICK_MAGELLAN=m CONFIG_JOYSTICK_SPACEORB=m CONFIG_JOYSTICK_SPACEBALL=m CONFIG_JOYSTICK_STINGER=m CONFIG_JOYSTICK_TWIDJOY=m CONFIG_JOYSTICK_ZHENHUA=m CONFIG_JOYSTICK_DB9=m CONFIG_JOYSTICK_GAMECON=m CONFIG_JOYSTICK_TURBOGRAFX=m CONFIG_JOYSTICK_JOYDUMP=m CONFIG_JOYSTICK_XPAD=m CONFIG_JOYSTICK_XPAD_FF=y CONFIG_JOYSTICK_XPAD_LEDS=y CONFIG_JOYSTICK_WALKERA0701=m CONFIG_INPUT_TABLET=y CONFIG_TABLET_USB_ACECAD=m CONFIG_TABLET_USB_AIPTEK=m CONFIG_TABLET_USB_GTCO=m CONFIG_TABLET_USB_HANWANG=m CONFIG_TABLET_USB_KBTAB=m CONFIG_TABLET_USB_WACOM=m CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ADS7846=m CONFIG_TOUCHSCREEN_AD7877=m CONFIG_TOUCHSCREEN_AD7879=m CONFIG_TOUCHSCREEN_AD7879_I2C=m CONFIG_TOUCHSCREEN_AD7879_SPI=m CONFIG_TOUCHSCREEN_BU21013=m CONFIG_TOUCHSCREEN_CY8CTMG110=m CONFIG_TOUCHSCREEN_DYNAPRO=m CONFIG_TOUCHSCREEN_HAMPSHIRE=m CONFIG_TOUCHSCREEN_EETI=m CONFIG_TOUCHSCREEN_FUJITSU=m CONFIG_TOUCHSCREEN_GUNZE=m CONFIG_TOUCHSCREEN_ELO=m CONFIG_TOUCHSCREEN_WACOM_W8001=m CONFIG_TOUCHSCREEN_MCS5000=m CONFIG_TOUCHSCREEN_MTOUCH=m CONFIG_TOUCHSCREEN_INEXIO=m CONFIG_TOUCHSCREEN_MK712=m CONFIG_TOUCHSCREEN_PENMOUNT=m CONFIG_TOUCHSCREEN_QT602240=m CONFIG_TOUCHSCREEN_TOUCHRIGHT=m CONFIG_TOUCHSCREEN_TOUCHWIN=m CONFIG_TOUCHSCREEN_UCB1400=m CONFIG_TOUCHSCREEN_WM97XX=m CONFIG_TOUCHSCREEN_WM9705=y CONFIG_TOUCHSCREEN_WM9712=y CONFIG_TOUCHSCREEN_WM9713=y CONFIG_TOUCHSCREEN_USB_COMPOSITE=m CONFIG_TOUCHSCREEN_MC13783=m CONFIG_TOUCHSCREEN_USB_EGALAX=y CONFIG_TOUCHSCREEN_USB_PANJIT=y CONFIG_TOUCHSCREEN_USB_3M=y CONFIG_TOUCHSCREEN_USB_ITM=y CONFIG_TOUCHSCREEN_USB_ETURBO=y CONFIG_TOUCHSCREEN_USB_GUNZE=y CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y CONFIG_TOUCHSCREEN_USB_IRTOUCH=y CONFIG_TOUCHSCREEN_USB_IDEALTEK=y CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y CONFIG_TOUCHSCREEN_USB_GOTOP=y CONFIG_TOUCHSCREEN_USB_JASTEC=y CONFIG_TOUCHSCREEN_USB_E2I=y CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y CONFIG_TOUCHSCREEN_USB_NEXIO=y CONFIG_TOUCHSCREEN_TOUCHIT213=m CONFIG_TOUCHSCREEN_TSC2007=m CONFIG_TOUCHSCREEN_PCAP=m CONFIG_TOUCHSCREEN_TPS6507X=m CONFIG_INPUT_MISC=y CONFIG_INPUT_AD714X=m CONFIG_INPUT_AD714X_I2C=m CONFIG_INPUT_AD714X_SPI=m CONFIG_INPUT_PCSPKR=m CONFIG_INPUT_APANEL=m CONFIG_INPUT_ATLAS_BTNS=m CONFIG_INPUT_ATI_REMOTE=m CONFIG_INPUT_ATI_REMOTE2=m CONFIG_INPUT_KEYSPAN_REMOTE=m CONFIG_INPUT_POWERMATE=m CONFIG_INPUT_YEALINK=m CONFIG_INPUT_CM109=m CONFIG_INPUT_UINPUT=m CONFIG_INPUT_WINBOND_CIR=m CONFIG_INPUT_PCF50633_PMU=m CONFIG_INPUT_PCF8574=m CONFIG_INPUT_GPIO_ROTARY_ENCODER=m CONFIG_INPUT_WM831X_ON=m CONFIG_INPUT_PCAP=m CONFIG_INPUT_ADXL34X=m CONFIG_INPUT_ADXL34X_I2C=m CONFIG_INPUT_ADXL34X_SPI=m # # Hardware I/O ports # CONFIG_SERIO=m CONFIG_SERIO_I8042=m CONFIG_SERIO_SERPORT=m CONFIG_SERIO_CT82C710=m CONFIG_SERIO_PARKBD=m CONFIG_SERIO_PCIPS2=m CONFIG_SERIO_LIBPS2=m CONFIG_SERIO_RAW=m CONFIG_SERIO_ALTERA_PS2=m CONFIG_SERIO_PS2MULT=m CONFIG_GAMEPORT=m CONFIG_GAMEPORT_NS558=m CONFIG_GAMEPORT_L4=m CONFIG_GAMEPORT_EMU10K1=m CONFIG_GAMEPORT_FM801=m # # Character devices # CONFIG_VT=y CONFIG_CONSOLE_TRANSLATIONS=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y CONFIG_DEVKMEM=y CONFIG_SERIAL_NONSTANDARD=y CONFIG_COMPUTONE=m CONFIG_ROCKETPORT=m CONFIG_CYCLADES=m CONFIG_CYZ_INTR=y CONFIG_DIGIEPCA=m CONFIG_MOXA_INTELLIO=m CONFIG_MOXA_SMARTIO=m CONFIG_ISI=m CONFIG_SYNCLINK=m CONFIG_SYNCLINKMP=m CONFIG_SYNCLINK_GT=m CONFIG_N_HDLC=m CONFIG_N_GSM=m CONFIG_RISCOM8=m CONFIG_SPECIALIX=m CONFIG_STALDRV=y CONFIG_STALLION=m CONFIG_ISTALLION=m CONFIG_NOZOMI=m # # Serial drivers # CONFIG_SERIAL_8250=m CONFIG_FIX_EARLYCON_MEM=y CONFIG_SERIAL_8250_PCI=m CONFIG_SERIAL_8250_PNP=m CONFIG_SERIAL_8250_CS=m CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y # # Non-8250 serial port support # CONFIG_SERIAL_MAX3100=m CONFIG_SERIAL_MAX3107=m CONFIG_SERIAL_MRST_MAX3110=m CONFIG_SERIAL_MFD_HSU=m CONFIG_SERIAL_UARTLITE=m CONFIG_SERIAL_CORE=m CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_CONSOLE_POLL=y CONFIG_SERIAL_JSM=m CONFIG_SERIAL_TIMBERDALE=m CONFIG_SERIAL_ALTERA_JTAGUART=m CONFIG_SERIAL_ALTERA_UART=m CONFIG_SERIAL_ALTERA_UART_MAXPORTS=4 CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200 CONFIG_UNIX98_PTYS=y CONFIG_DEVPTS_MULTIPLE_INSTANCES=y CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTY_COUNT=256 CONFIG_TTY_PRINTK=y CONFIG_PRINTER=m CONFIG_LP_CONSOLE=y CONFIG_PPDEV=m CONFIG_HVC_DRIVER=y CONFIG_HVC_IRQ=y CONFIG_HVC_XEN=y CONFIG_VIRTIO_CONSOLE=m CONFIG_IPMI_HANDLER=m CONFIG_IPMI_PANIC_EVENT=y CONFIG_IPMI_PANIC_STRING=y CONFIG_IPMI_DEVICE_INTERFACE=m CONFIG_IPMI_SI=m CONFIG_IPMI_WATCHDOG=m CONFIG_IPMI_POWEROFF=m CONFIG_HW_RANDOM=m CONFIG_HW_RANDOM_TIMERIOMEM=m CONFIG_HW_RANDOM_INTEL=m CONFIG_HW_RANDOM_AMD=m CONFIG_HW_RANDOM_VIA=m CONFIG_HW_RANDOM_VIRTIO=m CONFIG_NVRAM=m CONFIG_R3964=m CONFIG_APPLICOM=m # # PCMCIA character devices # CONFIG_SYNCLINK_CS=m CONFIG_CARDMAN_4000=m CONFIG_CARDMAN_4040=m CONFIG_IPWIRELESS=m CONFIG_MWAVE=m CONFIG_RAW_DRIVER=m CONFIG_MAX_RAW_DEVS=256 CONFIG_HPET=y CONFIG_HPET_MMAP=y CONFIG_HANGCHECK_TIMER=m CONFIG_UV_MMTIMER=m CONFIG_TCG_TPM=y CONFIG_TCG_TIS=y CONFIG_TCG_NSC=m CONFIG_TCG_ATMEL=m CONFIG_TCG_INFINEON=m CONFIG_TELCLOCK=m CONFIG_DEVPORT=y CONFIG_RAMOOPS=m CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_COMPAT=y CONFIG_I2C_CHARDEV=m CONFIG_I2C_MUX=m # # Multiplexer I2C Chip support # CONFIG_I2C_MUX_PCA9541=m CONFIG_I2C_MUX_PCA954x=m CONFIG_I2C_HELPER_AUTO=y CONFIG_I2C_SMBUS=m CONFIG_I2C_ALGOBIT=y # CONFIG_I2C_ALGOPCF is not set CONFIG_I2C_ALGOPCA=m # # I2C Hardware Bus support # # # PC SMBus host controller drivers # CONFIG_I2C_ALI1535=m CONFIG_I2C_ALI1563=m CONFIG_I2C_ALI15X3=m CONFIG_I2C_AMD756=m CONFIG_I2C_AMD756_S4882=m CONFIG_I2C_AMD8111=m CONFIG_I2C_I801=m CONFIG_I2C_ISCH=m CONFIG_I2C_PIIX4=m CONFIG_I2C_NFORCE2=m CONFIG_I2C_NFORCE2_S4985=m CONFIG_I2C_SIS5595=m CONFIG_I2C_SIS630=m CONFIG_I2C_SIS96X=m CONFIG_I2C_VIA=m CONFIG_I2C_VIAPRO=m # # ACPI drivers # CONFIG_I2C_SCMI=m # # I2C system bus drivers (mostly embedded / system-on-chip) # CONFIG_I2C_GPIO=m CONFIG_I2C_INTEL_MID=m CONFIG_I2C_OCORES=m CONFIG_I2C_PCA_PLATFORM=m CONFIG_I2C_SIMTEC=m CONFIG_I2C_XILINX=m # # External I2C/SMBus adapter drivers # CONFIG_I2C_PARPORT=m CONFIG_I2C_PARPORT_LIGHT=m CONFIG_I2C_TAOS_EVM=m CONFIG_I2C_TINY_USB=m # # Other I2C/SMBus bus drivers # CONFIG_I2C_STUB=m CONFIG_I2C_DEBUG_CORE=y CONFIG_I2C_DEBUG_ALGO=y CONFIG_I2C_DEBUG_BUS=y CONFIG_SPI=y CONFIG_SPI_DEBUG=y CONFIG_SPI_MASTER=y # # SPI Master Controller Drivers # CONFIG_SPI_BITBANG=m CONFIG_SPI_BUTTERFLY=m CONFIG_SPI_GPIO=m CONFIG_SPI_LM70_LLP=m CONFIG_SPI_TOPCLIFF_PCH=m CONFIG_SPI_XILINX=m CONFIG_SPI_XILINX_PLTFM=m CONFIG_SPI_DESIGNWARE=m CONFIG_SPI_DW_PCI=m # # SPI Protocol Masters # CONFIG_SPI_SPIDEV=m CONFIG_SPI_TLE62X0=m # # PPS support # CONFIG_PPS=m CONFIG_PPS_DEBUG=y # # PPS clients support # CONFIG_PPS_CLIENT_KTIMER=m CONFIG_PPS_CLIENT_LDISC=m CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_GPIOLIB=y CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_MAX730X=m # # Memory mapped GPIO expanders: # CONFIG_GPIO_BASIC_MMIO=m CONFIG_GPIO_IT8761E=m CONFIG_GPIO_SCH=m CONFIG_GPIO_VX855=m # # I2C GPIO expanders: # CONFIG_GPIO_MAX7300=m CONFIG_GPIO_MAX732X=m CONFIG_GPIO_PCA953X=m CONFIG_GPIO_PCF857X=m # CONFIG_GPIO_SX150X is not set CONFIG_GPIO_WM831X=m CONFIG_GPIO_ADP5588=m # # PCI GPIO expanders: # CONFIG_GPIO_CS5535=m CONFIG_GPIO_LANGWELL=y CONFIG_GPIO_PCH=m CONFIG_GPIO_TIMBERDALE=y CONFIG_GPIO_RDC321X=m # # SPI GPIO expanders: # CONFIG_GPIO_MAX7301=m CONFIG_GPIO_MCP23S08=m CONFIG_GPIO_MC33880=m CONFIG_GPIO_74X164=m # # AC97 GPIO expanders: # CONFIG_GPIO_UCB1400=y # # MODULbus GPIO expanders: # CONFIG_GPIO_JANZ_TTL=m CONFIG_W1=m CONFIG_W1_CON=y # # 1-wire Bus Masters # CONFIG_W1_MASTER_MATROX=m CONFIG_W1_MASTER_DS2490=m CONFIG_W1_MASTER_DS2482=m CONFIG_W1_MASTER_GPIO=m # # 1-wire Slaves # CONFIG_W1_SLAVE_THERM=m CONFIG_W1_SLAVE_SMEM=m CONFIG_W1_SLAVE_DS2431=m CONFIG_W1_SLAVE_DS2433=m CONFIG_W1_SLAVE_DS2433_CRC=y CONFIG_W1_SLAVE_DS2760=m CONFIG_W1_SLAVE_BQ27000=m CONFIG_POWER_SUPPLY=m CONFIG_POWER_SUPPLY_DEBUG=y CONFIG_PDA_POWER=m CONFIG_WM831X_BACKUP=m CONFIG_WM831X_POWER=m CONFIG_TEST_POWER=m CONFIG_BATTERY_DS2760=m CONFIG_BATTERY_DS2782=m CONFIG_BATTERY_BQ20Z75=m CONFIG_BATTERY_BQ27x00=m CONFIG_BATTERY_MAX17040=m CONFIG_CHARGER_PCF50633=m CONFIG_CHARGER_ISP1704=m CONFIG_HWMON=m CONFIG_HWMON_VID=m CONFIG_HWMON_DEBUG_CHIP=y # # Native drivers # CONFIG_SENSORS_ABITUGURU=m CONFIG_SENSORS_ABITUGURU3=m CONFIG_SENSORS_AD7414=m CONFIG_SENSORS_AD7418=m CONFIG_SENSORS_ADCXX=m CONFIG_SENSORS_ADM1021=m CONFIG_SENSORS_ADM1025=m CONFIG_SENSORS_ADM1026=m CONFIG_SENSORS_ADM1029=m CONFIG_SENSORS_ADM1031=m CONFIG_SENSORS_ADM9240=m CONFIG_SENSORS_ADT7411=m CONFIG_SENSORS_ADT7462=m CONFIG_SENSORS_ADT7470=m CONFIG_SENSORS_ADT7475=m CONFIG_SENSORS_ASC7621=m CONFIG_SENSORS_K8TEMP=m CONFIG_SENSORS_K10TEMP=m CONFIG_SENSORS_ASB100=m CONFIG_SENSORS_ATXP1=m CONFIG_SENSORS_DS1621=m CONFIG_SENSORS_I5K_AMB=m CONFIG_SENSORS_F71805F=m CONFIG_SENSORS_F71882FG=m CONFIG_SENSORS_F75375S=m CONFIG_SENSORS_FSCHMD=m CONFIG_SENSORS_G760A=m CONFIG_SENSORS_GL518SM=m CONFIG_SENSORS_GL520SM=m CONFIG_SENSORS_GPIO_FAN=m CONFIG_SENSORS_CORETEMP=m CONFIG_SENSORS_PKGTEMP=m CONFIG_SENSORS_IBMAEM=m CONFIG_SENSORS_IBMPEX=m CONFIG_SENSORS_IT87=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM63=m CONFIG_SENSORS_LM70=m CONFIG_SENSORS_LM73=m CONFIG_SENSORS_LM75=m CONFIG_SENSORS_LM77=m CONFIG_SENSORS_LM78=m CONFIG_SENSORS_LM80=m CONFIG_SENSORS_LM83=m CONFIG_SENSORS_LM85=m CONFIG_SENSORS_LM87=m CONFIG_SENSORS_LM90=m CONFIG_SENSORS_LM92=m CONFIG_SENSORS_LM93=m CONFIG_SENSORS_LTC4215=m CONFIG_SENSORS_LTC4245=m CONFIG_SENSORS_LTC4261=m CONFIG_SENSORS_LM95241=m CONFIG_SENSORS_MAX1111=m CONFIG_SENSORS_MAX1619=m CONFIG_SENSORS_MAX6650=m CONFIG_SENSORS_PC87360=m CONFIG_SENSORS_PC87427=m CONFIG_SENSORS_PCF8591=m CONFIG_SENSORS_SHT15=m CONFIG_SENSORS_SIS5595=m CONFIG_SENSORS_SMM665=m CONFIG_SENSORS_DME1737=m CONFIG_SENSORS_EMC1403=m CONFIG_SENSORS_EMC2103=m CONFIG_SENSORS_SMSC47M1=m CONFIG_SENSORS_SMSC47M192=m CONFIG_SENSORS_SMSC47B397=m CONFIG_SENSORS_ADS7828=m CONFIG_SENSORS_ADS7871=m CONFIG_SENSORS_AMC6821=m CONFIG_SENSORS_THMC50=m CONFIG_SENSORS_TMP102=m CONFIG_SENSORS_TMP401=m CONFIG_SENSORS_TMP421=m CONFIG_SENSORS_VIA_CPUTEMP=m CONFIG_SENSORS_VIA686A=m CONFIG_SENSORS_VT1211=m CONFIG_SENSORS_VT8231=m CONFIG_SENSORS_W83781D=m CONFIG_SENSORS_W83791D=m CONFIG_SENSORS_W83792D=m CONFIG_SENSORS_W83793=m CONFIG_SENSORS_W83795=m CONFIG_SENSORS_W83795_FANCTRL=y CONFIG_SENSORS_W83L785TS=m CONFIG_SENSORS_W83L786NG=m CONFIG_SENSORS_W83627HF=m CONFIG_SENSORS_W83627EHF=m CONFIG_SENSORS_WM831X=m CONFIG_SENSORS_LIS3_I2C=m CONFIG_SENSORS_APPLESMC=m CONFIG_SENSORS_MC13783_ADC=m # # ACPI drivers # CONFIG_SENSORS_ATK0110=m CONFIG_SENSORS_LIS3LV02D=m CONFIG_THERMAL=m CONFIG_THERMAL_HWMON=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_NOWAYOUT=y # # Watchdog Device Drivers # CONFIG_SOFT_WATCHDOG=m CONFIG_WM831X_WATCHDOG=m CONFIG_ACQUIRE_WDT=m CONFIG_ADVANTECH_WDT=m CONFIG_ALIM1535_WDT=m CONFIG_ALIM7101_WDT=m CONFIG_F71808E_WDT=m CONFIG_GEODE_WDT=m CONFIG_SC520_WDT=m CONFIG_SBC_FITPC2_WATCHDOG=m CONFIG_EUROTECH_WDT=m CONFIG_IB700_WDT=m CONFIG_IBMASR=m CONFIG_WAFER_WDT=m CONFIG_I6300ESB_WDT=m CONFIG_ITCO_WDT=m CONFIG_ITCO_VENDOR_SUPPORT=y CONFIG_IT8712F_WDT=m CONFIG_IT87_WDT=m CONFIG_HP_WATCHDOG=m CONFIG_HPWDT_NMI_DECODING=y CONFIG_SC1200_WDT=m CONFIG_PC87413_WDT=m CONFIG_60XX_WDT=m CONFIG_SBC8360_WDT=m CONFIG_CPU5_WDT=m CONFIG_SMSC_SCH311X_WDT=m CONFIG_SMSC37B787_WDT=m CONFIG_W83627HF_WDT=m CONFIG_W83697HF_WDT=m CONFIG_W83697UG_WDT=m CONFIG_W83877F_WDT=m CONFIG_W83977F_WDT=m CONFIG_MACHZ_WDT=m CONFIG_SBC_EPX_C3_WATCHDOG=m # # PCI-based Watchdog Cards # CONFIG_PCIPCWATCHDOG=m CONFIG_WDTPCI=m # # USB-based Watchdog Cards # CONFIG_USBPCWATCHDOG=m CONFIG_SSB_POSSIBLE=y # # Sonics Silicon Backplane # CONFIG_SSB=m CONFIG_SSB_SPROM=y CONFIG_SSB_BLOCKIO=y CONFIG_SSB_PCIHOST_POSSIBLE=y CONFIG_SSB_PCIHOST=y CONFIG_SSB_B43_PCI_BRIDGE=y CONFIG_SSB_PCMCIAHOST_POSSIBLE=y CONFIG_SSB_PCMCIAHOST=y CONFIG_SSB_SDIOHOST_POSSIBLE=y CONFIG_SSB_SDIOHOST=y CONFIG_SSB_SILENT=y CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y CONFIG_SSB_DRIVER_PCICORE=y CONFIG_MFD_SUPPORT=y CONFIG_MFD_CORE=y # CONFIG_MFD_88PM860X is not set CONFIG_MFD_SM501=m CONFIG_MFD_SM501_GPIO=y CONFIG_HTC_PASIC3=m # CONFIG_HTC_I2CPLD is not set CONFIG_UCB1400_CORE=m CONFIG_TPS65010=m CONFIG_TPS6507X=m # CONFIG_TWL4030_CORE is not set # CONFIG_MFD_STMPE is not set # CONFIG_MFD_TC35892 is not set # CONFIG_MFD_TMIO is not set # CONFIG_PMIC_DA903X is not set # CONFIG_PMIC_ADP5520 is not set # CONFIG_MFD_MAX8925 is not set # CONFIG_MFD_MAX8998 is not set CONFIG_MFD_WM8400=m CONFIG_MFD_WM831X=y # CONFIG_MFD_WM831X_I2C is not set CONFIG_MFD_WM831X_SPI=y # CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8994 is not set CONFIG_MFD_PCF50633=m CONFIG_MFD_MC13783=m CONFIG_MFD_MC13XXX=m CONFIG_PCF50633_ADC=m CONFIG_PCF50633_GPIO=m CONFIG_ABX500_CORE=y # CONFIG_AB3100_CORE is not set CONFIG_EZX_PCAP=y # CONFIG_AB3550_CORE is not set CONFIG_MFD_TIMBERDALE=m CONFIG_LPC_SCH=m CONFIG_MFD_RDC321X=m CONFIG_MFD_JANZ_CMODIO=m # CONFIG_MFD_TPS6586X is not set CONFIG_MFD_VX855=m CONFIG_REGULATOR=y CONFIG_REGULATOR_DEBUG=y CONFIG_REGULATOR_DUMMY=y CONFIG_REGULATOR_FIXED_VOLTAGE=m CONFIG_REGULATOR_VIRTUAL_CONSUMER=m CONFIG_REGULATOR_USERSPACE_CONSUMER=m CONFIG_REGULATOR_BQ24022=m CONFIG_REGULATOR_MAX1586=m CONFIG_REGULATOR_MAX8649=m CONFIG_REGULATOR_MAX8660=m CONFIG_REGULATOR_MAX8952=m CONFIG_REGULATOR_WM831X=m CONFIG_REGULATOR_WM8400=m CONFIG_REGULATOR_PCF50633=m CONFIG_REGULATOR_LP3971=m CONFIG_REGULATOR_LP3972=m CONFIG_REGULATOR_PCAP=m CONFIG_REGULATOR_MC13783=m CONFIG_REGULATOR_TPS65023=m CONFIG_REGULATOR_TPS6507X=m CONFIG_REGULATOR_ISL6271A=m CONFIG_REGULATOR_AD5398=m CONFIG_MEDIA_SUPPORT=m # # Multimedia core support # CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L2_COMMON=m CONFIG_VIDEO_ALLOW_V4L1=y CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_DVB_CORE=m CONFIG_VIDEO_MEDIA=m # # Multimedia drivers # CONFIG_VIDEO_SAA7146=m CONFIG_VIDEO_SAA7146_VV=m CONFIG_IR_CORE=m CONFIG_VIDEO_IR=m CONFIG_LIRC=m CONFIG_RC_MAP=m CONFIG_IR_NEC_DECODER=m CONFIG_IR_RC5_DECODER=m CONFIG_IR_RC6_DECODER=m CONFIG_IR_JVC_DECODER=m CONFIG_IR_SONY_DECODER=m CONFIG_IR_RC5_SZ_DECODER=m CONFIG_IR_LIRC_CODEC=m CONFIG_IR_ENE=m CONFIG_IR_IMON=m CONFIG_IR_MCEUSB=m CONFIG_IR_NUVOTON=m CONFIG_IR_STREAMZAP=m CONFIG_MEDIA_ATTACH=y CONFIG_MEDIA_TUNER=m CONFIG_MEDIA_TUNER_CUSTOMISE=y # # Customize TV tuners # CONFIG_MEDIA_TUNER_SIMPLE=m CONFIG_MEDIA_TUNER_TDA8290=m CONFIG_MEDIA_TUNER_TDA827X=m CONFIG_MEDIA_TUNER_TDA18271=m CONFIG_MEDIA_TUNER_TDA9887=m CONFIG_MEDIA_TUNER_TEA5761=m CONFIG_MEDIA_TUNER_TEA5767=m CONFIG_MEDIA_TUNER_MT20XX=m CONFIG_MEDIA_TUNER_MT2060=m CONFIG_MEDIA_TUNER_MT2266=m CONFIG_MEDIA_TUNER_MT2131=m CONFIG_MEDIA_TUNER_QT1010=m CONFIG_MEDIA_TUNER_XC2028=m CONFIG_MEDIA_TUNER_XC5000=m CONFIG_MEDIA_TUNER_MXL5005S=m CONFIG_MEDIA_TUNER_MXL5007T=m CONFIG_MEDIA_TUNER_MC44S803=m CONFIG_MEDIA_TUNER_MAX2165=m CONFIG_MEDIA_TUNER_TDA18218=m CONFIG_VIDEO_V4L2=m CONFIG_VIDEO_V4L1=m CONFIG_VIDEOBUF_GEN=m CONFIG_VIDEOBUF_DMA_SG=m CONFIG_VIDEOBUF_VMALLOC=m CONFIG_VIDEOBUF_DVB=m CONFIG_VIDEO_BTCX=m CONFIG_VIDEO_TVEEPROM=m CONFIG_VIDEO_TUNER=m CONFIG_V4L2_MEM2MEM_DEV=m CONFIG_VIDEO_CAPTURE_DRIVERS=y CONFIG_VIDEO_ADV_DEBUG=y CONFIG_VIDEO_FIXED_MINOR_RANGES=y CONFIG_VIDEO_HELPER_CHIPS_AUTO=y CONFIG_VIDEO_IR_I2C=m # # Audio decoders # CONFIG_VIDEO_TVAUDIO=m CONFIG_VIDEO_TDA7432=m CONFIG_VIDEO_TDA9840=m # CONFIG_VIDEO_TDA9875 is not set CONFIG_VIDEO_TEA6415C=m CONFIG_VIDEO_TEA6420=m CONFIG_VIDEO_MSP3400=m CONFIG_VIDEO_CS5345=m CONFIG_VIDEO_CS53L32A=m CONFIG_VIDEO_M52790=m # CONFIG_VIDEO_TLV320AIC23B is not set CONFIG_VIDEO_WM8775=m CONFIG_VIDEO_WM8739=m CONFIG_VIDEO_VP27SMPX=m # # RDS decoders # CONFIG_VIDEO_SAA6588=m # # Video decoders # # CONFIG_VIDEO_ADV7180 is not set CONFIG_VIDEO_BT819=m CONFIG_VIDEO_BT856=m CONFIG_VIDEO_BT866=m CONFIG_VIDEO_KS0127=m CONFIG_VIDEO_OV7670=m CONFIG_VIDEO_MT9V011=m # CONFIG_VIDEO_TCM825X is not set CONFIG_VIDEO_SAA7110=m CONFIG_VIDEO_SAA711X=m CONFIG_VIDEO_SAA717X=m # CONFIG_VIDEO_SAA7191 is not set # CONFIG_VIDEO_TVP514X is not set CONFIG_VIDEO_TVP5150=m # CONFIG_VIDEO_TVP7002 is not set CONFIG_VIDEO_VPX3220=m # # Video and audio decoders # CONFIG_VIDEO_CX25840=m # # MPEG video encoders # CONFIG_VIDEO_CX2341X=m # # Video encoders # CONFIG_VIDEO_SAA7127=m CONFIG_VIDEO_SAA7185=m CONFIG_VIDEO_ADV7170=m CONFIG_VIDEO_ADV7175=m # CONFIG_VIDEO_THS7303 is not set # CONFIG_VIDEO_ADV7343 is not set # CONFIG_VIDEO_AK881X is not set # # Video improvement chips # CONFIG_VIDEO_UPD64031A=m CONFIG_VIDEO_UPD64083=m CONFIG_VIDEO_VIVI=m CONFIG_VIDEO_BT848=m CONFIG_VIDEO_BT848_DVB=y CONFIG_VIDEO_BWQCAM=m CONFIG_VIDEO_CQCAM=m CONFIG_VIDEO_W9966=m CONFIG_VIDEO_CPIA2=m CONFIG_VIDEO_ZORAN=m CONFIG_VIDEO_ZORAN_DC30=m CONFIG_VIDEO_ZORAN_ZR36060=m CONFIG_VIDEO_ZORAN_BUZ=m CONFIG_VIDEO_ZORAN_DC10=m CONFIG_VIDEO_ZORAN_LML33=m CONFIG_VIDEO_ZORAN_LML33R10=m CONFIG_VIDEO_ZORAN_AVS6EYES=m CONFIG_VIDEO_MEYE=m CONFIG_VIDEO_SAA7134=m CONFIG_VIDEO_SAA7134_ALSA=m CONFIG_VIDEO_SAA7134_RC=y CONFIG_VIDEO_SAA7134_DVB=m CONFIG_VIDEO_MXB=m CONFIG_VIDEO_HEXIUM_ORION=m CONFIG_VIDEO_HEXIUM_GEMINI=m CONFIG_VIDEO_CX88=m CONFIG_VIDEO_CX88_ALSA=m CONFIG_VIDEO_CX88_BLACKBIRD=m CONFIG_VIDEO_CX88_DVB=m CONFIG_VIDEO_CX88_MPEG=m CONFIG_VIDEO_CX88_VP3054=m CONFIG_VIDEO_CX23885=m CONFIG_VIDEO_AU0828=m CONFIG_VIDEO_IVTV=m CONFIG_VIDEO_FB_IVTV=m CONFIG_VIDEO_CX18=m CONFIG_VIDEO_CX18_ALSA=m CONFIG_VIDEO_SAA7164=m CONFIG_VIDEO_CAFE_CCIC=m CONFIG_VIDEO_SR030PC30=m CONFIG_VIDEO_VIA_CAMERA=m CONFIG_SOC_CAMERA=m CONFIG_SOC_CAMERA_IMX074=m CONFIG_SOC_CAMERA_MT9M001=m CONFIG_SOC_CAMERA_MT9M111=m CONFIG_SOC_CAMERA_MT9T031=m CONFIG_SOC_CAMERA_MT9T112=m CONFIG_SOC_CAMERA_MT9V022=m CONFIG_SOC_CAMERA_RJ54N1=m CONFIG_SOC_CAMERA_TW9910=m CONFIG_SOC_CAMERA_PLATFORM=m CONFIG_SOC_CAMERA_OV6650=m CONFIG_SOC_CAMERA_OV772X=m CONFIG_SOC_CAMERA_OV9640=m CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_USB_GSPCA=m CONFIG_USB_M5602=m CONFIG_USB_STV06XX=m CONFIG_USB_GL860=m CONFIG_USB_GSPCA_BENQ=m CONFIG_USB_GSPCA_CONEX=m CONFIG_USB_GSPCA_CPIA1=m CONFIG_USB_GSPCA_ETOMS=m CONFIG_USB_GSPCA_FINEPIX=m CONFIG_USB_GSPCA_JEILINJ=m CONFIG_USB_GSPCA_KONICA=m CONFIG_USB_GSPCA_MARS=m CONFIG_USB_GSPCA_MR97310A=m CONFIG_USB_GSPCA_OV519=m CONFIG_USB_GSPCA_OV534=m CONFIG_USB_GSPCA_OV534_9=m CONFIG_USB_GSPCA_PAC207=m CONFIG_USB_GSPCA_PAC7302=m CONFIG_USB_GSPCA_PAC7311=m CONFIG_USB_GSPCA_SN9C2028=m CONFIG_USB_GSPCA_SN9C20X=m CONFIG_USB_GSPCA_SONIXB=m CONFIG_USB_GSPCA_SONIXJ=m CONFIG_USB_GSPCA_SPCA500=m CONFIG_USB_GSPCA_SPCA501=m CONFIG_USB_GSPCA_SPCA505=m CONFIG_USB_GSPCA_SPCA506=m CONFIG_USB_GSPCA_SPCA508=m CONFIG_USB_GSPCA_SPCA561=m CONFIG_USB_GSPCA_SPCA1528=m CONFIG_USB_GSPCA_SQ905=m CONFIG_USB_GSPCA_SQ905C=m CONFIG_USB_GSPCA_SQ930X=m CONFIG_USB_GSPCA_STK014=m CONFIG_USB_GSPCA_STV0680=m CONFIG_USB_GSPCA_SUNPLUS=m CONFIG_USB_GSPCA_T613=m CONFIG_USB_GSPCA_TV8532=m CONFIG_USB_GSPCA_VC032X=m CONFIG_USB_GSPCA_XIRLINK_CIT=m CONFIG_USB_GSPCA_ZC3XX=m CONFIG_VIDEO_PVRUSB2=m CONFIG_VIDEO_PVRUSB2_SYSFS=y CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y CONFIG_VIDEO_HDPVR=m CONFIG_VIDEO_EM28XX=m CONFIG_VIDEO_EM28XX_ALSA=m CONFIG_VIDEO_EM28XX_DVB=m CONFIG_VIDEO_TLG2300=m CONFIG_VIDEO_CX231XX=m CONFIG_VIDEO_CX231XX_ALSA=m CONFIG_VIDEO_CX231XX_DVB=m CONFIG_VIDEO_USBVISION=m CONFIG_VIDEO_USBVIDEO=m CONFIG_USB_VICAM=m CONFIG_USB_IBMCAM=m CONFIG_USB_KONICAWC=m CONFIG_USB_ET61X251=m CONFIG_USB_SE401=m CONFIG_USB_SN9C102=m CONFIG_USB_PWC=m CONFIG_USB_PWC_DEBUG=y CONFIG_USB_PWC_INPUT_EVDEV=y CONFIG_USB_ZR364XX=m CONFIG_USB_STKWEBCAM=m CONFIG_USB_S2255=m CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_MEM2MEM_TESTDEV=m CONFIG_RADIO_ADAPTERS=y CONFIG_RADIO_GEMTEK_PCI=m CONFIG_RADIO_MAXIRADIO=m CONFIG_RADIO_MAESTRO=m CONFIG_I2C_SI4713=m CONFIG_RADIO_SI4713=m CONFIG_USB_DSBR=m CONFIG_RADIO_SI470X=y CONFIG_USB_SI470X=m CONFIG_I2C_SI470X=m CONFIG_USB_MR800=m CONFIG_RADIO_TEA5764=m CONFIG_RADIO_SAA7706H=m CONFIG_RADIO_TEF6862=m CONFIG_RADIO_TIMBERDALE=m CONFIG_DVB_MAX_ADAPTERS=8 CONFIG_DVB_DYNAMIC_MINORS=y CONFIG_DVB_CAPTURE_DRIVERS=y # # Supported SAA7146 based PCI Adapters # CONFIG_TTPCI_EEPROM=m CONFIG_DVB_AV7110=m CONFIG_DVB_AV7110_OSD=y CONFIG_DVB_BUDGET_CORE=m CONFIG_DVB_BUDGET=m CONFIG_DVB_BUDGET_CI=m CONFIG_DVB_BUDGET_AV=m CONFIG_DVB_BUDGET_PATCH=m # # Supported USB Adapters # CONFIG_DVB_USB=m # CONFIG_DVB_USB_DEBUG is not set CONFIG_DVB_USB_A800=m CONFIG_DVB_USB_DIBUSB_MB=m CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y CONFIG_DVB_USB_DIBUSB_MC=m CONFIG_DVB_USB_DIB0700=m CONFIG_DVB_USB_UMT_010=m CONFIG_DVB_USB_CXUSB=m CONFIG_DVB_USB_M920X=m CONFIG_DVB_USB_GL861=m CONFIG_DVB_USB_AU6610=m CONFIG_DVB_USB_DIGITV=m CONFIG_DVB_USB_VP7045=m CONFIG_DVB_USB_VP702X=m CONFIG_DVB_USB_GP8PSK=m CONFIG_DVB_USB_NOVA_T_USB2=m CONFIG_DVB_USB_TTUSB2=m CONFIG_DVB_USB_DTT200U=m CONFIG_DVB_USB_OPERA1=m CONFIG_DVB_USB_AF9005=m CONFIG_DVB_USB_AF9005_REMOTE=m CONFIG_DVB_USB_DW2102=m CONFIG_DVB_USB_CINERGY_T2=m CONFIG_DVB_USB_ANYSEE=m CONFIG_DVB_USB_DTV5100=m CONFIG_DVB_USB_AF9015=m CONFIG_DVB_USB_CE6230=m CONFIG_DVB_USB_FRIIO=m CONFIG_DVB_USB_EC168=m CONFIG_DVB_USB_AZ6027=m CONFIG_DVB_USB_LME2510=m CONFIG_DVB_TTUSB_BUDGET=m CONFIG_DVB_TTUSB_DEC=m CONFIG_SMS_SIANO_MDTV=m # # Siano module components # CONFIG_SMS_USB_DRV=m CONFIG_SMS_SDIO_DRV=m # # Supported FlexCopII (B2C2) Adapters # CONFIG_DVB_B2C2_FLEXCOP=m CONFIG_DVB_B2C2_FLEXCOP_PCI=m CONFIG_DVB_B2C2_FLEXCOP_USB=m CONFIG_DVB_B2C2_FLEXCOP_DEBUG=y # # Supported BT878 Adapters # CONFIG_DVB_BT8XX=m # # Supported Pluto2 Adapters # CONFIG_DVB_PLUTO2=m # # Supported SDMC DM1105 Adapters # CONFIG_DVB_DM1105=m CONFIG_DVB_FIREDTV=m CONFIG_DVB_FIREDTV_FIREWIRE=y # CONFIG_DVB_FIREDTV_IEEE1394 is not set CONFIG_DVB_FIREDTV_INPUT=y # # Supported Earthsoft PT1 Adapters # CONFIG_DVB_PT1=m # # Supported Mantis Adapters # CONFIG_MANTIS_CORE=m CONFIG_DVB_MANTIS=m CONFIG_DVB_HOPPER=m # # Supported nGene Adapters # CONFIG_DVB_NGENE=m # # Supported DVB Frontends # CONFIG_DVB_FE_CUSTOMISE=y # # Customise DVB Frontends # # # Multistandard (satellite) frontends # CONFIG_DVB_STB0899=m CONFIG_DVB_STB6100=m CONFIG_DVB_STV090x=m CONFIG_DVB_STV6110x=m # # DVB-S (satellite) frontends # CONFIG_DVB_CX24110=m CONFIG_DVB_CX24123=m CONFIG_DVB_MT312=m CONFIG_DVB_ZL10036=m CONFIG_DVB_ZL10039=m CONFIG_DVB_S5H1420=m CONFIG_DVB_STV0288=m CONFIG_DVB_STB6000=m CONFIG_DVB_STV0299=m CONFIG_DVB_STV6110=m CONFIG_DVB_STV0900=m CONFIG_DVB_TDA8083=m CONFIG_DVB_TDA10086=m CONFIG_DVB_TDA8261=m CONFIG_DVB_VES1X93=m CONFIG_DVB_TUNER_ITD1000=m CONFIG_DVB_TUNER_CX24113=m CONFIG_DVB_TDA826X=m CONFIG_DVB_TUA6100=m CONFIG_DVB_CX24116=m CONFIG_DVB_SI21XX=m CONFIG_DVB_DS3000=m CONFIG_DVB_MB86A16=m # # DVB-T (terrestrial) frontends # CONFIG_DVB_SP8870=m CONFIG_DVB_SP887X=m CONFIG_DVB_CX22700=m CONFIG_DVB_CX22702=m CONFIG_DVB_S5H1432=m CONFIG_DVB_DRX397XD=m CONFIG_DVB_L64781=m CONFIG_DVB_TDA1004X=m CONFIG_DVB_NXT6000=m CONFIG_DVB_MT352=m CONFIG_DVB_ZL10353=m CONFIG_DVB_DIB3000MB=m CONFIG_DVB_DIB3000MC=m CONFIG_DVB_DIB7000M=m CONFIG_DVB_DIB7000P=m CONFIG_DVB_TDA10048=m CONFIG_DVB_AF9013=m CONFIG_DVB_EC100=m # # DVB-C (cable) frontends # CONFIG_DVB_VES1820=m CONFIG_DVB_TDA10021=m CONFIG_DVB_TDA10023=m CONFIG_DVB_STV0297=m # # ATSC (North American/Korean Terrestrial/Cable DTV) frontends # CONFIG_DVB_NXT200X=m CONFIG_DVB_OR51211=m CONFIG_DVB_OR51132=m CONFIG_DVB_BCM3510=m CONFIG_DVB_LGDT330X=m CONFIG_DVB_LGDT3305=m CONFIG_DVB_S5H1409=m CONFIG_DVB_AU8522=m CONFIG_DVB_S5H1411=m # # ISDB-T (terrestrial) frontends # CONFIG_DVB_S921=m CONFIG_DVB_DIB8000=m # # Digital terrestrial only tuners/PLL # CONFIG_DVB_PLL=m CONFIG_DVB_TUNER_DIB0070=m CONFIG_DVB_TUNER_DIB0090=m # # SEC control devices for DVB-S # CONFIG_DVB_LNBP21=m CONFIG_DVB_ISL6405=m CONFIG_DVB_ISL6421=m CONFIG_DVB_ISL6423=m CONFIG_DVB_LGS8GL5=m CONFIG_DVB_LGS8GXX=m CONFIG_DVB_ATBM8830=m CONFIG_DVB_TDA665x=m CONFIG_DVB_IX2505V=m # # Tools to develop new frontends # CONFIG_DVB_DUMMY_FE=m CONFIG_DAB=y CONFIG_USB_DABUSB=m # # Graphics support # CONFIG_AGP=y CONFIG_AGP_AMD64=m CONFIG_AGP_INTEL=m CONFIG_AGP_SIS=m CONFIG_AGP_VIA=m CONFIG_VGA_ARB=y CONFIG_VGA_ARB_MAX_GPUS=16 CONFIG_VGA_SWITCHEROO=y CONFIG_DRM=y CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_TTM=m CONFIG_DRM_TDFX=m CONFIG_DRM_R128=m CONFIG_DRM_RADEON=m CONFIG_DRM_RADEON_KMS=y CONFIG_DRM_I810=m CONFIG_DRM_I830=m CONFIG_DRM_I915=m CONFIG_DRM_I915_KMS=y CONFIG_DRM_MGA=m CONFIG_DRM_SIS=m CONFIG_DRM_VIA=m CONFIG_DRM_SAVAGE=m CONFIG_STUB_POULSBO=m CONFIG_VGASTATE=m CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_DDC=m CONFIG_FB_BOOT_VESA_SUPPORT=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set CONFIG_FB_SYS_FILLRECT=m CONFIG_FB_SYS_COPYAREA=m CONFIG_FB_SYS_IMAGEBLIT=m CONFIG_FB_FOREIGN_ENDIAN=y CONFIG_FB_BOTH_ENDIAN=y # CONFIG_FB_BIG_ENDIAN is not set # CONFIG_FB_LITTLE_ENDIAN is not set CONFIG_FB_SYS_FOPS=m CONFIG_FB_DEFERRED_IO=y CONFIG_FB_HECUBA=m CONFIG_FB_SVGALIB=m # CONFIG_FB_MACMODES is not set CONFIG_FB_BACKLIGHT=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y # # Frame buffer hardware drivers # CONFIG_FB_CIRRUS=m CONFIG_FB_PM2=m CONFIG_FB_PM2_FIFO_DISCONNECT=y CONFIG_FB_CYBER2000=m CONFIG_FB_ARC=m # CONFIG_FB_ASILIANT is not set # CONFIG_FB_IMSTT is not set CONFIG_FB_VGA16=m CONFIG_FB_UVESA=m CONFIG_FB_VESA=y # CONFIG_FB_EFI is not set CONFIG_FB_N411=m CONFIG_FB_HGA=m CONFIG_FB_HGA_ACCEL=y CONFIG_FB_S1D13XXX=m CONFIG_FB_NVIDIA=m CONFIG_FB_NVIDIA_I2C=y CONFIG_FB_NVIDIA_DEBUG=y CONFIG_FB_NVIDIA_BACKLIGHT=y CONFIG_FB_RIVA=m CONFIG_FB_RIVA_I2C=y CONFIG_FB_RIVA_DEBUG=y CONFIG_FB_RIVA_BACKLIGHT=y CONFIG_FB_LE80578=m CONFIG_FB_CARILLO_RANCH=m CONFIG_FB_INTEL=m CONFIG_FB_INTEL_DEBUG=y CONFIG_FB_INTEL_I2C=y CONFIG_FB_MATROX=m CONFIG_FB_MATROX_MILLENIUM=y CONFIG_FB_MATROX_MYSTIQUE=y CONFIG_FB_MATROX_G=y CONFIG_FB_MATROX_I2C=m CONFIG_FB_MATROX_MAVEN=m CONFIG_FB_RADEON=m CONFIG_FB_RADEON_I2C=y CONFIG_FB_RADEON_BACKLIGHT=y CONFIG_FB_RADEON_DEBUG=y CONFIG_FB_ATY128=m CONFIG_FB_ATY128_BACKLIGHT=y CONFIG_FB_ATY=m CONFIG_FB_ATY_CT=y CONFIG_FB_ATY_GENERIC_LCD=y CONFIG_FB_ATY_GX=y CONFIG_FB_ATY_BACKLIGHT=y CONFIG_FB_S3=m CONFIG_FB_SAVAGE=m CONFIG_FB_SAVAGE_I2C=y CONFIG_FB_SAVAGE_ACCEL=y CONFIG_FB_SIS=m CONFIG_FB_SIS_300=y CONFIG_FB_SIS_315=y CONFIG_FB_VIA=m CONFIG_FB_VIA_DIRECT_PROCFS=y CONFIG_FB_NEOMAGIC=m CONFIG_FB_KYRO=m CONFIG_FB_3DFX=m CONFIG_FB_3DFX_ACCEL=y CONFIG_FB_3DFX_I2C=y CONFIG_FB_VOODOO1=m CONFIG_FB_VT8623=m CONFIG_FB_TRIDENT=m CONFIG_FB_ARK=m CONFIG_FB_PM3=m CONFIG_FB_CARMINE=m CONFIG_FB_CARMINE_DRAM_EVAL=y # CONFIG_CARMINE_DRAM_CUSTOM is not set CONFIG_FB_GEODE=y CONFIG_FB_GEODE_LX=m CONFIG_FB_GEODE_GX=m CONFIG_FB_GEODE_GX1=m CONFIG_FB_TMIO=m CONFIG_FB_TMIO_ACCELL=y CONFIG_FB_SM501=m CONFIG_FB_VIRTUAL=m CONFIG_XEN_FBDEV_FRONTEND=m CONFIG_FB_METRONOME=m CONFIG_FB_MB862XX=m CONFIG_FB_MB862XX_PCI_GDC=y CONFIG_FB_BROADSHEET=m CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=m CONFIG_LCD_L4F00242T03=m CONFIG_LCD_LMS283GF05=m CONFIG_LCD_LTV350QV=m CONFIG_LCD_ILI9320=m CONFIG_LCD_TDO24M=m CONFIG_LCD_VGG2432A4=m CONFIG_LCD_PLATFORM=m CONFIG_LCD_S6E63M0=m CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_GENERIC=m CONFIG_BACKLIGHT_PROGEAR=m CONFIG_BACKLIGHT_CARILLO_RANCH=m CONFIG_BACKLIGHT_MBP_NVIDIA=m CONFIG_BACKLIGHT_SAHARA=m CONFIG_BACKLIGHT_WM831X=m CONFIG_BACKLIGHT_ADP8860=m CONFIG_BACKLIGHT_PCF50633=m # # Display device support # CONFIG_DISPLAY_SUPPORT=m # # Display hardware drivers # # # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_VGACON_SOFT_SCROLLBACK=y CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64 CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y CONFIG_FONT_6x11=y CONFIG_FONT_7x14=y CONFIG_FONT_PEARL_8x8=y CONFIG_FONT_ACORN_8x8=y CONFIG_FONT_MINI_4x6=y CONFIG_FONT_SUN8x16=y CONFIG_FONT_SUN12x22=y CONFIG_FONT_10x18=y CONFIG_LOGO=y CONFIG_LOGO_LINUX_MONO=y CONFIG_LOGO_LINUX_VGA16=y CONFIG_LOGO_LINUX_CLUT224=y CONFIG_SOUND=m CONFIG_SOUND_OSS_CORE=y CONFIG_SOUND_OSS_CORE_PRECLAIM=y CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m CONFIG_SND_JACK=y CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_HRTIMER=m CONFIG_SND_SEQ_HRTIMER_DEFAULT=y CONFIG_SND_DYNAMIC_MINORS=y CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y CONFIG_SND_VERBOSE_PRINTK=y CONFIG_SND_DEBUG=y CONFIG_SND_DEBUG_VERBOSE=y CONFIG_SND_PCM_XRUN_DEBUG=y CONFIG_SND_VMASTER=y CONFIG_SND_DMA_SGBUF=y CONFIG_SND_RAWMIDI_SEQ=m CONFIG_SND_OPL3_LIB_SEQ=m # CONFIG_SND_OPL4_LIB_SEQ is not set # CONFIG_SND_SBAWE_SEQ is not set CONFIG_SND_EMU10K1_SEQ=m CONFIG_SND_MPU401_UART=m CONFIG_SND_OPL3_LIB=m CONFIG_SND_VX_LIB=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_DRIVERS=y CONFIG_SND_PCSP=m CONFIG_SND_DUMMY=m CONFIG_SND_ALOOP=m CONFIG_SND_VIRMIDI=m CONFIG_SND_MTPAV=m CONFIG_SND_MTS64=m CONFIG_SND_SERIAL_U16550=m CONFIG_SND_MPU401=m CONFIG_SND_PORTMAN2X4=m CONFIG_SND_AC97_POWER_SAVE=y CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0 CONFIG_SND_SB_COMMON=m CONFIG_SND_SB16_DSP=m CONFIG_SND_PCI=y CONFIG_SND_AD1889=m CONFIG_SND_ALS300=m CONFIG_SND_ALS4000=m CONFIG_SND_ALI5451=m CONFIG_SND_ASIHPI=m CONFIG_SND_ATIIXP=m CONFIG_SND_ATIIXP_MODEM=m CONFIG_SND_AU8810=m CONFIG_SND_AU8820=m CONFIG_SND_AU8830=m CONFIG_SND_AW2=m CONFIG_SND_AZT3328=m CONFIG_SND_BT87X=m CONFIG_SND_BT87X_OVERCLOCK=y CONFIG_SND_CA0106=m CONFIG_SND_CMIPCI=m CONFIG_SND_OXYGEN_LIB=m CONFIG_SND_OXYGEN=m CONFIG_SND_CS4281=m CONFIG_SND_CS46XX=m CONFIG_SND_CS46XX_NEW_DSP=y CONFIG_SND_CS5530=m CONFIG_SND_CS5535AUDIO=m CONFIG_SND_CTXFI=m CONFIG_SND_DARLA20=m CONFIG_SND_GINA20=m CONFIG_SND_LAYLA20=m CONFIG_SND_DARLA24=m CONFIG_SND_GINA24=m CONFIG_SND_LAYLA24=m CONFIG_SND_MONA=m CONFIG_SND_MIA=m CONFIG_SND_ECHO3G=m CONFIG_SND_INDIGO=m CONFIG_SND_INDIGOIO=m CONFIG_SND_INDIGODJ=m CONFIG_SND_INDIGOIOX=m CONFIG_SND_INDIGODJX=m CONFIG_SND_EMU10K1=m CONFIG_SND_EMU10K1X=m CONFIG_SND_ENS1370=m CONFIG_SND_ENS1371=m CONFIG_SND_ES1938=m CONFIG_SND_ES1968=m CONFIG_SND_ES1968_INPUT=y CONFIG_SND_FM801=m CONFIG_SND_FM801_TEA575X_BOOL=y CONFIG_SND_FM801_TEA575X=m CONFIG_SND_HDA_INTEL=m CONFIG_SND_HDA_HWDEP=y CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=1 CONFIG_SND_HDA_INPUT_JACK=y CONFIG_SND_HDA_PATCH_LOADER=y CONFIG_SND_HDA_CODEC_REALTEK=y CONFIG_SND_HDA_CODEC_ANALOG=y CONFIG_SND_HDA_CODEC_SIGMATEL=y CONFIG_SND_HDA_CODEC_VIA=y CONFIG_SND_HDA_CODEC_HDMI=y CONFIG_SND_HDA_CODEC_CIRRUS=y CONFIG_SND_HDA_CODEC_CONEXANT=y CONFIG_SND_HDA_CODEC_CA0110=y CONFIG_SND_HDA_CODEC_CMEDIA=y CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y CONFIG_SND_HDA_POWER_SAVE=y CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDSP=m CONFIG_SND_HDSPM=m CONFIG_SND_HIFIER=m CONFIG_SND_ICE1712=m CONFIG_SND_ICE1724=m CONFIG_SND_INTEL8X0=m CONFIG_SND_INTEL8X0M=m CONFIG_SND_KORG1212=m CONFIG_SND_LX6464ES=m CONFIG_SND_MAESTRO3=m CONFIG_SND_MAESTRO3_INPUT=y CONFIG_SND_MIXART=m CONFIG_SND_NM256=m CONFIG_SND_PCXHR=m CONFIG_SND_RIPTIDE=m CONFIG_SND_RME32=m CONFIG_SND_RME96=m CONFIG_SND_RME9652=m CONFIG_SND_SONICVIBES=m CONFIG_SND_TRIDENT=m CONFIG_SND_VIA82XX=m CONFIG_SND_VIA82XX_MODEM=m CONFIG_SND_VIRTUOSO=m CONFIG_SND_VX222=m CONFIG_SND_YMFPCI=m CONFIG_SND_SPI=y CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=m CONFIG_SND_USB_UA101=m CONFIG_SND_USB_USX2Y=m CONFIG_SND_USB_CAIAQ=m CONFIG_SND_USB_CAIAQ_INPUT=y CONFIG_SND_USB_US122L=m CONFIG_SND_PCMCIA=y CONFIG_SND_VXPOCKET=m CONFIG_SND_PDAUDIOCF=m CONFIG_SND_SOC=m CONFIG_SND_SOC_I2C_AND_SPI=m CONFIG_SND_SOC_ALL_CODECS=m CONFIG_SND_SOC_WM_HUBS=m CONFIG_SND_SOC_AD1836=m CONFIG_SND_SOC_AD193X=m CONFIG_SND_SOC_AD73311=m CONFIG_SND_SOC_ADS117X=m CONFIG_SND_SOC_AK4104=m CONFIG_SND_SOC_AK4535=m CONFIG_SND_SOC_AK4642=m CONFIG_SND_SOC_AK4671=m CONFIG_SND_SOC_CS42L51=m CONFIG_SND_SOC_CS4270=m CONFIG_SND_SOC_CX20442=m CONFIG_SND_SOC_L3=m CONFIG_SND_SOC_DA7210=m CONFIG_SND_SOC_MAX98088=m CONFIG_SND_SOC_PCM3008=m CONFIG_SND_SOC_SPDIF=m CONFIG_SND_SOC_SSM2602=m CONFIG_SND_SOC_TLV320AIC23=m CONFIG_SND_SOC_TLV320AIC26=m CONFIG_SND_SOC_TLV320AIC3X=m CONFIG_SND_SOC_TLV320DAC33=m CONFIG_SND_SOC_UDA134X=m CONFIG_SND_SOC_UDA1380=m CONFIG_SND_SOC_WM8400=m CONFIG_SND_SOC_WM8510=m CONFIG_SND_SOC_WM8523=m CONFIG_SND_SOC_WM8580=m CONFIG_SND_SOC_WM8711=m CONFIG_SND_SOC_WM8727=m CONFIG_SND_SOC_WM8728=m CONFIG_SND_SOC_WM8731=m CONFIG_SND_SOC_WM8741=m CONFIG_SND_SOC_WM8750=m CONFIG_SND_SOC_WM8753=m CONFIG_SND_SOC_WM8776=m CONFIG_SND_SOC_WM8804=m CONFIG_SND_SOC_WM8900=m CONFIG_SND_SOC_WM8903=m CONFIG_SND_SOC_WM8904=m CONFIG_SND_SOC_WM8940=m CONFIG_SND_SOC_WM8955=m CONFIG_SND_SOC_WM8960=m CONFIG_SND_SOC_WM8961=m CONFIG_SND_SOC_WM8962=m CONFIG_SND_SOC_WM8971=m CONFIG_SND_SOC_WM8974=m CONFIG_SND_SOC_WM8978=m CONFIG_SND_SOC_WM8985=m CONFIG_SND_SOC_WM8988=m CONFIG_SND_SOC_WM8990=m CONFIG_SND_SOC_WM8993=m CONFIG_SND_SOC_WM9081=m CONFIG_SND_SOC_MAX9877=m CONFIG_SND_SOC_TPA6130A2=m CONFIG_SND_SOC_WM2000=m CONFIG_SND_SOC_WM9090=m CONFIG_SOUND_PRIME=m CONFIG_SOUND_OSS=m CONFIG_SOUND_TRACEINIT=y CONFIG_SOUND_DMAP=y CONFIG_SOUND_VMIDI=m CONFIG_SOUND_TRIX=m CONFIG_SOUND_MSS=m CONFIG_SOUND_MPU401=m CONFIG_SOUND_PAS=m CONFIG_SOUND_PSS=m CONFIG_PSS_MIXER=y CONFIG_SOUND_SB=m CONFIG_SOUND_YM3812=m CONFIG_SOUND_UART6850=m CONFIG_SOUND_AEDSP16=m CONFIG_SC6600=y CONFIG_SC6600_JOY=y CONFIG_SC6600_CDROM=4 CONFIG_SC6600_CDROMBASE=0 CONFIG_SOUND_KAHLUA=m CONFIG_AC97_BUS=m CONFIG_HID_SUPPORT=y CONFIG_HID=m CONFIG_HIDRAW=y # # USB Input Devices # CONFIG_USB_HID=m CONFIG_HID_PID=y CONFIG_USB_HIDDEV=y # # USB HID Boot Protocol drivers # CONFIG_USB_KBD=m CONFIG_USB_MOUSE=m # # Special HID drivers # CONFIG_HID_3M_PCT=m CONFIG_HID_A4TECH=m CONFIG_HID_ACRUX_FF=m CONFIG_HID_APPLE=m CONFIG_HID_BELKIN=m CONFIG_HID_CANDO=m CONFIG_HID_CHERRY=m CONFIG_HID_CHICONY=m CONFIG_HID_PRODIKEYS=m CONFIG_HID_CYPRESS=m CONFIG_HID_DRAGONRISE=m CONFIG_DRAGONRISE_FF=y CONFIG_HID_EGALAX=m CONFIG_HID_ELECOM=m CONFIG_HID_EZKEY=m CONFIG_HID_KYE=m CONFIG_HID_UCLOGIC=m CONFIG_HID_WALTOP=m CONFIG_HID_GYRATION=m CONFIG_HID_TWINHAN=m CONFIG_HID_KENSINGTON=m CONFIG_HID_LOGITECH=m CONFIG_LOGITECH_FF=y CONFIG_LOGIRUMBLEPAD2_FF=y CONFIG_LOGIG940_FF=y CONFIG_LOGIWII_FF=y CONFIG_HID_MAGICMOUSE=m CONFIG_HID_MICROSOFT=m CONFIG_HID_MOSART=m CONFIG_HID_MONTEREY=m CONFIG_HID_NTRIG=m CONFIG_HID_ORTEK=m CONFIG_HID_PANTHERLORD=m CONFIG_PANTHERLORD_FF=y CONFIG_HID_PETALYNX=m CONFIG_HID_PICOLCD=m CONFIG_HID_PICOLCD_FB=y CONFIG_HID_PICOLCD_BACKLIGHT=y CONFIG_HID_PICOLCD_LCD=y CONFIG_HID_PICOLCD_LEDS=y CONFIG_HID_QUANTA=m CONFIG_HID_ROCCAT=m CONFIG_HID_ROCCAT_KONE=m CONFIG_HID_ROCCAT_PYRA=m CONFIG_HID_SAMSUNG=m CONFIG_HID_SONY=m CONFIG_HID_STANTUM=m CONFIG_HID_SUNPLUS=m CONFIG_HID_GREENASIA=m CONFIG_GREENASIA_FF=y CONFIG_HID_SMARTJOYPLUS=m CONFIG_SMARTJOYPLUS_FF=y CONFIG_HID_TOPSEED=m CONFIG_HID_THRUSTMASTER=m CONFIG_THRUSTMASTER_FF=y CONFIG_HID_WACOM=m CONFIG_HID_WACOM_POWER_SUPPLY=y CONFIG_HID_ZEROPLUS=m CONFIG_ZEROPLUS_FF=y CONFIG_HID_ZYDACRON=m CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=m CONFIG_USB_DEBUG=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y CONFIG_USB_DYNAMIC_MINORS=y # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set CONFIG_USB_MON=m CONFIG_USB_WUSB=m CONFIG_USB_WUSB_CBAF=m CONFIG_USB_WUSB_CBAF_DEBUG=y # # USB Host Controller Drivers # CONFIG_USB_C67X00_HCD=m CONFIG_USB_XHCI_HCD=m CONFIG_USB_XHCI_HCD_DEBUGGING=y CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_OXU210HP_HCD=m CONFIG_USB_ISP116X_HCD=m CONFIG_USB_ISP1760_HCD=m CONFIG_USB_ISP1362_HCD=m CONFIG_USB_OHCI_HCD=m CONFIG_USB_OHCI_HCD_SSB=y # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=m CONFIG_USB_U132_HCD=m CONFIG_USB_SL811_HCD=m CONFIG_USB_SL811_CS=m CONFIG_USB_R8A66597_HCD=m CONFIG_USB_WHCI_HCD=m CONFIG_USB_HWA_HCD=m # # USB Device Class drivers # CONFIG_USB_ACM=m CONFIG_USB_PRINTER=m CONFIG_USB_WDM=m CONFIG_USB_TMC=m # # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may # # # also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=m CONFIG_USB_STORAGE_DEBUG=y CONFIG_USB_STORAGE_DATAFAB=m CONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=m CONFIG_USB_STORAGE_SDDR09=m CONFIG_USB_STORAGE_SDDR55=m CONFIG_USB_STORAGE_JUMPSHOT=m CONFIG_USB_STORAGE_ALAUDA=m CONFIG_USB_STORAGE_ONETOUCH=m CONFIG_USB_STORAGE_KARMA=m CONFIG_USB_STORAGE_CYPRESS_ATACB=m CONFIG_USB_UAS=m CONFIG_USB_LIBUSUAL=y # # USB Imaging devices # CONFIG_USB_MDC800=m CONFIG_USB_MICROTEK=m # # USB port drivers # CONFIG_USB_USS720=m CONFIG_USB_SERIAL=m CONFIG_USB_EZUSB=y CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_AIRCABLE=m CONFIG_USB_SERIAL_ARK3116=m CONFIG_USB_SERIAL_BELKIN=m CONFIG_USB_SERIAL_CH341=m CONFIG_USB_SERIAL_WHITEHEAT=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m CONFIG_USB_SERIAL_CP210X=m CONFIG_USB_SERIAL_CYPRESS_M8=m CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_FUNSOFT=m CONFIG_USB_SERIAL_VISOR=m CONFIG_USB_SERIAL_IPAQ=m CONFIG_USB_SERIAL_IR=m CONFIG_USB_SERIAL_EDGEPORT=m CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_GARMIN=m CONFIG_USB_SERIAL_IPW=m CONFIG_USB_SERIAL_IUU=m CONFIG_USB_SERIAL_KEYSPAN_PDA=m CONFIG_USB_SERIAL_KEYSPAN=m CONFIG_USB_SERIAL_KEYSPAN_MPR=y CONFIG_USB_SERIAL_KEYSPAN_USA28=y CONFIG_USB_SERIAL_KEYSPAN_USA28X=y CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y CONFIG_USB_SERIAL_KEYSPAN_USA19=y CONFIG_USB_SERIAL_KEYSPAN_USA18X=y CONFIG_USB_SERIAL_KEYSPAN_USA19W=y CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y CONFIG_USB_SERIAL_KEYSPAN_USA49W=y CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y CONFIG_USB_SERIAL_KLSI=m CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_MOS7720=m CONFIG_USB_SERIAL_MOS7715_PARPORT=y CONFIG_USB_SERIAL_MOS7840=m CONFIG_USB_SERIAL_MOTOROLA=m CONFIG_USB_SERIAL_NAVMAN=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_OTI6858=m CONFIG_USB_SERIAL_QCAUX=m CONFIG_USB_SERIAL_QUALCOMM=m CONFIG_USB_SERIAL_SPCP8X5=m CONFIG_USB_SERIAL_HP4X=m CONFIG_USB_SERIAL_SAFE=m CONFIG_USB_SERIAL_SAFE_PADDED=y CONFIG_USB_SERIAL_SAMBA=m CONFIG_USB_SERIAL_SIEMENS_MPI=m CONFIG_USB_SERIAL_SIERRAWIRELESS=m CONFIG_USB_SERIAL_SYMBOL=m CONFIG_USB_SERIAL_TI=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_WWAN=m CONFIG_USB_SERIAL_OPTION=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_SERIAL_OPTICON=m CONFIG_USB_SERIAL_VIVOPAY_SERIAL=m CONFIG_USB_SERIAL_ZIO=m CONFIG_USB_SERIAL_SSU100=m CONFIG_USB_SERIAL_DEBUG=m # # USB Miscellaneous drivers # CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m CONFIG_USB_SEVSEG=m CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_LED=m CONFIG_USB_CYPRESS_CY7C63=m CONFIG_USB_CYTHERM=m CONFIG_USB_IDMOUSE=m CONFIG_USB_FTDI_ELAN=m CONFIG_USB_APPLEDISPLAY=m CONFIG_USB_SISUSBVGA=m CONFIG_USB_SISUSBVGA_CON=y CONFIG_USB_LD=m CONFIG_USB_TRANCEVIBRATOR=m CONFIG_USB_IOWARRIOR=m CONFIG_USB_TEST=m CONFIG_USB_ISIGHTFW=m CONFIG_USB_YUREX=m CONFIG_USB_ATM=m CONFIG_USB_SPEEDTOUCH=m CONFIG_USB_CXACRU=m CONFIG_USB_UEAGLEATM=m CONFIG_USB_XUSBATM=m CONFIG_USB_GADGET=m CONFIG_USB_GADGET_DEBUG=y CONFIG_USB_GADGET_DEBUG_FILES=y CONFIG_USB_GADGET_DEBUG_FS=y CONFIG_USB_GADGET_VBUS_DRAW=2 CONFIG_USB_GADGET_SELECTED=y CONFIG_USB_GADGET_R8A66597=y CONFIG_USB_R8A66597=m # CONFIG_USB_GADGET_M66592 is not set # CONFIG_USB_GADGET_AMD5536UDC is not set # CONFIG_USB_GADGET_CI13XXX is not set # CONFIG_USB_GADGET_NET2280 is not set # CONFIG_USB_GADGET_GOKU is not set # CONFIG_USB_GADGET_LANGWELL is not set # CONFIG_USB_GADGET_DUMMY_HCD is not set CONFIG_USB_GADGET_DUALSPEED=y CONFIG_USB_ZERO=m CONFIG_USB_AUDIO=m CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y CONFIG_USB_ETH_EEM=y CONFIG_USB_GADGETFS=m CONFIG_USB_FUNCTIONFS=m CONFIG_USB_FUNCTIONFS_ETH=y CONFIG_USB_FUNCTIONFS_RNDIS=y CONFIG_USB_FUNCTIONFS_GENERIC=y CONFIG_USB_FILE_STORAGE=m CONFIG_USB_FILE_STORAGE_TEST=y CONFIG_USB_MASS_STORAGE=m CONFIG_USB_G_SERIAL=m CONFIG_USB_MIDI_GADGET=m CONFIG_USB_G_PRINTER=m CONFIG_USB_CDC_COMPOSITE=m CONFIG_USB_G_NOKIA=m CONFIG_USB_G_MULTI=m CONFIG_USB_G_MULTI_RNDIS=y CONFIG_USB_G_MULTI_CDC=y CONFIG_USB_G_HID=m CONFIG_USB_G_DBGP=m # CONFIG_USB_G_DBGP_PRINTK is not set CONFIG_USB_G_DBGP_SERIAL=y CONFIG_USB_G_WEBCAM=m # # OTG and related infrastructure # CONFIG_USB_OTG_UTILS=y CONFIG_USB_GPIO_VBUS=m CONFIG_NOP_USB_XCEIV=m CONFIG_UWB=m CONFIG_UWB_HWA=m CONFIG_UWB_WHCI=m CONFIG_UWB_I1480U=m CONFIG_MMC=m CONFIG_MMC_DEBUG=y CONFIG_MMC_UNSAFE_RESUME=y # # MMC/SD/SDIO Card Drivers # CONFIG_MMC_BLOCK=m CONFIG_MMC_BLOCK_MINORS=8 CONFIG_MMC_BLOCK_BOUNCE=y CONFIG_SDIO_UART=m CONFIG_MMC_TEST=m # # MMC/SD/SDIO Host Controller Drivers # CONFIG_MMC_SDHCI=m CONFIG_MMC_SDHCI_PCI=m CONFIG_MMC_RICOH_MMC=y CONFIG_MMC_SDHCI_PLTFM=m CONFIG_MMC_WBSD=m CONFIG_MMC_TIFM_SD=m CONFIG_MMC_SPI=m CONFIG_MMC_SDRICOH_CS=m CONFIG_MMC_CB710=m CONFIG_MMC_VIA_SDMMC=m CONFIG_MMC_USHC=m CONFIG_MEMSTICK=m CONFIG_MEMSTICK_DEBUG=y # # MemoryStick drivers # CONFIG_MEMSTICK_UNSAFE_RESUME=y CONFIG_MSPRO_BLOCK=m # # MemoryStick Host Controller Drivers # CONFIG_MEMSTICK_TIFM_MS=m CONFIG_MEMSTICK_JMICRON_38X=m CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y # # LED drivers # CONFIG_LEDS_NET5501=m CONFIG_LEDS_ALIX2=m CONFIG_LEDS_PCA9532=m CONFIG_LEDS_GPIO=m CONFIG_LEDS_GPIO_PLATFORM=y CONFIG_LEDS_LP3944=m CONFIG_LEDS_LP5521=m CONFIG_LEDS_LP5523=m CONFIG_LEDS_CLEVO_MAIL=m CONFIG_LEDS_PCA955X=m CONFIG_LEDS_WM831X_STATUS=m CONFIG_LEDS_DAC124S085=m CONFIG_LEDS_REGULATOR=m CONFIG_LEDS_BD2802=m CONFIG_LEDS_INTEL_SS4200=m CONFIG_LEDS_LT3593=m CONFIG_LEDS_DELL_NETBOOKS=m CONFIG_LEDS_MC13783=m CONFIG_LEDS_TRIGGERS=y # # LED Triggers # CONFIG_LEDS_TRIGGER_TIMER=m CONFIG_LEDS_TRIGGER_IDE_DISK=y CONFIG_LEDS_TRIGGER_HEARTBEAT=m CONFIG_LEDS_TRIGGER_BACKLIGHT=m CONFIG_LEDS_TRIGGER_GPIO=m CONFIG_LEDS_TRIGGER_DEFAULT_ON=m # # iptables trigger is under Netfilter config (LED target) # CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y CONFIG_INFINIBAND=m CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_MTHCA=m CONFIG_INFINIBAND_MTHCA_DEBUG=y CONFIG_INFINIBAND_IPATH=m CONFIG_INFINIBAND_QIB=m CONFIG_INFINIBAND_AMSO1100=m CONFIG_INFINIBAND_AMSO1100_DEBUG=y CONFIG_INFINIBAND_CXGB3=m CONFIG_INFINIBAND_CXGB3_DEBUG=y CONFIG_INFINIBAND_CXGB4=m CONFIG_MLX4_INFINIBAND=m CONFIG_INFINIBAND_NES=m CONFIG_INFINIBAND_NES_DEBUG=y CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_ISER=m CONFIG_EDAC=y # # Reporting subsystems # CONFIG_EDAC_DEBUG=y CONFIG_EDAC_DECODE_MCE=m CONFIG_EDAC_MCE_INJ=m CONFIG_EDAC_MM_EDAC=m CONFIG_EDAC_MCE=y CONFIG_EDAC_AMD64=m CONFIG_EDAC_AMD64_ERROR_INJECTION=y CONFIG_EDAC_E752X=m CONFIG_EDAC_I82975X=m CONFIG_EDAC_I3000=m CONFIG_EDAC_I3200=m CONFIG_EDAC_X38=m CONFIG_EDAC_I5400=m CONFIG_EDAC_I7CORE=m CONFIG_EDAC_I5000=m CONFIG_EDAC_I5100=m CONFIG_EDAC_I7300=m CONFIG_RTC_LIB=m CONFIG_RTC_CLASS=m # # RTC interfaces # CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y CONFIG_RTC_INTF_DEV_UIE_EMUL=y CONFIG_RTC_DRV_TEST=m # # I2C RTC drivers # CONFIG_RTC_DRV_DS1307=m CONFIG_RTC_DRV_DS1374=m CONFIG_RTC_DRV_DS1672=m CONFIG_RTC_DRV_DS3232=m CONFIG_RTC_DRV_MAX6900=m CONFIG_RTC_DRV_RS5C372=m CONFIG_RTC_DRV_ISL1208=m CONFIG_RTC_DRV_ISL12022=m CONFIG_RTC_DRV_X1205=m CONFIG_RTC_DRV_PCF8563=m CONFIG_RTC_DRV_PCF8583=m CONFIG_RTC_DRV_M41T80=m CONFIG_RTC_DRV_M41T80_WDT=y CONFIG_RTC_DRV_BQ32K=m CONFIG_RTC_DRV_S35390A=m CONFIG_RTC_DRV_FM3130=m CONFIG_RTC_DRV_RX8581=m CONFIG_RTC_DRV_RX8025=m # # SPI RTC drivers # CONFIG_RTC_DRV_M41T94=m CONFIG_RTC_DRV_DS1305=m CONFIG_RTC_DRV_DS1390=m CONFIG_RTC_DRV_MAX6902=m CONFIG_RTC_DRV_R9701=m CONFIG_RTC_DRV_RS5C348=m CONFIG_RTC_DRV_DS3234=m CONFIG_RTC_DRV_PCF2123=m # # Platform RTC drivers # CONFIG_RTC_DRV_CMOS=m CONFIG_RTC_DRV_DS1286=m CONFIG_RTC_DRV_DS1511=m CONFIG_RTC_DRV_DS1553=m CONFIG_RTC_DRV_DS1742=m CONFIG_RTC_DRV_STK17TA8=m CONFIG_RTC_DRV_M48T86=m CONFIG_RTC_DRV_M48T35=m CONFIG_RTC_DRV_M48T59=m CONFIG_RTC_DRV_MSM6242=m CONFIG_RTC_DRV_BQ4802=m CONFIG_RTC_DRV_RP5C01=m CONFIG_RTC_DRV_V3020=m CONFIG_RTC_DRV_WM831X=m CONFIG_RTC_DRV_PCF50633=m # # on-CPU RTC drivers # CONFIG_RTC_DRV_PCAP=m CONFIG_RTC_DRV_MC13XXX=m CONFIG_DMADEVICES=y CONFIG_DMADEVICES_DEBUG=y CONFIG_DMADEVICES_VDEBUG=y # # DMA Devices # CONFIG_INTEL_MID_DMAC=m CONFIG_INTEL_IOATDMA=m CONFIG_TIMB_DMA=m CONFIG_PCH_DMA=m CONFIG_DMA_ENGINE=y # # DMA Clients # CONFIG_NET_DMA=y CONFIG_ASYNC_TX_DMA=y CONFIG_DMATEST=m CONFIG_DCA=m CONFIG_AUXDISPLAY=y CONFIG_KS0108=m CONFIG_KS0108_PORT=0x378 CONFIG_KS0108_DELAY=2 CONFIG_CFAG12864B=m CONFIG_CFAG12864B_RATE=20 CONFIG_UIO=m CONFIG_UIO_CIF=m CONFIG_UIO_PDRV=m CONFIG_UIO_PDRV_GENIRQ=m CONFIG_UIO_AEC=m CONFIG_UIO_SERCOS3=m CONFIG_UIO_PCI_GENERIC=m CONFIG_UIO_NETX=m # # Xen driver support # CONFIG_XEN_BALLOON=y CONFIG_XEN_SCRUB_PAGES=y CONFIG_XEN_DEV_EVTCHN=m CONFIG_XENFS=m CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_SYS_HYPERVISOR=y CONFIG_XEN_PLATFORM_PCI=m CONFIG_SWIOTLB_XEN=y CONFIG_STAGING=y CONFIG_STAGING_EXCLUDE_BUILD=y CONFIG_X86_PLATFORM_DEVICES=y CONFIG_ACER_WMI=m CONFIG_ACERHDF=m CONFIG_ASUS_LAPTOP=m CONFIG_DELL_LAPTOP=m CONFIG_DELL_WMI=m CONFIG_FUJITSU_LAPTOP=m CONFIG_FUJITSU_LAPTOP_DEBUG=y CONFIG_HP_WMI=m CONFIG_MSI_LAPTOP=m CONFIG_PANASONIC_LAPTOP=m CONFIG_COMPAL_LAPTOP=m CONFIG_SONY_LAPTOP=m CONFIG_SONYPI_COMPAT=y CONFIG_IDEAPAD_LAPTOP=m CONFIG_THINKPAD_ACPI=m CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y CONFIG_THINKPAD_ACPI_DEBUG=y CONFIG_THINKPAD_ACPI_UNSAFE_LEDS=y CONFIG_THINKPAD_ACPI_VIDEO=y CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y CONFIG_SENSORS_HDAPS=m CONFIG_INTEL_MENLOW=m CONFIG_EEEPC_LAPTOP=m CONFIG_EEEPC_WMI=m CONFIG_ACPI_WMI=m CONFIG_MSI_WMI=m CONFIG_ACPI_ASUS=m CONFIG_TOPSTAR_LAPTOP=m CONFIG_ACPI_TOSHIBA=m CONFIG_TOSHIBA_BT_RFKILL=m CONFIG_ACPI_CMPC=m CONFIG_INTEL_IPS=m CONFIG_IBM_RTL=m # # Firmware Drivers # CONFIG_EDD=m CONFIG_EDD_OFF=y CONFIG_FIRMWARE_MEMMAP=y CONFIG_EFI_VARS=m CONFIG_DELL_RBU=m CONFIG_DCDBAS=m CONFIG_DMIID=y CONFIG_ISCSI_IBFT_FIND=y CONFIG_ISCSI_IBFT=m # # File systems # CONFIG_EXT2_FS=m CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT2_FS_XIP=y CONFIG_EXT3_FS=m CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y CONFIG_EXT4_FS=m CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y CONFIG_EXT4_DEBUG=y CONFIG_FS_XIP=y CONFIG_JBD=m CONFIG_JBD_DEBUG=y CONFIG_JBD2=m CONFIG_JBD2_DEBUG=y CONFIG_FS_MBCACHE=m CONFIG_REISERFS_FS=m CONFIG_REISERFS_CHECK=y CONFIG_REISERFS_PROC_INFO=y CONFIG_REISERFS_FS_XATTR=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y CONFIG_JFS_FS=m CONFIG_JFS_POSIX_ACL=y CONFIG_JFS_SECURITY=y CONFIG_JFS_DEBUG=y CONFIG_JFS_STATISTICS=y CONFIG_FS_POSIX_ACL=y CONFIG_XFS_FS=m CONFIG_XFS_QUOTA=y CONFIG_XFS_POSIX_ACL=y CONFIG_XFS_RT=y CONFIG_XFS_DEBUG=y CONFIG_GFS2_FS=m CONFIG_GFS2_FS_LOCKING_DLM=y CONFIG_OCFS2_FS=m CONFIG_OCFS2_FS_O2CB=m CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m CONFIG_OCFS2_FS_STATS=y CONFIG_OCFS2_DEBUG_MASKLOG=y CONFIG_OCFS2_DEBUG_FS=y CONFIG_BTRFS_FS=m CONFIG_BTRFS_FS_POSIX_ACL=y CONFIG_NILFS2_FS=m CONFIG_EXPORTFS=m CONFIG_FILE_LOCKING=y CONFIG_FSNOTIFY=y CONFIG_DNOTIFY=y CONFIG_INOTIFY_USER=y CONFIG_FANOTIFY=y CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y CONFIG_PRINT_QUOTA_WARNING=y CONFIG_QUOTA_DEBUG=y CONFIG_QUOTA_TREE=m CONFIG_QFMT_V1=m CONFIG_QFMT_V2=m CONFIG_QUOTACTL=y CONFIG_QUOTACTL_COMPAT=y CONFIG_AUTOFS4_FS=m CONFIG_FUSE_FS=m CONFIG_CUSE=m CONFIG_GENERIC_ACL=y # # Caches # CONFIG_FSCACHE=m CONFIG_FSCACHE_STATS=y CONFIG_FSCACHE_HISTOGRAM=y CONFIG_FSCACHE_DEBUG=y CONFIG_FSCACHE_OBJECT_LIST=y CONFIG_CACHEFILES=m CONFIG_CACHEFILES_DEBUG=y CONFIG_CACHEFILES_HISTOGRAM=y # # CD-ROM/DVD Filesystems # CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_UDF_FS=m CONFIG_UDF_NLS=y # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" CONFIG_NTFS_FS=m CONFIG_NTFS_DEBUG=y CONFIG_NTFS_RW=y # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_PROC_VMCORE=y CONFIG_PROC_SYSCTL=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_SYSFS=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_CONFIGFS_FS=m CONFIG_MISC_FILESYSTEMS=y CONFIG_ADFS_FS=m CONFIG_ADFS_FS_RW=y CONFIG_AFFS_FS=m CONFIG_ECRYPT_FS=m CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m CONFIG_BEFS_FS=m CONFIG_BEFS_DEBUG=y CONFIG_BFS_FS=m CONFIG_EFS_FS=m CONFIG_JFFS2_FS=m CONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y CONFIG_JFFS2_FS_WBUF_VERIFY=y CONFIG_JFFS2_SUMMARY=y CONFIG_JFFS2_FS_XATTR=y CONFIG_JFFS2_FS_POSIX_ACL=y CONFIG_JFFS2_FS_SECURITY=y CONFIG_JFFS2_COMPRESSION_OPTIONS=y CONFIG_JFFS2_ZLIB=y CONFIG_JFFS2_LZO=y CONFIG_JFFS2_RTIME=y CONFIG_JFFS2_RUBIN=y # CONFIG_JFFS2_CMODE_NONE is not set CONFIG_JFFS2_CMODE_PRIORITY=y # CONFIG_JFFS2_CMODE_SIZE is not set # CONFIG_JFFS2_CMODE_FAVOURLZO is not set CONFIG_UBIFS_FS=m CONFIG_UBIFS_FS_XATTR=y CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_UBIFS_FS_LZO=y CONFIG_UBIFS_FS_ZLIB=y CONFIG_UBIFS_FS_DEBUG=y CONFIG_UBIFS_FS_DEBUG_MSG_LVL=0 CONFIG_UBIFS_FS_DEBUG_CHKS=y CONFIG_LOGFS=m CONFIG_CRAMFS=m CONFIG_SQUASHFS=m CONFIG_SQUASHFS_XATTR=y CONFIG_SQUASHFS_LZO=y CONFIG_SQUASHFS_EMBEDDED=y CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 CONFIG_VXFS_FS=m CONFIG_MINIX_FS=m CONFIG_OMFS_FS=m CONFIG_HPFS_FS=m CONFIG_QNX4FS_FS=m CONFIG_ROMFS_FS=m CONFIG_ROMFS_BACKED_BY_BLOCK=y # CONFIG_ROMFS_BACKED_BY_MTD is not set # CONFIG_ROMFS_BACKED_BY_BOTH is not set CONFIG_ROMFS_ON_BLOCK=y CONFIG_SYSV_FS=m CONFIG_UFS_FS=m CONFIG_UFS_FS_WRITE=y CONFIG_UFS_DEBUG=y CONFIG_EXOFS_FS=m CONFIG_EXOFS_DEBUG=y CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y CONFIG_NFS_V4_1=y CONFIG_PNFS_FILE_LAYOUT=m CONFIG_NFS_FSCACHE=y CONFIG_NFS_USE_LEGACY_DNS=y CONFIG_NFS_USE_NEW_IDMAPPER=y CONFIG_NFSD=m CONFIG_NFSD_DEPRECATED=y CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_NFS_ACL_SUPPORT=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m CONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_XPRT_RDMA=m CONFIG_RPCSEC_GSS_KRB5=m CONFIG_CEPH_FS=m CONFIG_CIFS=m CONFIG_CIFS_STATS=y CONFIG_CIFS_STATS2=y CONFIG_CIFS_WEAK_PW_HASH=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y CONFIG_CIFS_POSIX=y CONFIG_CIFS_DEBUG2=y CONFIG_CIFS_DFS_UPCALL=y CONFIG_CIFS_FSCACHE=y CONFIG_CIFS_ACL=y CONFIG_CIFS_EXPERIMENTAL=y CONFIG_NCP_FS=m CONFIG_NCPFS_PACKET_SIGNING=y CONFIG_NCPFS_IOCTL_LOCKING=y CONFIG_NCPFS_STRONG=y CONFIG_NCPFS_NFS_NS=y CONFIG_NCPFS_OS2_NS=y CONFIG_NCPFS_SMALLDOS=y CONFIG_NCPFS_NLS=y CONFIG_NCPFS_EXTRAS=y CONFIG_CODA_FS=m CONFIG_AFS_FS=m CONFIG_AFS_DEBUG=y CONFIG_AFS_FSCACHE=y CONFIG_9P_FS=m CONFIG_9P_FSCACHE=y CONFIG_9P_FS_POSIX_ACL=y # # Partition Types # CONFIG_PARTITION_ADVANCED=y CONFIG_ACORN_PARTITION=y CONFIG_ACORN_PARTITION_CUMANA=y CONFIG_ACORN_PARTITION_EESOX=y CONFIG_ACORN_PARTITION_ICS=y CONFIG_ACORN_PARTITION_ADFS=y CONFIG_ACORN_PARTITION_POWERTEC=y CONFIG_ACORN_PARTITION_RISCIX=y CONFIG_OSF_PARTITION=y CONFIG_AMIGA_PARTITION=y CONFIG_ATARI_PARTITION=y CONFIG_MAC_PARTITION=y CONFIG_MSDOS_PARTITION=y CONFIG_BSD_DISKLABEL=y CONFIG_MINIX_SUBPARTITION=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_UNIXWARE_DISKLABEL=y CONFIG_LDM_PARTITION=y CONFIG_LDM_DEBUG=y CONFIG_SGI_PARTITION=y CONFIG_ULTRIX_PARTITION=y CONFIG_SUN_PARTITION=y CONFIG_KARMA_PARTITION=y CONFIG_EFI_PARTITION=y CONFIG_SYSV68_PARTITION=y CONFIG_NLS=m CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=m CONFIG_NLS_ASCII=m CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_NLS_UTF8=m CONFIG_DLM=m CONFIG_DLM_DEBUG=y # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_PRINTK_TIME=y CONFIG_ENABLE_WARN_DEPRECATED=y CONFIG_ENABLE_MUST_CHECK=y CONFIG_FRAME_WARN=2048 CONFIG_MAGIC_SYSRQ=y CONFIG_STRIP_ASM_SYMS=y CONFIG_UNUSED_SYMBOLS=y CONFIG_DEBUG_FS=y CONFIG_HEADERS_CHECK=y CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_SHIRQ=y CONFIG_LOCKUP_DETECTOR=y CONFIG_HARDLOCKUP_DETECTOR=y CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1 CONFIG_DETECT_HUNG_TASK=y CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1 CONFIG_SCHED_DEBUG=y CONFIG_SCHEDSTATS=y CONFIG_TIMER_STATS=y CONFIG_DEBUG_OBJECTS=y # CONFIG_DEBUG_OBJECTS_SELFTEST is not set CONFIG_DEBUG_OBJECTS_FREE=y CONFIG_DEBUG_OBJECTS_TIMERS=y CONFIG_DEBUG_OBJECTS_WORK=y CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 CONFIG_SLUB_DEBUG_ON=y CONFIG_SLUB_STATS=y CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_PI_LIST=y CONFIG_RT_MUTEX_TESTER=y CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y CONFIG_BKL=y CONFIG_DEBUG_LOCK_ALLOC=y # CONFIG_PROVE_LOCKING is not set CONFIG_SPARSE_RCU_POINTER=y CONFIG_LOCKDEP=y CONFIG_LOCK_STAT=y CONFIG_DEBUG_LOCKDEP=y CONFIG_TRACE_IRQFLAGS=y CONFIG_DEBUG_SPINLOCK_SLEEP=y # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set CONFIG_STACKTRACE=y # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO_REDUCED=y CONFIG_DEBUG_VM=y CONFIG_DEBUG_VIRTUAL=y CONFIG_DEBUG_WRITECOUNT=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_DEBUG_LIST=y CONFIG_TEST_LIST_SORT=y CONFIG_DEBUG_SG=y CONFIG_DEBUG_NOTIFIERS=y CONFIG_DEBUG_CREDENTIALS=y CONFIG_ARCH_WANT_FRAME_POINTERS=y CONFIG_FRAME_POINTER=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_RCU_TORTURE_TEST=m CONFIG_RCU_CPU_STALL_DETECTOR=y CONFIG_RCU_CPU_STALL_TIMEOUT=60 CONFIG_RCU_CPU_STALL_DETECTOR_RUNNABLE=y CONFIG_KPROBES_SANITY_TEST=y # CONFIG_BACKTRACE_SELF_TEST is not set CONFIG_DEBUG_BLOCK_EXT_DEVT=y CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y CONFIG_LKDTM=m CONFIG_CPU_NOTIFIER_ERROR_INJECT=m CONFIG_FAULT_INJECTION=y CONFIG_FAILSLAB=y CONFIG_FAIL_PAGE_ALLOC=y CONFIG_FAIL_MAKE_REQUEST=y CONFIG_FAIL_IO_TIMEOUT=y CONFIG_FAULT_INJECTION_DEBUG_FS=y CONFIG_LATENCYTOP=y CONFIG_SYSCTL_SYSCALL_CHECK=y CONFIG_DEBUG_PAGEALLOC=y CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_NOP_TRACER=y CONFIG_HAVE_FTRACE_NMI_ENTER=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_C_RECORDMCOUNT=y CONFIG_TRACER_MAX_TRACE=y CONFIG_RING_BUFFER=y CONFIG_FTRACE_NMI_ENTER=y CONFIG_EVENT_TRACING=y CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_RING_BUFFER_ALLOW_SWAP=y CONFIG_TRACING=y CONFIG_GENERIC_TRACER=y CONFIG_TRACING_SUPPORT=y CONFIG_FTRACE=y CONFIG_FUNCTION_TRACER=y CONFIG_FUNCTION_GRAPH_TRACER=y CONFIG_IRQSOFF_TRACER=y CONFIG_SCHED_TRACER=y CONFIG_FTRACE_SYSCALLS=y CONFIG_BRANCH_PROFILE_NONE=y # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILE_ALL_BRANCHES is not set CONFIG_STACK_TRACER=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_KPROBE_EVENT=y CONFIG_DYNAMIC_FTRACE=y CONFIG_FUNCTION_PROFILER=y CONFIG_FTRACE_MCOUNT_RECORD=y # CONFIG_FTRACE_STARTUP_TEST is not set CONFIG_MMIOTRACE=y # CONFIG_MMIOTRACE_TEST is not set CONFIG_RING_BUFFER_BENCHMARK=m CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_FIREWIRE_OHCI_REMOTE_DMA=y CONFIG_BUILD_DOCSRC=y CONFIG_DYNAMIC_DEBUG=y CONFIG_DMA_API_DEBUG=y # CONFIG_ATOMIC64_SELFTEST is not set CONFIG_ASYNC_RAID6_TEST=m CONFIG_SAMPLES=y CONFIG_SAMPLE_TRACEPOINTS=m CONFIG_SAMPLE_TRACE_EVENTS=m CONFIG_SAMPLE_KOBJECT=m CONFIG_SAMPLE_KPROBES=m CONFIG_SAMPLE_KRETPROBES=m CONFIG_SAMPLE_HW_BREAKPOINT=m CONFIG_SAMPLE_KFIFO=m CONFIG_SAMPLE_KDB=m CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y CONFIG_KGDB_SERIAL_CONSOLE=m # CONFIG_KGDB_TESTS is not set CONFIG_KGDB_LOW_LEVEL_TRAP=y CONFIG_KGDB_KDB=y CONFIG_KDB_KEYBOARD=y CONFIG_HAVE_ARCH_KMEMCHECK=y CONFIG_STRICT_DEVMEM=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y CONFIG_EARLY_PRINTK_DBGP=y CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_DEBUG_STACK_USAGE=y CONFIG_DEBUG_PER_CPU_MAPS=y CONFIG_X86_PTDUMP=y CONFIG_DEBUG_RODATA=y CONFIG_DEBUG_RODATA_TEST=y CONFIG_DEBUG_NX_TEST=m CONFIG_IOMMU_DEBUG=y CONFIG_IOMMU_STRESS=y CONFIG_IOMMU_LEAK=y CONFIG_HAVE_MMIOTRACE_SUPPORT=y # CONFIG_X86_DECODER_SELFTEST is not set CONFIG_IO_DELAY_TYPE_0X80=0 CONFIG_IO_DELAY_TYPE_0XED=1 CONFIG_IO_DELAY_TYPE_UDELAY=2 CONFIG_IO_DELAY_TYPE_NONE=3 CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_0XED is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IO_DELAY_NONE is not set CONFIG_DEFAULT_IO_DELAY_TYPE=0 CONFIG_DEBUG_BOOT_PARAMS=y CONFIG_CPA_DEBUG=y CONFIG_OPTIMIZE_INLINING=y CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y # # Security options # CONFIG_KEYS=y CONFIG_KEYS_DEBUG_PROC_KEYS=y # CONFIG_SECURITY_DMESG_RESTRICT is not set CONFIG_SECURITY=y CONFIG_SECURITYFS=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_NETWORK_XFRM=y CONFIG_SECURITY_PATH=y CONFIG_INTEL_TXT=y # CONFIG_SECURITY_SELINUX is not set CONFIG_SECURITY_SMACK=y CONFIG_SECURITY_TOMOYO=y CONFIG_SECURITY_APPARMOR=y CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 CONFIG_IMA=y CONFIG_IMA_MEASURE_PCR_IDX=10 CONFIG_IMA_AUDIT=y CONFIG_IMA_LSM_RULES=y # CONFIG_DEFAULT_SECURITY_SMACK is not set # CONFIG_DEFAULT_SECURITY_TOMOYO is not set # CONFIG_DEFAULT_SECURITY_APPARMOR is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" CONFIG_XOR_BLOCKS=m CONFIG_ASYNC_CORE=m CONFIG_ASYNC_MEMCPY=m CONFIG_ASYNC_XOR=m CONFIG_ASYNC_PQ=m CONFIG_ASYNC_RAID6_RECOV=m CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=y CONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=y CONFIG_CRYPTO=y # # Crypto core or helper # CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_ALGAPI2=y CONFIG_CRYPTO_AEAD=m CONFIG_CRYPTO_AEAD2=y CONFIG_CRYPTO_BLKCIPHER=m CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG=m CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_PCOMP=m CONFIG_CRYPTO_PCOMP2=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y CONFIG_CRYPTO_GF128MUL=m CONFIG_CRYPTO_NULL=m CONFIG_CRYPTO_PCRYPT=m CONFIG_CRYPTO_WORKQUEUE=y CONFIG_CRYPTO_CRYPTD=m CONFIG_CRYPTO_AUTHENC=m CONFIG_CRYPTO_TEST=m # # Authenticated Encryption with Associated Data # CONFIG_CRYPTO_CCM=m CONFIG_CRYPTO_GCM=m CONFIG_CRYPTO_SEQIV=m # # Block modes # CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_CTR=m CONFIG_CRYPTO_CTS=m CONFIG_CRYPTO_ECB=m CONFIG_CRYPTO_LRW=m CONFIG_CRYPTO_PCBC=m CONFIG_CRYPTO_XTS=m CONFIG_CRYPTO_FPU=m # # Hash modes # CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_VMAC=m # # Digest # CONFIG_CRYPTO_CRC32C=m CONFIG_CRYPTO_CRC32C_INTEL=m CONFIG_CRYPTO_GHASH=m CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_RMD128=m CONFIG_CRYPTO_RMD160=m CONFIG_CRYPTO_RMD256=m CONFIG_CRYPTO_RMD320=m CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=m CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_TGR192=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m # # Ciphers # CONFIG_CRYPTO_AES=m CONFIG_CRYPTO_AES_X86_64=m CONFIG_CRYPTO_AES_NI_INTEL=m CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_ARC4=m CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_CAMELLIA=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_DES=m CONFIG_CRYPTO_FCRYPT=m CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_SALSA20_X86_64=m CONFIG_CRYPTO_SEED=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_TWOFISH_COMMON=m CONFIG_CRYPTO_TWOFISH_X86_64=m # # Compression # CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_ZLIB=m CONFIG_CRYPTO_LZO=m # # Random Number Generation # CONFIG_CRYPTO_ANSI_CPRNG=m CONFIG_CRYPTO_HW=y CONFIG_CRYPTO_DEV_PADLOCK=m CONFIG_CRYPTO_DEV_PADLOCK_AES=m CONFIG_CRYPTO_DEV_PADLOCK_SHA=m CONFIG_CRYPTO_DEV_HIFN_795X=m CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y CONFIG_HAVE_KVM=y CONFIG_HAVE_KVM_IRQCHIP=y CONFIG_HAVE_KVM_EVENTFD=y CONFIG_KVM_APIC_ARCHITECTURE=y CONFIG_KVM_MMIO=y CONFIG_VIRTUALIZATION=y CONFIG_KVM=m CONFIG_KVM_INTEL=m CONFIG_KVM_AMD=m CONFIG_KVM_MMU_AUDIT=y CONFIG_VHOST_NET=m CONFIG_VIRTIO=m CONFIG_VIRTIO_RING=m CONFIG_VIRTIO_PCI=m CONFIG_VIRTIO_BALLOON=m CONFIG_BINARY_PRINTF=y # # Library routines # CONFIG_RAID6_PQ=m CONFIG_BITREVERSE=y CONFIG_GENERIC_FIND_FIRST_BIT=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_FIND_LAST_BIT=y CONFIG_CRC_CCITT=m CONFIG_CRC16=m CONFIG_CRC_T10DIF=m CONFIG_CRC_ITU_T=m CONFIG_CRC32=y CONFIG_CRC7=m CONFIG_LIBCRC32C=m CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m CONFIG_LZO_COMPRESS=y CONFIG_LZO_DECOMPRESS=y CONFIG_DECOMPRESS_GZIP=y CONFIG_DECOMPRESS_BZIP2=y CONFIG_DECOMPRESS_LZMA=y CONFIG_DECOMPRESS_LZO=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_REED_SOLOMON=m CONFIG_REED_SOLOMON_DEC16=y CONFIG_TEXTSEARCH=y CONFIG_TEXTSEARCH_KMP=m CONFIG_TEXTSEARCH_BM=m CONFIG_TEXTSEARCH_FSM=m CONFIG_BTREE=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y CONFIG_CHECK_SIGNATURE=y CONFIG_CPUMASK_OFFSTACK=y CONFIG_NLATTR=y CONFIG_LRU_CACHE=m ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 18:21 ` Linux 2.6.37-rc8 (no fb) Randy Dunlap @ 2010-12-29 19:40 ` Linus Torvalds 2010-12-29 20:16 ` Jesse Barnes 2010-12-30 18:36 ` Chris Wilson 0 siblings, 2 replies; 117+ messages in thread From: Linus Torvalds @ 2010-12-29 19:40 UTC (permalink / raw) To: Randy Dunlap Cc: dri-devel, Linux Kernel Mailing List, David Airlie, Chris Wilson On Wed, Dec 29, 2010 at 10:21 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > The only significant difference that I can see in the kernel message log > is this: Hmm. I suspect that difference should have gone away with commit 92971021c6328 (Revert "drm: Don't try and disable an encoder that was never enabled"), but clearly that didn't fix your blank screen. Does reverting commit 448f53a1ede54eb854d036abf54573281412d650 ("drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks") fix it for you? It does for some people.. Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can we please just disable spread-spectrum entirely? Or perhaps only if we notice that it was enabled already? Or something? Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 19:40 ` Linus Torvalds @ 2010-12-29 20:16 ` Jesse Barnes 2010-12-29 20:51 ` François Valenduc ` (2 more replies) 2010-12-30 18:36 ` Chris Wilson 1 sibling, 3 replies; 117+ messages in thread From: Jesse Barnes @ 2010-12-29 20:16 UTC (permalink / raw) To: Linus Torvalds Cc: Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua, Alex Riesen On Wed, 29 Dec 2010 11:40:04 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Wed, Dec 29, 2010 at 10:21 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > The only significant difference that I can see in the kernel message log > > is this: > > Hmm. I suspect that difference should have gone away with commit > 92971021c6328 (Revert "drm: Don't try and disable an encoder that was > never enabled"), but clearly that didn't fix your blank screen. > > Does reverting commit 448f53a1ede54eb854d036abf54573281412d650 > ("drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks") fix it for > you? It does for some people.. > > Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can > we please just disable spread-spectrum entirely? Or perhaps only if we > notice that it was enabled already? Or something? Randy, Jeff and Alex, does the below help at all? If so, it may be the minimal fix we want for 2.6.37. diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios index 2b20786..d27d016 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, dev_priv->int_tv_support = general->int_tv_support; dev_priv->int_crt_support = general->int_crt_support; dev_priv->lvds_use_ssc = general->enable_ssc; + /* force disable until we can parse this correctly */ + if (IS_GEN5(dev) || IS_GEN6(dev)) + dev_priv->lvds_use_ssc = 0; if (dev_priv->lvds_use_ssc) { if (IS_I85X(dev)) -- Jesse Barnes, Intel Open Source Technology Center ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 20:16 ` Jesse Barnes @ 2010-12-29 20:51 ` François Valenduc 2010-12-29 21:11 ` Alex Riesen 2010-12-29 22:12 ` Randy Dunlap 2 siblings, 0 replies; 117+ messages in thread From: François Valenduc @ 2010-12-29 20:51 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua, Alex Riesen Le 29/12/10 21:16, Jesse Barnes a écrit : > On Wed, 29 Dec 2010 11:40:04 -0800 > Linus Torvalds <torvalds@linux-foundation.org> wrote: > >> On Wed, Dec 29, 2010 at 10:21 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote: >>> >>> The only significant difference that I can see in the kernel message log >>> is this: >> >> Hmm. I suspect that difference should have gone away with commit >> 92971021c6328 (Revert "drm: Don't try and disable an encoder that was >> never enabled"), but clearly that didn't fix your blank screen. >> >> Does reverting commit 448f53a1ede54eb854d036abf54573281412d650 >> ("drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks") fix it for >> you? It does for some people.. >> >> Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can >> we please just disable spread-spectrum entirely? Or perhaps only if we >> notice that it was enabled already? Or something? > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > minimal fix we want for 2.6.37. > > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > index 2b20786..d27d016 100644 > --- a/drivers/gpu/drm/i915/intel_bios.c > +++ b/drivers/gpu/drm/i915/intel_bios.c > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > dev_priv->int_tv_support = general->int_tv_support; > dev_priv->int_crt_support = general->int_crt_support; > dev_priv->lvds_use_ssc = general->enable_ssc; > + /* force disable until we can parse this correctly */ > + if (IS_GEN5(dev) || IS_GEN6(dev)) > + dev_priv->lvds_use_ssc = 0; > > if (dev_priv->lvds_use_ssc) { > if (IS_I85X(dev)) > > I also encountered the black screen problem after commit 448f53a1. I can confirm that the above patch solves the problem. François Valenduc ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 20:16 ` Jesse Barnes 2010-12-29 20:51 ` François Valenduc @ 2010-12-29 21:11 ` Alex Riesen 2010-12-29 21:18 ` Jesse Barnes 2010-12-29 22:12 ` Randy Dunlap 2 siblings, 1 reply; 117+ messages in thread From: Alex Riesen @ 2010-12-29 21:11 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Wed, Dec 29, 2010 at 21:16, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > On Wed, 29 Dec 2010 11:40:04 -0800 > Linus Torvalds <torvalds@linux-foundation.org> wrote: >> Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can >> we please just disable spread-spectrum entirely? Or perhaps only if we >> notice that it was enabled already? Or something? > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > minimal fix we want for 2.6.37. Something broke your patch: whitespace instead of tabs. > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > index 2b20786..d27d016 100644 > --- a/drivers/gpu/drm/i915/intel_bios.c > +++ b/drivers/gpu/drm/i915/intel_bios.c > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > dev_priv->int_tv_support = general->int_tv_support; > dev_priv->int_crt_support = general->int_crt_support; > dev_priv->lvds_use_ssc = general->enable_ssc; > + /* force disable until we can parse this correctly */ This comment seems to imply that SSC wasn't used at all until recently, right? > + if (IS_GEN5(dev) || IS_GEN6(dev)) > + dev_priv->lvds_use_ssc = 0; Doesn't change anything here. Display stays blank. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 21:11 ` Alex Riesen @ 2010-12-29 21:18 ` Jesse Barnes 2010-12-29 21:53 ` Jesse Barnes 2010-12-29 22:02 ` Alex Riesen 0 siblings, 2 replies; 117+ messages in thread From: Jesse Barnes @ 2010-12-29 21:18 UTC (permalink / raw) To: Alex Riesen Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Wed, 29 Dec 2010 22:11:09 +0100 Alex Riesen <raa.lkml@gmail.com> wrote: > On Wed, Dec 29, 2010 at 21:16, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > > On Wed, 29 Dec 2010 11:40:04 -0800 > > Linus Torvalds <torvalds@linux-foundation.org> wrote: > >> Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can > >> we please just disable spread-spectrum entirely? Or perhaps only if we > >> notice that it was enabled already? Or something? > > > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > > minimal fix we want for 2.6.37. > > Something broke your patch: whitespace instead of tabs. Yeah, just copy & pasted, sorry. > > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > > index 2b20786..d27d016 100644 > > --- a/drivers/gpu/drm/i915/intel_bios.c > > +++ b/drivers/gpu/drm/i915/intel_bios.c > > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > > dev_priv->int_tv_support = general->int_tv_support; > > dev_priv->int_crt_support = general->int_crt_support; > > dev_priv->lvds_use_ssc = general->enable_ssc; > > + /* force disable until we can parse this correctly */ > > This comment seems to imply that SSC wasn't used at all until recently, right? No, we enabled it previously, but it apparently doesn't work on all platforms, probably because we're either looking in the wrong place for the bit that tells us to enable it or not, or we're getting the wrong frequency on some platforms. Probably both (the VBIOS guys work closely with the Windows driver team that consumes this data, and don't always tell us when they make incompatible changes). > > + if (IS_GEN5(dev) || IS_GEN6(dev)) > > + dev_priv->lvds_use_ssc = 0; > > Doesn't change anything here. Display stays blank. Sounds like your problem is separate from SSC then, more likely related to panel power or backlight control. Have you tried bisecting for the problem between 2.6.35 and 2.6.36? -- Jesse Barnes, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 21:18 ` Jesse Barnes @ 2010-12-29 21:53 ` Jesse Barnes 2010-12-29 23:09 ` Alex Riesen 2010-12-29 22:02 ` Alex Riesen 1 sibling, 1 reply; 117+ messages in thread From: Jesse Barnes @ 2010-12-29 21:53 UTC (permalink / raw) To: Alex Riesen Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua > > Doesn't change anything here. Display stays blank. > > Sounds like your problem is separate from SSC then, more likely related > to panel power or backlight control. Have you tried bisecting for the > problem between 2.6.35 and 2.6.36? Nevermind, I just checked out the bug, looks like it is panel power related. Can you try this patch? If it doesn't work, can you send me the output of intel_reg_dumper from before you turn off the display and after you try to turn it back on? Thanks, -- Jesse Barnes, Intel Open Source Technology Center diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c index aa23070..830e3b0 100644 --- a/drivers/gpu/drm/i915/intel_lvds.c +++ b/drivers/gpu/drm/i915/intel_lvds.c @@ -82,8 +82,6 @@ static void intel_lvds_enable(struct intel_lvds *intel_lvds) lvds_reg = LVDS; } - I915_WRITE(lvds_reg, I915_READ(lvds_reg) | LVDS_PORT_EN); - if (intel_lvds->pfit_dirty) { /* * Enable automatic panel scaling so that non-native modes @@ -104,7 +102,7 @@ static void intel_lvds_enable(struct intel_lvds *intel_lvds) } I915_WRITE(ctl_reg, I915_READ(ctl_reg) | POWER_TARGET_ON); - POSTING_READ(lvds_reg); + POSTING_READ(ctl_reg); intel_panel_set_backlight(dev, dev_priv->backlight_level); } @@ -136,8 +134,7 @@ static void intel_lvds_disable(struct intel_lvds *intel_lvds) intel_lvds->pfit_dirty = true; } - I915_WRITE(lvds_reg, I915_READ(lvds_reg) & ~LVDS_PORT_EN); - POSTING_READ(lvds_reg); + POSTING_READ(ctl_reg); } static void intel_lvds_dpms(struct drm_encoder *encoder, int mode) ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 21:53 ` Jesse Barnes @ 2010-12-29 23:09 ` Alex Riesen 2010-12-29 23:13 ` Jesse Barnes 0 siblings, 1 reply; 117+ messages in thread From: Alex Riesen @ 2010-12-29 23:09 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Wed, Dec 29, 2010 at 22:53, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: >> > Doesn't change anything here. Display stays blank. >> >> Sounds like your problem is separate from SSC then, more likely related >> to panel power or backlight control. Have you tried bisecting for the >> problem between 2.6.35 and 2.6.36? > > Nevermind, I just checked out the bug, looks like it is panel power > related. Can you try this patch? Tried. Does not work. > If it doesn't work, can you send me the output of intel_reg_dumper from > before you turn off the display and after you try to turn it back on? See the links below (sorry, they files are a bit large): Before running "xset dpms force standby": http://vin-soft.org/~raa/public/test/intel_gpu_dump-before After running "sleep 3" http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-suspend After running "xset dpms force on" http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-xset-on After closing and opening the lid (displays backlight is back) http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-lid ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 23:09 ` Alex Riesen @ 2010-12-29 23:13 ` Jesse Barnes 2010-12-29 23:20 ` Alex Riesen 0 siblings, 1 reply; 117+ messages in thread From: Jesse Barnes @ 2010-12-29 23:13 UTC (permalink / raw) To: Alex Riesen Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Thu, 30 Dec 2010 00:09:56 +0100 Alex Riesen <raa.lkml@gmail.com> wrote: > On Wed, Dec 29, 2010 at 22:53, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > >> > Doesn't change anything here. Display stays blank. > >> > >> Sounds like your problem is separate from SSC then, more likely related > >> to panel power or backlight control. Have you tried bisecting for the > >> problem between 2.6.35 and 2.6.36? > > > > Nevermind, I just checked out the bug, looks like it is panel power > > related. Can you try this patch? > > Tried. Does not work. > > > If it doesn't work, can you send me the output of intel_reg_dumper from > > before you turn off the display and after you try to turn it back on? > > See the links below (sorry, they files are a bit large): > > Before running "xset dpms force standby": > > http://vin-soft.org/~raa/public/test/intel_gpu_dump-before > > After running "sleep 3" > > http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-suspend > > After running "xset dpms force on" > > http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-xset-on > > After closing and opening the lid (displays backlight is back) > > http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-lid I need the intel_reg_dumper output, not intel_gpu_dump. :) -- Jesse Barnes, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 23:13 ` Jesse Barnes @ 2010-12-29 23:20 ` Alex Riesen 2010-12-29 23:35 ` Alex Riesen 0 siblings, 1 reply; 117+ messages in thread From: Alex Riesen @ 2010-12-29 23:20 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Thu, Dec 30, 2010 at 00:13, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: >> After closing and opening the lid (displays backlight is back) >> >> http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-lid > > I need the intel_reg_dumper output, not intel_gpu_dump. :) > Hmm, there is no intel_reg_dumper in intel-gpu-tools-1.0.2, which is the latest on http://xorg.freedesktop.org/archive/individual/app/, so I assumed you just mistyped the name. Is it in git only? ... Yeah, look like it is in git only, which I have problems to compile (I have a bit of obsoleted system). ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 23:20 ` Alex Riesen @ 2010-12-29 23:35 ` Alex Riesen 2010-12-30 0:02 ` Jesse Barnes 0 siblings, 1 reply; 117+ messages in thread From: Alex Riesen @ 2010-12-29 23:35 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Thu, Dec 30, 2010 at 00:20, Alex Riesen <raa.lkml@gmail.com> wrote: > On Thu, Dec 30, 2010 at 00:13, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: >>> After closing and opening the lid (displays backlight is back) >>> >>> http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-lid >> >> I need the intel_reg_dumper output, not intel_gpu_dump. :) >> > > Hmm, there is no intel_reg_dumper in intel-gpu-tools-1.0.2, which is > the latest on http://xorg.freedesktop.org/archive/individual/app/, > so I assumed you just mistyped the name. Is it in git only? ... > Yeah, look like it is in git only, which I have problems to compile > (I have a bit of obsoleted system). > Is there any other way to get at the dump? Because it looks like it is plainly impossible to build the tools. A lot of dependencies, all really hard to get at on Ubuntu Jaunty. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 23:35 ` Alex Riesen @ 2010-12-30 0:02 ` Jesse Barnes 2010-12-30 0:10 ` Alex Riesen 0 siblings, 1 reply; 117+ messages in thread From: Jesse Barnes @ 2010-12-30 0:02 UTC (permalink / raw) To: Alex Riesen Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Thu, 30 Dec 2010 00:35:15 +0100 Alex Riesen <raa.lkml@gmail.com> wrote: > On Thu, Dec 30, 2010 at 00:20, Alex Riesen <raa.lkml@gmail.com> wrote: > > On Thu, Dec 30, 2010 at 00:13, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > >>> After closing and opening the lid (displays backlight is back) > >>> > >>> http://vin-soft.org/~raa/public/test/intel_gpu_dump-after-lid > >> > >> I need the intel_reg_dumper output, not intel_gpu_dump. :) > >> > > > > Hmm, there is no intel_reg_dumper in intel-gpu-tools-1.0.2, which is > > the latest on http://xorg.freedesktop.org/archive/individual/app/, > > so I assumed you just mistyped the name. Is it in git only? ... > > Yeah, look like it is in git only, which I have problems to compile > > (I have a bit of obsoleted system). > > > > Is there any other way to get at the dump? Because it looks like > it is plainly impossible to build the tools. A lot of dependencies, > all really hard to get at on Ubuntu Jaunty. That's the easiest way; I think there are existing packages available as well, but you may have to check Karmic or newer. -- Jesse Barnes, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-30 0:02 ` Jesse Barnes @ 2010-12-30 0:10 ` Alex Riesen 0 siblings, 0 replies; 117+ messages in thread From: Alex Riesen @ 2010-12-30 0:10 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Thu, Dec 30, 2010 at 01:02, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > That's the easiest way; I think there are existing packages available > as well, but you may have to check Karmic or newer. Never mind. I'm lazy (that's not to say someone is too). I redid the test: Before running "xset dpms force standby": http://vin-soft.org/~raa/public/test/intel_reg_dumper-before After running "sleep 3" http://vin-soft.org/~raa/public/test/intel_reg_dumper-suspend After running "xset dpms force on; sleep 3" http://vin-soft.org/~raa/public/test/intel_reg_dumper-xset-on After closing and opening the lid (displays backlight is back) http://vin-soft.org/~raa/public/test/intel_reg_dumper-lid ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 21:18 ` Jesse Barnes 2010-12-29 21:53 ` Jesse Barnes @ 2010-12-29 22:02 ` Alex Riesen 1 sibling, 0 replies; 117+ messages in thread From: Alex Riesen @ 2010-12-29 22:02 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua On Wed, Dec 29, 2010 at 22:18, Jesse Barnes <jbarnes@virtuousgeek.org> wrote: >> > + if (IS_GEN5(dev) || IS_GEN6(dev)) >> > + dev_priv->lvds_use_ssc = 0; >> >> Doesn't change anything here. Display stays blank. > > Sounds like your problem is separate from SSC then, more likely related > to panel power or backlight control. Have you tried bisecting for the > problem between 2.6.35 and 2.6.36? No. I assumed the bisection in the bug https://bugzilla.kernel.org/show_bug.cgi?id=22672 was for the same problem as mine. It probably is not... I'm running a bisect right now. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 20:16 ` Jesse Barnes 2010-12-29 20:51 ` François Valenduc 2010-12-29 21:11 ` Alex Riesen @ 2010-12-29 22:12 ` Randy Dunlap 2010-12-29 22:46 ` Jesse Barnes 2 siblings, 1 reply; 117+ messages in thread From: Randy Dunlap @ 2010-12-29 22:12 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Randy Dunlap, Linux Kernel Mailing List, dri-devel, Jeff Chua, Alex Riesen On Wed, 29 Dec 2010 12:16:01 -0800 Jesse Barnes wrote: > On Wed, 29 Dec 2010 11:40:04 -0800 > Linus Torvalds <torvalds@linux-foundation.org> wrote: > > > On Wed, Dec 29, 2010 at 10:21 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > > > The only significant difference that I can see in the kernel message log > > > is this: > > > > Hmm. I suspect that difference should have gone away with commit > > 92971021c6328 (Revert "drm: Don't try and disable an encoder that was > > never enabled"), but clearly that didn't fix your blank screen. > > > > Does reverting commit 448f53a1ede54eb854d036abf54573281412d650 > > ("drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks") fix it for > > you? It does for some people.. > > > > Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can > > we please just disable spread-spectrum entirely? Or perhaps only if we > > notice that it was enabled already? Or something? > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > minimal fix we want for 2.6.37. > > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > index 2b20786..d27d016 100644 > --- a/drivers/gpu/drm/i915/intel_bios.c > +++ b/drivers/gpu/drm/i915/intel_bios.c > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > dev_priv->int_tv_support = general->int_tv_support; > dev_priv->int_crt_support = general->int_crt_support; > dev_priv->lvds_use_ssc = general->enable_ssc; > + /* force disable until we can parse this correctly */ > + if (IS_GEN5(dev) || IS_GEN6(dev)) > + dev_priv->lvds_use_ssc = 0; > > if (dev_priv->lvds_use_ssc) { > if (IS_I85X(dev)) > > > -- Ugh, looks like I have confused things horribly. Sorry about this. 2.6.37-rc8 with no patches works for me. My original report was incorrect -- I was using -rc7 when I thought I was using -rc8. :( Regrets, --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** desserts: http://www.xenotime.net/linux/recipes/ ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 22:12 ` Randy Dunlap @ 2010-12-29 22:46 ` Jesse Barnes 2010-12-29 23:40 ` Randy Dunlap 0 siblings, 1 reply; 117+ messages in thread From: Jesse Barnes @ 2010-12-29 22:46 UTC (permalink / raw) To: Randy Dunlap Cc: Linus Torvalds, Linux Kernel Mailing List, dri-devel, Jeff Chua, Alex Riesen > > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > > index 2b20786..d27d016 100644 > > --- a/drivers/gpu/drm/i915/intel_bios.c > > +++ b/drivers/gpu/drm/i915/intel_bios.c > > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > > dev_priv->int_tv_support = general->int_tv_support; > > dev_priv->int_crt_support = general->int_crt_support; > > dev_priv->lvds_use_ssc = general->enable_ssc; > > + /* force disable until we can parse this correctly */ > > + if (IS_GEN5(dev) || IS_GEN6(dev)) > > + dev_priv->lvds_use_ssc = 0; > > > > if (dev_priv->lvds_use_ssc) { > > if (IS_I85X(dev)) > > > > > > -- > > Ugh, looks like I have confused things horribly. Sorry about this. > > 2.6.37-rc8 with no patches works for me. My original report was incorrect -- > I was using -rc7 when I thought I was using -rc8. :( Can you confirm that the above doesn't break your setup just in case we need to apply it? Thanks, -- Jesse Barnes, Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 22:46 ` Jesse Barnes @ 2010-12-29 23:40 ` Randy Dunlap 0 siblings, 0 replies; 117+ messages in thread From: Randy Dunlap @ 2010-12-29 23:40 UTC (permalink / raw) To: Jesse Barnes Cc: Linus Torvalds, Linux Kernel Mailing List, dri-devel, Jeff Chua, Alex Riesen On Wed, 29 Dec 2010 14:46:14 -0800 Jesse Barnes wrote: > > > diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios > > > index 2b20786..d27d016 100644 > > > --- a/drivers/gpu/drm/i915/intel_bios.c > > > +++ b/drivers/gpu/drm/i915/intel_bios.c > > > @@ -263,6 +263,9 @@ parse_general_features(struct drm_i915_private *dev_priv, > > > dev_priv->int_tv_support = general->int_tv_support; > > > dev_priv->int_crt_support = general->int_crt_support; > > > dev_priv->lvds_use_ssc = general->enable_ssc; > > > + /* force disable until we can parse this correctly */ > > > + if (IS_GEN5(dev) || IS_GEN6(dev)) > > > + dev_priv->lvds_use_ssc = 0; > > > > > > if (dev_priv->lvds_use_ssc) { > > > if (IS_I85X(dev)) > > > > > > > > > -- > > > > Ugh, looks like I have confused things horribly. Sorry about this. > > > > 2.6.37-rc8 with no patches works for me. My original report was incorrect -- > > I was using -rc7 when I thought I was using -rc8. :( > > Can you confirm that the above doesn't break your setup just in case we > need to apply it? Yes, confirmed, my test platform still works with this patch applied. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** desserts: http://www.xenotime.net/linux/recipes/ ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 (no fb) 2010-12-29 19:40 ` Linus Torvalds 2010-12-29 20:16 ` Jesse Barnes @ 2010-12-30 18:36 ` Chris Wilson 1 sibling, 0 replies; 117+ messages in thread From: Chris Wilson @ 2010-12-30 18:36 UTC (permalink / raw) To: Linus Torvalds, Randy Dunlap Cc: dri-devel, Linux Kernel Mailing List, David Airlie On Wed, 29 Dec 2010 11:40:04 -0800, Linus Torvalds <torvalds@linux-foundation.org> wrote: > On Wed, Dec 29, 2010 at 10:21 AM, Randy Dunlap <randy.dunlap@oracle.com> wrote: > > > > The only significant difference that I can see in the kernel message log > > is this: > > Hmm. I suspect that difference should have gone away with commit > 92971021c6328 (Revert "drm: Don't try and disable an encoder that was > never enabled"), but clearly that didn't fix your blank screen. > > Does reverting commit 448f53a1ede54eb854d036abf54573281412d650 > ("drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks") fix it for > you? It does for some people.. > > Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can > we please just disable spread-spectrum entirely? Or perhaps only if we > notice that it was enabled already? Or something? It appeared to be the easiest fix for the machines I had to hand and was confirmed by several people with identical machines. However, it definitely caused a regression for working panels and therefore it will be reverted. -Chris -- Chris Wilson, Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 117+ messages in thread
* still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds 2010-12-29 11:18 ` Borislav Petkov 2010-12-29 18:21 ` Linux 2.6.37-rc8 (no fb) Randy Dunlap @ 2010-12-30 17:14 ` Uwe Kleine-König 2010-12-30 17:57 ` Linus Torvalds 2010-12-30 17:59 ` Trond Myklebust 2011-01-03 8:48 ` Linux 2.6.37-rc8 Domenico Andreoli 2011-01-04 14:26 ` Pavel Machek 4 siblings, 2 replies; 117+ messages in thread From: Uwe Kleine-König @ 2010-12-30 17:14 UTC (permalink / raw) To: Linus Torvalds; +Cc: linux-kernel, linux-arm-kernel Hello, I wonder if the nfs-stuff is considered to be solved, because I still see strange things. During boot my machine sometimes (approx one out of two times) hangs with the output pasted below on Sysctl-l. The irq I'm not 100% sure it's related, but at least it seems to hang in nfs_readdir. (When the serial irq happend that triggered the sysrq the program counter was at 0xc014601c, which is fs/nfs/dir.c:647 for me.) This is on 2.6.37-rc8 plus some patches for machine support on an ARM machine. Best regards Uwe [ 2700.100000] SysRq : Show State [ 2700.100000] task PC stack pid father [ 2700.100000] init S c0285d80 0 1 0 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) [ 2700.100000] r8:c0034088 r7:00000072 r6:00000001 r5:0000001b r4:0140b228 [ 2700.100000] kthreadd S c0285d80 0 2 0 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006a30c>] (kthreadd+0x70/0xfc) [ 2700.100000] [<c006a29c>] (kthreadd+0x0/0xfc) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] ksoftirqd/0 S c0285d80 0 3 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c0052714>] (run_ksoftirqd+0x5c/0x110) [ 2700.100000] [<c00526b8>] (run_ksoftirqd+0x0/0x110) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] r8:00000000 r7:c00526b8 r6:00000000 r5:c7843f1c r4:c7859fac [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c [ 2700.100000] kworker/0:0 S c0285d80 0 4 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc [ 2700.100000] kworker/u:0 S c0285d80 0 5 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc [ 2700.100000] watchdog/0 S c0285d80 0 6 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c008b418>] (watchdog+0xc0/0x110) [ 2700.100000] [<c008b358>] (watchdog+0x0/0x110) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] r6:00000000 r5:c7843efc r4:c785ffac [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843efc [ 2700.100000] khelper S c0285d80 0 7 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c [ 2700.100000] sync_supers S c0285d80 0 8 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00cd114>] (bdi_sync_supers+0x38/0x50) [ 2700.100000] [<c00cd0dc>] (bdi_sync_supers+0x0/0x50) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] r5:c7843f2c r4:c7895fac [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f2c [ 2700.100000] bdi-default S c0285d80 0 9 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c02864b4>] (schedule_timeout+0x22c/0x27c) [ 2700.100000] [<c0286288>] (schedule_timeout+0x0/0x27c) from [<c00ce014>] (bdi_forker_thread+0x3a8/0x41c) [ 2700.100000] r8:c0363f80 r7:00000000 r6:00000000 r5:c03641e8 r4:00000000 [ 2700.100000] [<c00cdc6c>] (bdi_forker_thread+0x0/0x41c) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843efc [ 2700.100000] kintegrityd S c0285d80 0 10 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843e9c [ 2700.100000] kblockd S c0285d80 0 11 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ec4 [ 2700.100000] rpciod S c0285d80 0 12 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ebc [ 2700.100000] kworker/0:1 S c0285d80 0 13 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c785be94 [ 2700.100000] khungtaskd S c0285d80 0 14 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c02864b4>] (schedule_timeout+0x22c/0x27c) [ 2700.100000] [<c0286288>] (schedule_timeout+0x0/0x27c) from [<c0286584>] (schedule_timeout_interruptible+0x28/0x2c) [ 2700.100000] r8:00000078 r7:00007fe9 r6:000003e9 r5:c034eef0 r4:00000064 [ 2700.100000] [<c028655c>] (schedule_timeout_interruptible+0x0/0x2c) from [<c008ada8>] (watchdog+0x54/0x2e8) [ 2700.100000] [<c008ad54>] (watchdog+0x0/0x2e8) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f2c [ 2700.100000] kswapd0 S c0285d80 0 15 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00c5ea4>] (kswapd+0x210/0x74c) [ 2700.100000] [<c00c5c94>] (kswapd+0x0/0x74c) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c [ 2700.100000] fsnotify_mark S c0285d80 0 16 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c011f884>] (fsnotify_mark_destroy+0x11c/0x144) [ 2700.100000] [<c011f768>] (fsnotify_mark_destroy+0x0/0x144) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f34 [ 2700.100000] aio S c0285d80 0 17 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc [ 2700.100000] nfsiod S c0285d80 0 18 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc [ 2700.100000] crypto S c0285d80 0 19 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ee4 [ 2700.100000] kworker/u:1 S c0285d80 0 24 2 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c785de94 [ 2700.100000] rcS S c0285d80 0 27 1 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) [ 2700.100000] r8:c0034088 r7:00000072 r6:ffffffff r5:bee7880c r4:00000000 [ 2700.100000] run-parts S c0285d80 0 35 27 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) [ 2700.100000] r8:c0034088 r7:00000072 r6:00000024 r5:bef7dcc4 r4:00000000 [ 2700.100000] S00splashutil R running 0 36 35 0x00000000 [ 2700.100000] Backtrace: [ 2700.100000] [<c0037b54>] (dump_backtrace+0x0/0x110) from [<c0037c80>] (show_stack+0x1c/0x20) [ 2700.100000] r7:c79cfd64 r6:00000000 r5:c7954600 r4:00000000 [ 2700.100000] [<c0037c64>] (show_stack+0x0/0x20) from [<c0046b78>] (sched_show_task+0xb0/0xcc) [ 2700.100000] [<c0046ac8>] (sched_show_task+0x0/0xcc) from [<c0046bf0>] (show_state_filter+0x5c/0xc8) [ 2700.100000] r5:c7954600 r4:c7954600 [ 2700.100000] [<c0046b94>] (show_state_filter+0x0/0xc8) from [<c01c5c40>] (sysrq_handle_showstate+0x18/0x1c) [ 2700.100000] r8:20000093 r7:00000007 r6:00000001 r5:00000074 r4:c036ec5c [ 2700.100000] [<c01c5c28>] (sysrq_handle_showstate+0x0/0x1c) from [<c01c6040>] (__handle_sysrq+0xe0/0x190) [ 2700.100000] [<c01c5f60>] (__handle_sysrq+0x0/0x190) from [<c01c62d8>] (handle_sysrq+0x38/0x44) [ 2700.100000] r8:c7999000 r7:00000100 r6:c7973640 r5:00010074 r4:c7864300 [ 2700.100000] [<c01c62a0>] (handle_sysrq+0x0/0x44) from [<c01da100>] (pl011_int+0x18c/0x5a4) [ 2700.100000] [<c01d9f74>] (pl011_int+0x0/0x5a4) from [<c008b8b0>] (handle_IRQ_event+0x7c/0x1a8) [ 2700.100000] [<c008b834>] (handle_IRQ_event+0x0/0x1a8) from [<c008de5c>] (handle_level_irq+0xc8/0x148) [ 2700.100000] [<c008dd94>] (handle_level_irq+0x0/0x148) from [<c002d080>] (asm_do_IRQ+0x80/0xa4) [ 2700.100000] r7:c74a05a4 r6:c74a0508 r5:00000000 r4:0000002f [ 2700.100000] [<c002d000>] (asm_do_IRQ+0x0/0xa4) from [<c0033ab8>] (__irq_svc+0x38/0x80) [ 2700.100000] Exception stack(0xc79cfe88 to 0xc79cfed0) [ 2700.100000] fe80: c74a0508 00000000 c0145d24 c7487e60 00000000 c79cfee8 [ 2700.100000] fea0: c74a0508 c74a05a4 c7487e60 c79cfee8 c74a0508 c79cff4c c79ce000 c79cfed0 [ 2700.100000] fec0: c016ff10 c014601c 60000013 ffffffff [ 2700.100000] r5:f5000000 r4:ffffffff [ 2700.100000] [<c0145f0c>] (nfs_readdir+0x0/0x458) from [<c00fa298>] (vfs_readdir+0x7c/0xb0) [ 2700.100000] [<c00fa21c>] (vfs_readdir+0x0/0xb0) from [<c00fa3fc>] (sys_getdents+0x70/0xb8) [ 2700.100000] [<c00fa38c>] (sys_getdents+0x0/0xb8) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) [ 2700.100000] r7:0000008d r6:00000000 r5:402ed00c r4:402ed020 [ 2700.100000] Sched Debug Version: v0.09, 2.6.37-rc8-00065-g1cd48e3-dirty #35 [ 2700.100000] now at 2701202.749966 msecs [ 2700.100000] .jiffies : 240010 [ 2700.100000] .sysctl_sched_latency : 6.000000 [ 2700.100000] .sysctl_sched_min_granularity : 0.750000 [ 2700.100000] .sysctl_sched_wakeup_granularity : 1.000000 [ 2700.100000] .sysctl_sched_child_runs_first : 0 [ 2700.100000] .sysctl_sched_features : 31855 [ 2700.100000] .sysctl_sched_tunable_scaling : 1 (logaritmic) [ 2700.100000] [ 2700.100000] cpu#0 [ 2700.100000] .nr_running : 1 [ 2700.100000] .load : 1024 [ 2700.100000] .nr_switches : 11875 [ 2700.100000] .nr_load_updates : 269696 [ 2700.100000] .nr_uninterruptible : 0 [ 2700.100000] .next_balance : 0.000000 [ 2700.100000] .curr->pid : 36 [ 2700.100000] .clock : 2700100.000000 [ 2700.100000] .cpu_load[0] : 1024 [ 2700.100000] .cpu_load[1] : 1024 [ 2700.100000] .cpu_load[2] : 1024 [ 2700.100000] .cpu_load[3] : 1024 [ 2700.100000] .cpu_load[4] : 1024 [ 2700.100000] [ 2700.100000] cfs_rq[0]: [ 2700.100000] .exec_clock : 0.000000 [ 2700.100000] .MIN_vruntime : 0.000001 [ 2700.100000] .min_vruntime : 2695651.938408 [ 2700.100000] .max_vruntime : 0.000001 [ 2700.100000] .spread : 0.000000 [ 2700.100000] .spread0 : 0.000000 [ 2700.100000] .nr_running : 1 [ 2700.100000] .load : 1024 [ 2700.100000] .nr_spread_over : 0 [ 2700.100000] [ 2700.100000] rt_rq[0]: [ 2700.100000] .rt_nr_running : 0 [ 2700.100000] .rt_throttled : 0 [ 2700.100000] .rt_time : 0.000000 [ 2700.100000] .rt_runtime : 950.000000 [ 2700.100000] [ 2700.100000] runnable tasks: [ 2700.100000] task PID tree-key switches prio exec-runtime sum-exec sum-sleep [ 2700.100000] ---------------------------------------------------------------------------------------------------------- [ 2700.100000] R S00splashutils 36 2695651.938408 5397 120 0 0 0.000000 0.000000 0.000000 [ 2700.100000] [ 2700.100000] [ 2700.100000] Showing all locks held in the system: [ 2700.100000] 4 locks held by S00splashutils/36: [ 2700.100000] #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [<c00fa268>] vfs_readdir+0x4c/0xb0 [ 2700.100000] #1: (&port_lock_key){-.-...}, at: [<c01d9f94>] pl011_int+0x20/0x5a4 [ 2700.100000] #2: (sysrq_key_table_lock){-.....}, at: [<c01c5f84>] __handle_sysrq+0x24/0x190 [ 2700.100000] #3: (tasklist_lock){.?.+..}, at: [<c007c404>] debug_show_all_locks+0x40/0x1a4 [ 2700.100000] [ 2700.100000] ============================================= [ 2700.100000] -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 17:14 ` still nfs problems [Was: Linux 2.6.37-rc8] Uwe Kleine-König @ 2010-12-30 17:57 ` Linus Torvalds 2010-12-30 18:24 ` Trond Myklebust 2010-12-30 17:59 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2010-12-30 17:57 UTC (permalink / raw) To: Uwe Kleine-König, Trond Myklebust, Chuck Lever Cc: linux-kernel, linux-arm-kernel, Arnd Bergmann Please cc the poor hapless NFS people too, who probably otherwise wouldn't see it. And Arnd just in case it might be locking-related. Trond, any ideas? The sysrq thing does imply that it's stuck in some busy-loop in fs/nfs/dir.c, and line 647 is get_cache_page(), which in turn implies that the endless loop is either the loop in readdir_search_pagecache() _or_ in a caller. In particular, the EBADCOOKIE case in the caller (nfs_readdir) looks suspicious. What protects us from endless streams of EBADCOOKIE and a successful uncached_readdir? Linus 2010/12/30 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>: > Hello, > > I wonder if the nfs-stuff is considered to be solved, because I still > see strange things. > > During boot my machine sometimes (approx one out of two times) hangs with > the output pasted below on Sysctl-l. The irq > > I'm not 100% sure it's related, but at least it seems to hang in > nfs_readdir. (When the serial irq happend that triggered the sysrq the > program counter was at 0xc014601c, which is fs/nfs/dir.c:647 for me.) > > This is on 2.6.37-rc8 plus some patches for machine support on an ARM > machine. > > Best regards > Uwe > > [ 2700.100000] SysRq : Show State > [ 2700.100000] task PC stack pid father > [ 2700.100000] init S c0285d80 0 1 0 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) > [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) > [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) > [ 2700.100000] r8:c0034088 r7:00000072 r6:00000001 r5:0000001b r4:0140b228 > [ 2700.100000] kthreadd S c0285d80 0 2 0 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006a30c>] (kthreadd+0x70/0xfc) > [ 2700.100000] [<c006a29c>] (kthreadd+0x0/0xfc) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] ksoftirqd/0 S c0285d80 0 3 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c0052714>] (run_ksoftirqd+0x5c/0x110) > [ 2700.100000] [<c00526b8>] (run_ksoftirqd+0x0/0x110) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] r8:00000000 r7:c00526b8 r6:00000000 r5:c7843f1c r4:c7859fac > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c > [ 2700.100000] kworker/0:0 S c0285d80 0 4 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) > [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc > [ 2700.100000] kworker/u:0 S c0285d80 0 5 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) > [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc > [ 2700.100000] watchdog/0 S c0285d80 0 6 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c008b418>] (watchdog+0xc0/0x110) > [ 2700.100000] [<c008b358>] (watchdog+0x0/0x110) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] r6:00000000 r5:c7843efc r4:c785ffac > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843efc > [ 2700.100000] khelper S c0285d80 0 7 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c > [ 2700.100000] sync_supers S c0285d80 0 8 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00cd114>] (bdi_sync_supers+0x38/0x50) > [ 2700.100000] [<c00cd0dc>] (bdi_sync_supers+0x0/0x50) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] r5:c7843f2c r4:c7895fac > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f2c > [ 2700.100000] bdi-default S c0285d80 0 9 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c02864b4>] (schedule_timeout+0x22c/0x27c) > [ 2700.100000] [<c0286288>] (schedule_timeout+0x0/0x27c) from [<c00ce014>] (bdi_forker_thread+0x3a8/0x41c) > [ 2700.100000] r8:c0363f80 r7:00000000 r6:00000000 r5:c03641e8 r4:00000000 > [ 2700.100000] [<c00cdc6c>] (bdi_forker_thread+0x0/0x41c) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843efc > [ 2700.100000] kintegrityd S c0285d80 0 10 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843e9c > [ 2700.100000] kblockd S c0285d80 0 11 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ec4 > [ 2700.100000] rpciod S c0285d80 0 12 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ebc > [ 2700.100000] kworker/0:1 S c0285d80 0 13 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) > [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c785be94 > [ 2700.100000] khungtaskd S c0285d80 0 14 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c02864b4>] (schedule_timeout+0x22c/0x27c) > [ 2700.100000] [<c0286288>] (schedule_timeout+0x0/0x27c) from [<c0286584>] (schedule_timeout_interruptible+0x28/0x2c) > [ 2700.100000] r8:00000078 r7:00007fe9 r6:000003e9 r5:c034eef0 r4:00000064 > [ 2700.100000] [<c028655c>] (schedule_timeout_interruptible+0x0/0x2c) from [<c008ada8>] (watchdog+0x54/0x2e8) > [ 2700.100000] [<c008ad54>] (watchdog+0x0/0x2e8) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f2c > [ 2700.100000] kswapd0 S c0285d80 0 15 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00c5ea4>] (kswapd+0x210/0x74c) > [ 2700.100000] [<c00c5c94>] (kswapd+0x0/0x74c) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f1c > [ 2700.100000] fsnotify_mark S c0285d80 0 16 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c011f884>] (fsnotify_mark_destroy+0x11c/0x144) > [ 2700.100000] [<c011f768>] (fsnotify_mark_destroy+0x0/0x144) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843f34 > [ 2700.100000] aio S c0285d80 0 17 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc > [ 2700.100000] nfsiod S c0285d80 0 18 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843edc > [ 2700.100000] crypto S c0285d80 0 19 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c00657d4>] (rescuer_thread+0x1b8/0x1c4) > [ 2700.100000] [<c006561c>] (rescuer_thread+0x0/0x1c4) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c7843ee4 > [ 2700.100000] kworker/u:1 S c0285d80 0 24 2 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c006480c>] (worker_thread+0x41c/0x444) > [ 2700.100000] [<c00643f0>] (worker_thread+0x0/0x444) from [<c006a294>] (kthread+0x8c/0x94) > [ 2700.100000] [<c006a208>] (kthread+0x0/0x94) from [<c004f4d8>] (do_exit+0x0/0x658) > [ 2700.100000] r7:00000013 r6:c004f4d8 r5:c006a208 r4:c785de94 > [ 2700.100000] rcS S c0285d80 0 27 1 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) > [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) > [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) > [ 2700.100000] r8:c0034088 r7:00000072 r6:ffffffff r5:bee7880c r4:00000000 > [ 2700.100000] run-parts S c0285d80 0 35 27 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c02858c8>] (schedule+0x0/0x534) from [<c004f268>] (do_wait+0x1a4/0x20c) > [ 2700.100000] [<c004f0c4>] (do_wait+0x0/0x20c) from [<c004f378>] (sys_wait4+0xa8/0xc0) > [ 2700.100000] [<c004f2d0>] (sys_wait4+0x0/0xc0) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) > [ 2700.100000] r8:c0034088 r7:00000072 r6:00000024 r5:bef7dcc4 r4:00000000 > [ 2700.100000] S00splashutil R running 0 36 35 0x00000000 > [ 2700.100000] Backtrace: > [ 2700.100000] [<c0037b54>] (dump_backtrace+0x0/0x110) from [<c0037c80>] (show_stack+0x1c/0x20) > [ 2700.100000] r7:c79cfd64 r6:00000000 r5:c7954600 r4:00000000 > [ 2700.100000] [<c0037c64>] (show_stack+0x0/0x20) from [<c0046b78>] (sched_show_task+0xb0/0xcc) > [ 2700.100000] [<c0046ac8>] (sched_show_task+0x0/0xcc) from [<c0046bf0>] (show_state_filter+0x5c/0xc8) > [ 2700.100000] r5:c7954600 r4:c7954600 > [ 2700.100000] [<c0046b94>] (show_state_filter+0x0/0xc8) from [<c01c5c40>] (sysrq_handle_showstate+0x18/0x1c) > [ 2700.100000] r8:20000093 r7:00000007 r6:00000001 r5:00000074 r4:c036ec5c > [ 2700.100000] [<c01c5c28>] (sysrq_handle_showstate+0x0/0x1c) from [<c01c6040>] (__handle_sysrq+0xe0/0x190) > [ 2700.100000] [<c01c5f60>] (__handle_sysrq+0x0/0x190) from [<c01c62d8>] (handle_sysrq+0x38/0x44) > [ 2700.100000] r8:c7999000 r7:00000100 r6:c7973640 r5:00010074 r4:c7864300 > [ 2700.100000] [<c01c62a0>] (handle_sysrq+0x0/0x44) from [<c01da100>] (pl011_int+0x18c/0x5a4) > [ 2700.100000] [<c01d9f74>] (pl011_int+0x0/0x5a4) from [<c008b8b0>] (handle_IRQ_event+0x7c/0x1a8) > [ 2700.100000] [<c008b834>] (handle_IRQ_event+0x0/0x1a8) from [<c008de5c>] (handle_level_irq+0xc8/0x148) > [ 2700.100000] [<c008dd94>] (handle_level_irq+0x0/0x148) from [<c002d080>] (asm_do_IRQ+0x80/0xa4) > [ 2700.100000] r7:c74a05a4 r6:c74a0508 r5:00000000 r4:0000002f > [ 2700.100000] [<c002d000>] (asm_do_IRQ+0x0/0xa4) from [<c0033ab8>] (__irq_svc+0x38/0x80) > [ 2700.100000] Exception stack(0xc79cfe88 to 0xc79cfed0) > [ 2700.100000] fe80: c74a0508 00000000 c0145d24 c7487e60 00000000 c79cfee8 > [ 2700.100000] fea0: c74a0508 c74a05a4 c7487e60 c79cfee8 c74a0508 c79cff4c c79ce000 c79cfed0 > [ 2700.100000] fec0: c016ff10 c014601c 60000013 ffffffff > [ 2700.100000] r5:f5000000 r4:ffffffff > [ 2700.100000] [<c0145f0c>] (nfs_readdir+0x0/0x458) from [<c00fa298>] (vfs_readdir+0x7c/0xb0) > [ 2700.100000] [<c00fa21c>] (vfs_readdir+0x0/0xb0) from [<c00fa3fc>] (sys_getdents+0x70/0xb8) > [ 2700.100000] [<c00fa38c>] (sys_getdents+0x0/0xb8) from [<c0033e80>] (ret_fast_syscall+0x0/0x38) > [ 2700.100000] r7:0000008d r6:00000000 r5:402ed00c r4:402ed020 > [ 2700.100000] Sched Debug Version: v0.09, 2.6.37-rc8-00065-g1cd48e3-dirty #35 > [ 2700.100000] now at 2701202.749966 msecs > [ 2700.100000] .jiffies : 240010 > [ 2700.100000] .sysctl_sched_latency : 6.000000 > [ 2700.100000] .sysctl_sched_min_granularity : 0.750000 > [ 2700.100000] .sysctl_sched_wakeup_granularity : 1.000000 > [ 2700.100000] .sysctl_sched_child_runs_first : 0 > [ 2700.100000] .sysctl_sched_features : 31855 > [ 2700.100000] .sysctl_sched_tunable_scaling : 1 (logaritmic) > [ 2700.100000] > [ 2700.100000] cpu#0 > [ 2700.100000] .nr_running : 1 > [ 2700.100000] .load : 1024 > [ 2700.100000] .nr_switches : 11875 > [ 2700.100000] .nr_load_updates : 269696 > [ 2700.100000] .nr_uninterruptible : 0 > [ 2700.100000] .next_balance : 0.000000 > [ 2700.100000] .curr->pid : 36 > [ 2700.100000] .clock : 2700100.000000 > [ 2700.100000] .cpu_load[0] : 1024 > [ 2700.100000] .cpu_load[1] : 1024 > [ 2700.100000] .cpu_load[2] : 1024 > [ 2700.100000] .cpu_load[3] : 1024 > [ 2700.100000] .cpu_load[4] : 1024 > [ 2700.100000] > [ 2700.100000] cfs_rq[0]: > [ 2700.100000] .exec_clock : 0.000000 > [ 2700.100000] .MIN_vruntime : 0.000001 > [ 2700.100000] .min_vruntime : 2695651.938408 > [ 2700.100000] .max_vruntime : 0.000001 > [ 2700.100000] .spread : 0.000000 > [ 2700.100000] .spread0 : 0.000000 > [ 2700.100000] .nr_running : 1 > [ 2700.100000] .load : 1024 > [ 2700.100000] .nr_spread_over : 0 > [ 2700.100000] > [ 2700.100000] rt_rq[0]: > [ 2700.100000] .rt_nr_running : 0 > [ 2700.100000] .rt_throttled : 0 > [ 2700.100000] .rt_time : 0.000000 > [ 2700.100000] .rt_runtime : 950.000000 > [ 2700.100000] > [ 2700.100000] runnable tasks: > [ 2700.100000] task PID tree-key switches prio exec-runtime sum-exec sum-sleep > [ 2700.100000] ---------------------------------------------------------------------------------------------------------- > [ 2700.100000] R S00splashutils 36 2695651.938408 5397 120 0 0 0.000000 0.000000 0.000000 > [ 2700.100000] > [ 2700.100000] > [ 2700.100000] Showing all locks held in the system: > [ 2700.100000] 4 locks held by S00splashutils/36: > [ 2700.100000] #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [<c00fa268>] vfs_readdir+0x4c/0xb0 > [ 2700.100000] #1: (&port_lock_key){-.-...}, at: [<c01d9f94>] pl011_int+0x20/0x5a4 > [ 2700.100000] #2: (sysrq_key_table_lock){-.....}, at: [<c01c5f84>] __handle_sysrq+0x24/0x190 > [ 2700.100000] #3: (tasklist_lock){.?.+..}, at: [<c007c404>] debug_show_all_locks+0x40/0x1a4 > [ 2700.100000] > [ 2700.100000] ============================================= > [ 2700.100000] > > > -- > Pengutronix e.K. | Uwe Kleine-König | > Industrial Linux Solutions | http://www.pengutronix.de/ | > ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 17:57 ` Linus Torvalds @ 2010-12-30 18:24 ` Trond Myklebust 2010-12-30 18:50 ` Linus Torvalds 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2010-12-30 18:24 UTC (permalink / raw) To: Linus Torvalds Cc: Uwe Kleine-König, Chuck Lever, linux-kernel, linux-arm-kernel, Arnd Bergmann, linux-nfs On Thu, 2010-12-30 at 09:57 -0800, Linus Torvalds wrote: > Please cc the poor hapless NFS people too, who probably otherwise > wouldn't see it. And Arnd just in case it might be locking-related. > > Trond, any ideas? The sysrq thing does imply that it's stuck in some > busy-loop in fs/nfs/dir.c, and line 647 is get_cache_page(), which in > turn implies that the endless loop is either the loop in > readdir_search_pagecache() _or_ in a caller. In particular, the > EBADCOOKIE case in the caller (nfs_readdir) looks suspicious. What > protects us from endless streams of EBADCOOKIE and a successful > uncached_readdir? There is nothing we can do to protect ourselves against an infinite loop if the server (or underlying filesystem) is breaking the rules w.r.t. cookie generation. It should be possible to recover from all other situations. IOW: if the server generates non-unique cookies, then we're screwed. Fixing that particular problem is impossible since it is basically a variant of the halting problem. That was why I asked which filesystem is being exported in my previous reply. The point of 'uncached_readdir' is to resolve a cookie that was previously valid, but has since been invalidated; usually that is due to the file having been unlinked. If it succeeds, it should result in a new set of valid entries being posted to the 'filldir' callback, and a new cookie being set in the filp->private (i.e. we should have made progress). If it fails, we exit, as you can see. Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 18:24 ` Trond Myklebust @ 2010-12-30 18:50 ` Linus Torvalds 2010-12-30 19:25 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2010-12-30 18:50 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Chuck Lever, linux-kernel, linux-arm-kernel, Arnd Bergmann, linux-nfs On Thu, Dec 30, 2010 at 10:24 AM, Trond Myklebust <Trond.Myklebust@netapp.com> wrote: > > There is nothing we can do to protect ourselves against an infinite loop > if the server (or underlying filesystem) is breaking the rules w.r.t. > cookie generation. It should be possible to recover from all other > situations. Umm. Sure there is. Just make sure that you return the uncached entry to user space, rather than loop forever. Looping forever in kernel space is a bad idea. How about just changing the "continue" into a "break" for the "uncached readdir returned success". No halting problems, no excuses. There is absolutely _no_ excuse for an endless loop in kernel mode. Certainly not "the other end is incompetent". EVERYBODY is incompetent sometimes. That just means that you must never trust the other end too much. You can't say "we require the server to be sane in order not to lock up". Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 18:50 ` Linus Torvalds @ 2010-12-30 19:25 ` Trond Myklebust 2010-12-30 20:02 ` Linus Torvalds 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2010-12-30 19:25 UTC (permalink / raw) To: Linus Torvalds Cc: Uwe Kleine-König, Chuck Lever, linux-kernel, linux-arm-kernel, Arnd Bergmann, linux-nfs On Thu, 2010-12-30 at 10:50 -0800, Linus Torvalds wrote: > On Thu, Dec 30, 2010 at 10:24 AM, Trond Myklebust > <Trond.Myklebust@netapp.com> wrote: > > > > There is nothing we can do to protect ourselves against an infinite loop > > if the server (or underlying filesystem) is breaking the rules w.r.t. > > cookie generation. It should be possible to recover from all other > > situations. > > Umm. Sure there is. Just make sure that you return the uncached entry > to user space, rather than loop forever. > > Looping forever in kernel space is a bad idea. How about just changing > the "continue" into a "break" for the "uncached readdir returned > success". uncached_readdir is not really a problem. The real problem is filesystems that generate "infinite directories" by producing looping combinations of cookies. IOW: I've seen servers that generate cookies in a sequence of a form vaguely resembling 1 2 3 4 5 6 7 8 9 10 11 12 3... (with possibly a thousand or so entries between the first and second copy of '3') The kernel won't loop forever with something like that (because eventually filldir() will declare it is out of buffer space), but userland has a halting problem: it needs to detect that every sys_getdents() call it is making is generating another copy of the sequence associated with '4 5 6 7 8 9 10 11 12 3'... > No halting problems, no excuses. There is absolutely _no_ excuse for > an endless loop in kernel mode. Certainly not "the other end is > incompetent". We should never get an endless loop in _kernel mode_ with the current scheme, and I can't see that anyone has demonstrated that yet. > EVERYBODY is incompetent sometimes. That just means that you must > never trust the other end too much. You can't say "we require the > server to be sane in order not to lock up". Unfortunately we must. Call it an NFS protocol failure, but it really boils down to the fact that POSIX readdir() generates a data stream with no well-defined concept of an offset. As a result, each and every filesystem has their own interesting ways of generating cookies to represent that 'offset'. Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 19:25 ` Trond Myklebust @ 2010-12-30 20:02 ` Linus Torvalds 0 siblings, 0 replies; 117+ messages in thread From: Linus Torvalds @ 2010-12-30 20:02 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Chuck Lever, linux-kernel, linux-arm-kernel, Arnd Bergmann, linux-nfs On Thu, Dec 30, 2010 at 11:25 AM, Trond Myklebust <Trond.Myklebust@netapp.com> wrote: > > uncached_readdir is not really a problem. The real problem is > filesystems that generate "infinite directories" by producing looping > combinations of cookies. But if we don't have any lseek's, the readdir cache should trivially take care of this by just incrementing the page_index, and we should return to user space the (eventually ending) sequence, even if there are duplicate numbers. (Also, I suspect that "page_index" should not be a page index, but a position, and then you the "search_for_pos()" should use that instead of the file_pos/current_index thing, but that's a detail that would show up only when you have duplicate cookies within one page worth of directory caches) And if the server really sends us an infinite stream of entries, then that's fine - at least we give to user space the infinite entries that were given to us, instead of _generating_ an infinite stream from what was a finite - but broken - stream). So it seems wrong that the directory caching code resets page_index to the start when it then does an uncached readdir. That seems wrong. I'm sure there's some reason for it, but wouldn't it be nice if the rule for page_index was that it starts off at zero, and only gets reset by lseek? > IOW: I've seen servers that generate cookies in a sequence of a form > vaguely resembling > > 1 2 3 4 5 6 7 8 9 10 11 12 3... > > (with possibly a thousand or so entries between the first and second > copy of '3') Ok, so that' obviously broken, but it's then _doubly_ broken to turn that long broken sequence into an _endless_ broken sequence. And I agree that when user space sees such an endless broken sequence, it's a real stopping problem for user space. But in the absense of lseek, it should _never_ be a problem for the kernel itself, afaik. The kernel should happily return just the broken sequence. No? So then perhaps the solution is to just remove the resetting of page_index in the uncached_readdir() function? Make sure that the page_index is monotonically increasing for any readdir(), and you protect against turning a bad sequence into an endless sequence. Of course, lseek() will have to reset page_index to zero, and if somebody does an lseek() on the directory, then the duplicate '3" entry in the cookie sequence will inevitably be ambiguous, but that really is unavoidable. And rare. People who use lseek() on directories are odd and we know they'll break on other filesystems too under certain circumstances. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 17:14 ` still nfs problems [Was: Linux 2.6.37-rc8] Uwe Kleine-König 2010-12-30 17:57 ` Linus Torvalds @ 2010-12-30 17:59 ` Trond Myklebust 2010-12-30 19:18 ` Uwe Kleine-König 1 sibling, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2010-12-30 17:59 UTC (permalink / raw) To: Uwe Kleine-König Cc: Linus Torvalds, linux-nfs, linux-kernel, linux-arm-kernel On Thu, 2010-12-30 at 18:14 +0100, Uwe Kleine-König wrote: > Hello, > > I wonder if the nfs-stuff is considered to be solved, because I still > see strange things. > > During boot my machine sometimes (approx one out of two times) hangs with > the output pasted below on Sysctl-l. The irq > > I'm not 100% sure it's related, but at least it seems to hang in > nfs_readdir. (When the serial irq happend that triggered the sysrq the > program counter was at 0xc014601c, which is fs/nfs/dir.c:647 for me.) > > This is on 2.6.37-rc8 plus some patches for machine support on an ARM > machine. Ccing linux-nfs@vger.kernel.org What filesystem are you exporting on the server? What is the NFS version? Is this nfsroot, autofs or an ordinary nfs mount? In short, how can we reproduce this? Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 17:59 ` Trond Myklebust @ 2010-12-30 19:18 ` Uwe Kleine-König 2011-01-03 21:38 ` Uwe Kleine-König 0 siblings, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2010-12-30 19:18 UTC (permalink / raw) To: Trond Myklebust; +Cc: Linus Torvalds, linux-nfs, linux-kernel, linux-arm-kernel Hi Trond, On Thu, Dec 30, 2010 at 12:59:52PM -0500, Trond Myklebust wrote: > On Thu, 2010-12-30 at 18:14 +0100, Uwe Kleine-König wrote: > > I wonder if the nfs-stuff is considered to be solved, because I still > > see strange things. > > > > During boot my machine sometimes (approx one out of two times) hangs with > > the output pasted below on Sysctl-l. The irq > > > > I'm not 100% sure it's related, but at least it seems to hang in > > nfs_readdir. (When the serial irq happend that triggered the sysrq the > > program counter was at 0xc014601c, which is fs/nfs/dir.c:647 for me.) > > > > This is on 2.6.37-rc8 plus some patches for machine support on an ARM > > machine. > > Ccing linux-nfs@vger.kernel.org Yeah, good idea. I had that ~2min after sending my report during dinner, sorry :-\ > What filesystem are you exporting on the server? What is the NFS > version? Is this nfsroot, autofs or an ordinary nfs mount? This is an nfsroot of /home/ukl/nfsroot/tx28 which is a symlink to a directory on a different partition. I don't know the filesystem of my homedir as it resides on a server I have no access to, but I asked the admin, so I can follow up with this info later (I'd suspect ext3, too). The real root directory is on ext3 (rw,noatime). The serving nfs-server is Debian's nfs-kernel-server 1:1.2.2-1. nfs-related kernel parameters are ip=dhcp root=/dev/nfs nfsroot=192.168.23.2:/home/ukl/nfsroot/tx28,v3,tcp I hope this answers your questions. If not, please ask. I tried without the symlink and saw some different errors, e.g. starting splashutils daemon.../etc/rc.d/S00splashutils: line 50: //sbin/fbsplashd.static: Unknown error 521 (this is the init script that hung before) and [ 6.160000] NFS: server 192.168.23.2 error: fileid changed [ 6.160000] fsid 0:c: expected fileid 0x33590a4, got 0x4d11bedc but no hang as before. So maybe it's related to the symlink? I don't know if testing that further would help or just waste of my time, so please let me know if I can help you and how. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-30 19:18 ` Uwe Kleine-König @ 2011-01-03 21:38 ` Uwe Kleine-König 2011-01-04 0:22 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-03 21:38 UTC (permalink / raw) To: Trond Myklebust; +Cc: linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel On Thu, Dec 30, 2010 at 08:18:46PM +0100, Uwe Kleine-König wrote: > On Thu, Dec 30, 2010 at 12:59:52PM -0500, Trond Myklebust wrote: > > What filesystem are you exporting on the server? What is the NFS > > version? Is this nfsroot, autofs or an ordinary nfs mount? > This is an nfsroot of /home/ukl/nfsroot/tx28 which is a symlink to a > directory on a different partition. I don't know the filesystem of my > homedir as it resides on a server I have no access to, but I asked the > admin, so I can follow up with this info later (I'd suspect ext3, too). Yes, it is ext3. > The real root directory is on ext3 (rw,noatime). > > The serving nfs-server is Debian's nfs-kernel-server 1:1.2.2-1. If that matters, kernel is linux-image-2.6.32-5-amd64 (2.6.32-29) provided by Debian. > I don't > know if testing that further would help or just waste of my time, so > please let me know if I can help you and how. This still applies Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-03 21:38 ` Uwe Kleine-König @ 2011-01-04 0:22 ` Trond Myklebust 2011-01-05 8:40 ` Uwe Kleine-König 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-04 0:22 UTC (permalink / raw) To: Uwe Kleine-König Cc: linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel On Mon, 2011-01-03 at 22:38 +0100, Uwe Kleine-König wrote: > On Thu, Dec 30, 2010 at 08:18:46PM +0100, Uwe Kleine-König wrote: > > On Thu, Dec 30, 2010 at 12:59:52PM -0500, Trond Myklebust wrote: > > > What filesystem are you exporting on the server? What is the NFS > > > version? Is this nfsroot, autofs or an ordinary nfs mount? > > This is an nfsroot of /home/ukl/nfsroot/tx28 which is a symlink to a > > directory on a different partition. I don't know the filesystem of my > > homedir as it resides on a server I have no access to, but I asked the > > admin, so I can follow up with this info later (I'd suspect ext3, too). > Yes, it is ext3. > > > The real root directory is on ext3 (rw,noatime). > > > > The serving nfs-server is Debian's nfs-kernel-server 1:1.2.2-1. > If that matters, kernel is linux-image-2.6.32-5-amd64 (2.6.32-29) > provided by Debian. > > > I don't > > know if testing that further would help or just waste of my time, so > > please let me know if I can help you and how. > This still applies I'm having trouble reproducing this with my own nfsroot setup (which is just a 'fedora 13 live' disk with NetworkManager turned firmly off). However looking back at your report, you said that when you remove the symlink, you get an error message of the form: "starting splashutils daemon.../etc/rc.d/S00splashutils: line 50: //sbin/fbsplashd.static: Unknown error 521" Error 521 is EBADHANDLE, which basically means your client got a corrupted filehandle. The 'fileid changed' thing also indicates some form of corruption. The question is whether this is something happening on the server or the client. Does an older client kernel boot without any trouble? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-04 0:22 ` Trond Myklebust @ 2011-01-05 8:40 ` Uwe Kleine-König 2011-01-05 11:05 ` Uwe Kleine-König 0 siblings, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-05 8:40 UTC (permalink / raw) To: Trond Myklebust; +Cc: linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel Hello Trond, On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > The question is whether this is something happening on the server or the > client. Does an older client kernel boot without any trouble? I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to compare with. If you don't consider .36 to be old enough let me now. Once the setup is done it should be easy to test .35 (say), too. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 8:40 ` Uwe Kleine-König @ 2011-01-05 11:05 ` Uwe Kleine-König 2011-01-05 11:27 ` Russell King - ARM Linux 0 siblings, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-05 11:05 UTC (permalink / raw) To: Trond Myklebust Cc: linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde Hello Trond, On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > > The question is whether this is something happening on the server or the > > client. Does an older client kernel boot without any trouble? > I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > compare with. If you don't consider .36 to be old enough let me now. > Once the setup is done it should be easy to test .35 (say), too. > Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the problems didn't occur. This was more reliable to trigger and he was so kind to bisect the problem. When testing v2.6.36-rc3-51-gafa8ccc init hanged. (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the "init hangs" problem the "fileid changed on tab" problem. I could only reproduce that on armv5 machines (imx27, imx28 and at91) but not on armv6 (imx35). Best regards Uwe [1] similar means: not during boot, but when hitting tab to get command completion in the shell. -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 11:05 ` Uwe Kleine-König @ 2011-01-05 11:27 ` Russell King - ARM Linux 2011-01-05 12:14 ` Marc Kleine-Budde 2011-01-05 13:40 ` Uwe Kleine-König 0 siblings, 2 replies; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 11:27 UTC (permalink / raw) To: Uwe Kleine-König Cc: Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: > Hello Trond, > > On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > > On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > > > The question is whether this is something happening on the server or the > > > client. Does an older client kernel boot without any trouble? > > I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > > compare with. If you don't consider .36 to be old enough let me now. > > Once the setup is done it should be easy to test .35 (say), too. > > > Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the > problems didn't occur. This was more reliable to trigger and he was so > kind to bisect the problem. > > When testing v2.6.36-rc3-51-gafa8ccc init hanged. > (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with > this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the > "init hangs" problem the "fileid changed on tab" problem. > > I could only reproduce that on armv5 machines (imx27, imx28 and at91) > but not on armv6 (imx35). FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit truncation of the fileid. It occurred several times on successive reboots, so I tried to capture a tcpdump trace off the server (Linux 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy IDE drivers trying to move it forward.) However, for the last couple of weeks I've been unable to reproduce it. The client was based on 2.6.37-rc6. The "fileid changed" messages popped up after mounting an export with 'nolock,intr,rsize=4096,soft', and then trying to use bash completion and 'ls' in a few subdirectories - and entries were missing from the directory lists without 'ls' reporting any errors (which I think is bad behaviour in itself.) I don't know why it's stopped producing the errors, although once it went I never investigated it any further (was far too busy trying to get AMBA DMA support working.) ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 11:27 ` Russell King - ARM Linux @ 2011-01-05 12:14 ` Marc Kleine-Budde 2011-01-05 13:02 ` Nori, Sekhar 2011-01-05 13:40 ` Uwe Kleine-König 1 sibling, 1 reply; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-05 12:14 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Uwe Kleine-König, Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde [-- Attachment #1: Type: text/plain, Size: 2393 bytes --] On 01/05/2011 12:27 PM, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: >> Hello Trond, >> >> On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: >>> On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: >>>> The question is whether this is something happening on the server or the >>>> client. Does an older client kernel boot without any trouble? >>> I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to >>> compare with. If you don't consider .36 to be old enough let me now. >>> Once the setup is done it should be easy to test .35 (say), too. >>> >> Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the >> problems didn't occur. This was more reliable to trigger and he was so >> kind to bisect the problem. >> >> When testing v2.6.36-rc3-51-gafa8ccc init hanged. >> (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with >> this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the >> "init hangs" problem the "fileid changed on tab" problem. >> >> I could only reproduce that on armv5 machines (imx27, imx28 and at91) >> but not on armv6 (imx35). > > FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit > truncation of the fileid. It occurred several times on successive > reboots, so I tried to capture a tcpdump trace off the server (Linux > 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy > IDE drivers trying to move it forward.) However, for the last couple > of weeks I've been unable to reproduce it. We have the problem with nfs-root. From the kernel command line: root=/dev/nfs nfsroot=192.168.23.2:/home/mkl/pengutronix/xxx/bsp/OSELAS.BSP-xxx-Grabowski-trunk/platform-Ronetix-PM9263/root,v3,tcp /home/mkl/pengutronix is a link which points to a link /ptx/work/octopus/mkl (which is a ext3-based) which points to WORK_1/mkl which is also ext3-based. The server is 2.6.32 and has been rebooted yesterday :), nfs-utils are 1.2.2. I make a tcpdump if needed. Cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* RE: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 12:14 ` Marc Kleine-Budde @ 2011-01-05 13:02 ` Nori, Sekhar 2011-01-05 15:34 ` Russell King - ARM Linux 0 siblings, 1 reply; 117+ messages in thread From: Nori, Sekhar @ 2011-01-05 13:02 UTC (permalink / raw) To: Marc Kleine-Budde, Russell King - ARM Linux Cc: linux-nfs@vger.kernel.org, Trond Myklebust, linux-kernel@vger.kernel.org, Uwe Kleine-König, Linus Torvalds, Marc Kleine-Budde, linux-arm-kernel@lists.infradead.org On Wed, Jan 05, 2011 at 17:44:16, Marc Kleine-Budde wrote: > On 01/05/2011 12:27 PM, Russell King - ARM Linux wrote: > > On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: > >> Hello Trond, > >> > >> On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > >>> On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > >>>> The question is whether this is something happening on the server or the > >>>> client. Does an older client kernel boot without any trouble? > >>> I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > >>> compare with. If you don't consider .36 to be old enough let me now. > >>> Once the setup is done it should be easy to test .35 (say), too. > >>> > >> Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the > >> problems didn't occur. This was more reliable to trigger and he was so > >> kind to bisect the problem. > >> > >> When testing v2.6.36-rc3-51-gafa8ccc init hanged. > >> (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with > >> this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the > >> "init hangs" problem the "fileid changed on tab" problem. > >> > >> I could only reproduce that on armv5 machines (imx27, imx28 and at91) > >> but not on armv6 (imx35). > > > > FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit > > truncation of the fileid. It occurred several times on successive > > reboots, so I tried to capture a tcpdump trace off the server (Linux > > 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy > > IDE drivers trying to move it forward.) However, for the last couple > > of weeks I've been unable to reproduce it. > > We have the problem with nfs-root. From the kernel command line: > > root=/dev/nfs > nfsroot=192.168.23.2:/home/mkl/pengutronix/xxx/bsp/OSELAS.BSP-xxx-Grabowski-trunk/platform-Ronetix-PM9263/root,v3,tcp > > /home/mkl/pengutronix is a link which points to a link > /ptx/work/octopus/mkl (which is a ext3-based) which points to > WORK_1/mkl which is also ext3-based. > > The server is 2.6.32 and has been rebooted yesterday :), nfs-utils are > 1.2.2. I make a tcpdump if needed. I see the issue too with an ARMv5 based DM355 board with the just released v2.6.37 tag (nfs client). I too see the issue when using bash tab completion. Here are some logs: fileid changed fsid 0:c: expected fileid 0x2db61d, got 0x2dad20 fileid changed fsid 0:c: expected fileid 0x100000000000, got 0x7070000000000000 I am using Fedora 8 (2.6.25 kernel) on the server side. I will try the latest Ubuntu release on the server side and test. Thanks, Sekhar ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 13:02 ` Nori, Sekhar @ 2011-01-05 15:34 ` Russell King - ARM Linux 0 siblings, 0 replies; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 15:34 UTC (permalink / raw) To: Nori, Sekhar Cc: Marc Kleine-Budde, linux-nfs@vger.kernel.org, Trond Myklebust, linux-kernel@vger.kernel.org, Uwe Kleine-König, Linus Torvalds, Marc Kleine-Budde, linux-arm-kernel@lists.infradead.org On Wed, Jan 05, 2011 at 06:32:58PM +0530, Nori, Sekhar wrote: > Here are some logs: > > fileid changed fsid 0:c: expected fileid 0x2db61d, got 0x2dad20 > > fileid changed fsid 0:c: expected fileid 0x100000000000, got 0x7070000000000000 Just to be clear, what I was seeing was things like: expected fileid <32-bit number> got <64-bit number with same 32-bit LS bits> so it looked like something was truncating a 64-bit fileid down to 32-bits. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 11:27 ` Russell King - ARM Linux 2011-01-05 12:14 ` Marc Kleine-Budde @ 2011-01-05 13:40 ` Uwe Kleine-König 2011-01-05 14:29 ` Jim Rees 2011-01-05 14:53 ` Trond Myklebust 1 sibling, 2 replies; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-05 13:40 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde Hi Russell, On Wed, Jan 05, 2011 at 11:27:01AM +0000, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: > > Hello Trond, > > > > On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > > > On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > > > > The question is whether this is something happening on the server or the > > > > client. Does an older client kernel boot without any trouble? > > > I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > > > compare with. If you don't consider .36 to be old enough let me now. > > > Once the setup is done it should be easy to test .35 (say), too. > > > > > Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the > > problems didn't occur. This was more reliable to trigger and he was so > > kind to bisect the problem. > > > > When testing v2.6.36-rc3-51-gafa8ccc init hanged. > > (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with > > this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the > > "init hangs" problem the "fileid changed on tab" problem. > > > > I could only reproduce that on armv5 machines (imx27, imx28 and at91) > > but not on armv6 (imx35). > > FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit > truncation of the fileid. It occurred several times on successive > reboots, so I tried to capture a tcpdump trace off the server (Linux > 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy > IDE drivers trying to move it forward.) However, for the last couple > of weeks I've been unable to reproduce it. > > The client was based on 2.6.37-rc6. > > The "fileid changed" messages popped up after mounting an export with > 'nolock,intr,rsize=4096,soft', and then trying to use bash completion > and 'ls' in a few subdirectories - and entries were missing from the > directory lists without 'ls' reporting any errors (which I think is bad > behaviour in itself.) There was a bug in at least -rc5[1] that was considered already fixed in -rc4[2]. The later announcements didn't mention it anymore. > I don't know why it's stopped producing the errors, although once it > went I never investigated it any further (was far too busy trying to > get AMBA DMA support working.) It seems it was fixed for most users though. Trond? Uwe [1] http://lwn.net/Articles/418963/ [2] http://lwn.net/Articles/417704/ -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 13:40 ` Uwe Kleine-König @ 2011-01-05 14:29 ` Jim Rees 2011-01-05 14:42 ` Marc Kleine-Budde 2011-01-05 14:53 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Jim Rees @ 2011-01-05 14:29 UTC (permalink / raw) To: Uwe Kleine-König Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde Uwe Kleine-König wrote: > The "fileid changed" messages popped up after mounting an export with > 'nolock,intr,rsize=4096,soft', and then trying to use bash completion > and 'ls' in a few subdirectories - and entries were missing from the > directory lists without 'ls' reporting any errors (which I think is bad > behaviour in itself.) There was a bug in at least -rc5[1] that was considered already fixed in -rc4[2]. The later announcements didn't mention it anymore. > I don't know why it's stopped producing the errors, although once it > went I never investigated it any further (was far too busy trying to > get AMBA DMA support working.) It seems it was fixed for most users though. Trond? Trond sent a fix to the nfs list on 27 Nov for "fileid changed" but I don't know if this is the same bug you're seeing. The patch was to nfs_same_file() and I can send it if you want. As far as I know the patch made it upstream. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 14:29 ` Jim Rees @ 2011-01-05 14:42 ` Marc Kleine-Budde 2011-01-05 15:38 ` Jim Rees 0 siblings, 1 reply; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-05 14:42 UTC (permalink / raw) To: Jim Rees Cc: Uwe Kleine-König, Russell King - ARM Linux, Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde [-- Attachment #1: Type: text/plain, Size: 1907 bytes --] On 01/05/2011 03:29 PM, Jim Rees wrote: > Uwe Kleine-König wrote: > > > The "fileid changed" messages popped up after mounting an export with > > 'nolock,intr,rsize=4096,soft', and then trying to use bash completion > > and 'ls' in a few subdirectories - and entries were missing from the > > directory lists without 'ls' reporting any errors (which I think is bad > > behaviour in itself.) > There was a bug in at least -rc5[1] that was considered already fixed in > -rc4[2]. The later announcements didn't mention it anymore. > > > I don't know why it's stopped producing the errors, although once it > > went I never investigated it any further (was far too busy trying to > > get AMBA DMA support working.) > It seems it was fixed for most users though. Trond? > > Trond sent a fix to the nfs list on 27 Nov for "fileid changed" but I don't > know if this is the same bug you're seeing. The patch was to > nfs_same_file() and I can send it if you want. As far as I know the patch > made it upstream. Are you sure it's in .37? The pick-axe just found one commit so far (although it's still searching): $ git log -Snfs_same_file commit d39ab9de3b80da5835049b1c3b49da4e84e01c07 Author: Bryan Schumaker <bjschuma@netapp.com> Date: Fri Sep 24 18:50:01 2010 -0400 NFS: re-add readdir plus This patch adds readdir plus support to the cache array. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Would you please be so kind and send the patch to this thread? cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 14:42 ` Marc Kleine-Budde @ 2011-01-05 15:38 ` Jim Rees 0 siblings, 0 replies; 117+ messages in thread From: Jim Rees @ 2011-01-05 15:38 UTC (permalink / raw) To: Marc Kleine-Budde Cc: Uwe Kleine-König, Russell King - ARM Linux, Trond Myklebust, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde Marc Kleine-Budde wrote: > Trond sent a fix to the nfs list on 27 Nov for "fileid changed" but I don't > know if this is the same bug you're seeing. The patch was to > nfs_same_file() and I can send it if you want. As far as I know the patch > made it upstream. Are you sure it's in .37? ... Would you please be so kind and send the patch to this thread? This is the commit I'm thinking of: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=37a09f07459753e7c98d4e21f1c61e8756923f81 NFS: Fix a readdirplus bug When comparing filehandles in the helper nfs_same_file(), we should not be using 'strncmp()': filehandles are not null terminated strings. Instead, we should just use the existing helper nfs_compare_fh(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> --- diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 8ea4a41..f0a384e 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -395,13 +395,9 @@ int xdr_decode(nfs_readdir_descriptor_t *desc, struct nfs_entry *entry, struct x static int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) { - struct nfs_inode *node; if (dentry->d_inode == NULL) goto different; - node = NFS_I(dentry->d_inode); - if (node->fh.size != entry->fh->size) - goto different; - if (strncmp(node->fh.data, entry->fh->data, node->fh.size) != 0) + if (nfs_compare_fh(entry->fh, NFS_FH(dentry->d_inode)) != 0) goto different; return 1; different: ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 13:40 ` Uwe Kleine-König 2011-01-05 14:29 ` Jim Rees @ 2011-01-05 14:53 ` Trond Myklebust 2011-01-05 15:01 ` Marc Kleine-Budde 2011-01-14 2:25 ` Andy Isaacson 1 sibling, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 14:53 UTC (permalink / raw) To: Uwe Kleine-König Cc: Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 14:40 +0100, Uwe Kleine-König wrote: > Hi Russell, > > On Wed, Jan 05, 2011 at 11:27:01AM +0000, Russell King - ARM Linux wrote: > > On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: > > > Hello Trond, > > > > > > On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > > > > On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > > > > > The question is whether this is something happening on the server or the > > > > > client. Does an older client kernel boot without any trouble? > > > > I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > > > > compare with. If you don't consider .36 to be old enough let me now. > > > > Once the setup is done it should be easy to test .35 (say), too. > > > > > > > Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the > > > problems didn't occur. This was more reliable to trigger and he was so > > > kind to bisect the problem. > > > > > > When testing v2.6.36-rc3-51-gafa8ccc init hanged. > > > (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with > > > this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the > > > "init hangs" problem the "fileid changed on tab" problem. > > > > > > I could only reproduce that on armv5 machines (imx27, imx28 and at91) > > > but not on armv6 (imx35). > > > > FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit > > truncation of the fileid. It occurred several times on successive > > reboots, so I tried to capture a tcpdump trace off the server (Linux > > 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy > > IDE drivers trying to move it forward.) However, for the last couple > > of weeks I've been unable to reproduce it. > > > > The client was based on 2.6.37-rc6. > > > > The "fileid changed" messages popped up after mounting an export with > > 'nolock,intr,rsize=4096,soft', and then trying to use bash completion > > and 'ls' in a few subdirectories - and entries were missing from the > > directory lists without 'ls' reporting any errors (which I think is bad > > behaviour in itself.) > There was a bug in at least -rc5[1] that was considered already fixed in > -rc4[2]. The later announcements didn't mention it anymore. > > > I don't know why it's stopped producing the errors, although once it > > went I never investigated it any further (was far too busy trying to > > get AMBA DMA support working.) > It seems it was fixed for most users though. Trond? As I said, I can't reproduce it. I'm seeing a lot of mention of ARM above. Is anyone seeing this bug on x86, or does it appear to be architecture-specific? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 14:53 ` Trond Myklebust @ 2011-01-05 15:01 ` Marc Kleine-Budde 2011-01-05 15:14 ` Trond Myklebust 2011-01-14 2:25 ` Andy Isaacson 1 sibling, 1 reply; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-05 15:01 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde [-- Attachment #1: Type: text/plain, Size: 3426 bytes --] On 01/05/2011 03:53 PM, Trond Myklebust wrote: > On Wed, 2011-01-05 at 14:40 +0100, Uwe Kleine-König wrote: >> Hi Russell, >> >> On Wed, Jan 05, 2011 at 11:27:01AM +0000, Russell King - ARM Linux wrote: >>> On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: >>>> Hello Trond, >>>> >>>> On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: >>>>> On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: >>>>>> The question is whether this is something happening on the server or the >>>>>> client. Does an older client kernel boot without any trouble? >>>>> I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to >>>>> compare with. If you don't consider .36 to be old enough let me now. >>>>> Once the setup is done it should be easy to test .35 (say), too. >>>>> >>>> Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the >>>> problems didn't occur. This was more reliable to trigger and he was so >>>> kind to bisect the problem. >>>> >>>> When testing v2.6.36-rc3-51-gafa8ccc init hanged. >>>> (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with >>>> this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the >>>> "init hangs" problem the "fileid changed on tab" problem. >>>> >>>> I could only reproduce that on armv5 machines (imx27, imx28 and at91) >>>> but not on armv6 (imx35). >>> >>> FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit >>> truncation of the fileid. It occurred several times on successive >>> reboots, so I tried to capture a tcpdump trace off the server (Linux >>> 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy >>> IDE drivers trying to move it forward.) However, for the last couple >>> of weeks I've been unable to reproduce it. >>> >>> The client was based on 2.6.37-rc6. >>> >>> The "fileid changed" messages popped up after mounting an export with >>> 'nolock,intr,rsize=4096,soft', and then trying to use bash completion >>> and 'ls' in a few subdirectories - and entries were missing from the >>> directory lists without 'ls' reporting any errors (which I think is bad >>> behaviour in itself.) >> There was a bug in at least -rc5[1] that was considered already fixed in >> -rc4[2]. The later announcements didn't mention it anymore. >> >>> I don't know why it's stopped producing the errors, although once it >>> went I never investigated it any further (was far too busy trying to >>> get AMBA DMA support working.) >> It seems it was fixed for most users though. Trond? > > As I said, I can't reproduce it. > > I'm seeing a lot of mention of ARM above. Is anyone seeing this bug on > x86, or does it appear to be architecture-specific? It _seems_ to be ARMv5 specific[1]. Uwe did some tests and figured out that disabling dcache on ARMv5 "fixes" the problem, but CONFIG_CPU_DCACHE_WRITETHROUGH isn't enough. [1] Uwe fails to reproduce it on ARMv6. The ARMv6 has a L2 cache and uses IIRC different instructions to flush the L1 caches. (please correct me, if I'm wrong, ARM guys :) cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 15:01 ` Marc Kleine-Budde @ 2011-01-05 15:14 ` Trond Myklebust 2011-01-05 15:29 ` Trond Myklebust 2011-01-05 15:52 ` Russell King - ARM Linux 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 15:14 UTC (permalink / raw) To: Marc Kleine-Budde Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 16:01 +0100, Marc Kleine-Budde wrote: > On 01/05/2011 03:53 PM, Trond Myklebust wrote: > > On Wed, 2011-01-05 at 14:40 +0100, Uwe Kleine-König wrote: > >> Hi Russell, > >> > >> On Wed, Jan 05, 2011 at 11:27:01AM +0000, Russell King - ARM Linux wrote: > >>> On Wed, Jan 05, 2011 at 12:05:17PM +0100, Uwe Kleine-König wrote: > >>>> Hello Trond, > >>>> > >>>> On Wed, Jan 05, 2011 at 09:40:14AM +0100, Uwe Kleine-König wrote: > >>>>> On Mon, Jan 03, 2011 at 07:22:38PM -0500, Trond Myklebust wrote: > >>>>>> The question is whether this is something happening on the server or the > >>>>>> client. Does an older client kernel boot without any trouble? > >>>>> I will set up a boot test with 2.6.37 (for statistics) and 2.6.36 to > >>>>> compare with. If you don't consider .36 to be old enough let me now. > >>>>> Once the setup is done it should be easy to test .35 (say), too. > >>>>> > >>>> Marc (cc'd) saw similar[1] problems with .37, when using .36.2 the > >>>> problems didn't occur. This was more reliable to trigger and he was so > >>>> kind to bisect the problem. > >>>> > >>>> When testing v2.6.36-rc3-51-gafa8ccc init hanged. > >>>> (babddc72a9468884ce1a23db3c3d54b0afa299f0 is the first bad commit with > >>>> this hang.) Commit 56e4ebf877b6043c289bda32a5a7385b80c17dee makes the > >>>> "init hangs" problem the "fileid changed on tab" problem. > >>>> > >>>> I could only reproduce that on armv5 machines (imx27, imx28 and at91) > >>>> but not on armv6 (imx35). > >>> > >>> FYI, I've seen the "fileid changed" problem, and it looked like a 32-bit > >>> truncation of the fileid. It occurred several times on successive > >>> reboots, so I tried to capture a tcpdump trace off the server (Linux > >>> 2.6.23-rc8-ga64314e6 - its ancient because I've had issues with buggy > >>> IDE drivers trying to move it forward.) However, for the last couple > >>> of weeks I've been unable to reproduce it. > >>> > >>> The client was based on 2.6.37-rc6. > >>> > >>> The "fileid changed" messages popped up after mounting an export with > >>> 'nolock,intr,rsize=4096,soft', and then trying to use bash completion > >>> and 'ls' in a few subdirectories - and entries were missing from the > >>> directory lists without 'ls' reporting any errors (which I think is bad > >>> behaviour in itself.) > >> There was a bug in at least -rc5[1] that was considered already fixed in > >> -rc4[2]. The later announcements didn't mention it anymore. > >> > >>> I don't know why it's stopped producing the errors, although once it > >>> went I never investigated it any further (was far too busy trying to > >>> get AMBA DMA support working.) > >> It seems it was fixed for most users though. Trond? > > > > As I said, I can't reproduce it. > > > > I'm seeing a lot of mention of ARM above. Is anyone seeing this bug on > > x86, or does it appear to be architecture-specific? > > It _seems_ to be ARMv5 specific[1]. Uwe did some tests and figured out > that disabling dcache on ARMv5 "fixes" the problem, but > CONFIG_CPU_DCACHE_WRITETHROUGH isn't enough. > > [1] Uwe fails to reproduce it on ARMv6. The ARMv6 has a L2 cache and > uses IIRC different instructions to flush the L1 caches. (please correct > me, if I'm wrong, ARM guys :) > > cheers, Marc OK. So,the new behaviour in 2.6.37 is that we're writing to a series of pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap() interfaces, but we can end up reading them via a virtual address range that gets set up via vm_map_ram() (that range gets set up before the write occurs). Do we perhaps need an invalidate_kernel_vmap_range() before we can read the data on ARM in this kind of scenario? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 15:14 ` Trond Myklebust @ 2011-01-05 15:29 ` Trond Myklebust 2011-01-05 15:39 ` Marc Kleine-Budde 2011-01-05 15:52 ` Russell King - ARM Linux 1 sibling, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 15:29 UTC (permalink / raw) To: Marc Kleine-Budde Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 10:14 -0500, Trond Myklebust wrote: > OK. So,the new behaviour in 2.6.37 is that we're writing to a series of > pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap() > interfaces, but we can end up reading them via a virtual address range > that gets set up via vm_map_ram() (that range gets set up before the > write occurs). > > Do we perhaps need an invalidate_kernel_vmap_range() before we can read > the data on ARM in this kind of scenario? IOW: Does something like the following patch fix the problem? ------------------------------------------------------------------------------- From: Trond Myklebust <Trond.Myklebust@netapp.com> NFS: Ensure we clean the TLB cache in nfs_readdir_xdr_to_array After calling nfs_readdir_xdr_filler(), we need a call to invalidate_kernel_vmap_range() before we can proceed to read the data back through the virtual address range. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> --- diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 996dd89..4640470 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -587,6 +587,9 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, if (status < 0) break; pglen = status; + + invalidate_kernel_vmap_range(pages_ptr, pglen); + status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); if (status < 0) { if (status == -ENOSPC) -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 15:29 ` Trond Myklebust @ 2011-01-05 15:39 ` Marc Kleine-Budde 0 siblings, 0 replies; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-05 15:39 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde, stable [-- Attachment #1: Type: text/plain, Size: 1997 bytes --] On 01/05/2011 04:29 PM, Trond Myklebust wrote: > On Wed, 2011-01-05 at 10:14 -0500, Trond Myklebust wrote: >> OK. So,the new behaviour in 2.6.37 is that we're writing to a series of >> pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap() >> interfaces, but we can end up reading them via a virtual address range >> that gets set up via vm_map_ram() (that range gets set up before the >> write occurs). >> >> Do we perhaps need an invalidate_kernel_vmap_range() before we can read >> the data on ARM in this kind of scenario? > > IOW: Does something like the following patch fix the problem? > > ------------------------------------------------------------------------------- > From: Trond Myklebust <Trond.Myklebust@netapp.com> > NFS: Ensure we clean the TLB cache in nfs_readdir_xdr_to_array > > After calling nfs_readdir_xdr_filler(), we need a call to > invalidate_kernel_vmap_range() before we can proceed to read > the data back through the virtual address range. > > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> > --- > diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c > index 996dd89..4640470 100644 > --- a/fs/nfs/dir.c > +++ b/fs/nfs/dir.c > @@ -587,6 +587,9 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, > if (status < 0) > break; > pglen = status; > + > + invalidate_kernel_vmap_range(pages_ptr, pglen); > + > status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); > if (status < 0) { > if (status == -ENOSPC) \o/ - Works for me (at91, armv5) Tested-by: Marc Kleine-Budde <mkl@pengutronix.de> This is a candidate for stable (Cc'd). Regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 15:14 ` Trond Myklebust 2011-01-05 15:29 ` Trond Myklebust @ 2011-01-05 15:52 ` Russell King - ARM Linux 2011-01-05 17:17 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 15:52 UTC (permalink / raw) To: Trond Myklebust Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 10:14:17AM -0500, Trond Myklebust wrote: > OK. So,the new behaviour in 2.6.37 is that we're writing to a series of > pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap() > interfaces, but we can end up reading them via a virtual address range > that gets set up via vm_map_ram() (that range gets set up before the > write occurs). kmap of lowmem pages will always reuses the existing kernel direct mapping, so there won't be a problem there. > Do we perhaps need an invalidate_kernel_vmap_range() before we can read > the data on ARM in this kind of scenario? Firstly, vm_map_ram() does no cache maintainence of any sort, nor does it take care of page colouring - so any architecture where cache aliasing can occur will see this problem. It should not limited to ARM. Secondly, no, invalidate_kernel_vmap_range() probably isn't sufficient. There's two problems here: addr = kmap(lowmem_page); *addr = stuff; kunmap(lowmem_page); Such lowmem pages are accessed through their kernel direct mapping. ptr = vm_map_ram(lowmem_page); read = *ptr; This creates a new mapping which can alias with the kernel direct mapping. Now, as this is a new mapping, there should be no cache lines associated with it. (Looking at vm_unmap_ram(), it calls free_unmap_vmap_area_addr(), free_unmap_vmap_area(), which then calls flush_cache_vunmap() on the region. vb_free() also calls flush_cache_vunmap() too.) If the write after kmap() hits an already present cache line, the cache line will be updated, but it won't be written back to memory. So, on a subsequent vm_map_ram(), with any kind of aliasing cache, there's no guarantee that you'll hit that cache line and read the data just written there. The kernel direct mapping would need to be flushed. I'm really getting to the point of hating the poliferation of RAM remapping interfaces - it's going to (and is) causing nothing but lots of pain on virtual cache architectures, needing more and more cache flushing interfaces to be created. Is there any other solution to this? ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 15:52 ` Russell King - ARM Linux @ 2011-01-05 17:17 ` Trond Myklebust 2011-01-05 17:26 ` Russell King - ARM Linux 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 17:17 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 15:52 +0000, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 10:14:17AM -0500, Trond Myklebust wrote: > > OK. So,the new behaviour in 2.6.37 is that we're writing to a series of > > pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap() > > interfaces, but we can end up reading them via a virtual address range > > that gets set up via vm_map_ram() (that range gets set up before the > > write occurs). > > kmap of lowmem pages will always reuses the existing kernel direct > mapping, so there won't be a problem there. > > > Do we perhaps need an invalidate_kernel_vmap_range() before we can read > > the data on ARM in this kind of scenario? > > Firstly, vm_map_ram() does no cache maintainence of any sort, nor does > it take care of page colouring - so any architecture where cache aliasing > can occur will see this problem. It should not limited to ARM. > > Secondly, no, invalidate_kernel_vmap_range() probably isn't sufficient. > There's two problems here: > > addr = kmap(lowmem_page); > *addr = stuff; > kunmap(lowmem_page); > > Such lowmem pages are accessed through their kernel direct mapping. > > ptr = vm_map_ram(lowmem_page); > read = *ptr; > > This creates a new mapping which can alias with the kernel direct mapping. > Now, as this is a new mapping, there should be no cache lines associated > with it. (Looking at vm_unmap_ram(), it calls free_unmap_vmap_area_addr(), > free_unmap_vmap_area(), which then calls flush_cache_vunmap() on the > region. vb_free() also calls flush_cache_vunmap() too.) > > If the write after kmap() hits an already present cache line, the cache > line will be updated, but it won't be written back to memory. So, on > a subsequent vm_map_ram(), with any kind of aliasing cache, there's > no guarantee that you'll hit that cache line and read the data just > written there. > > The kernel direct mapping would need to be flushed. We should already be flushing the kernel direct mapping after writing by means of the calls to flush_dcache_page() in xdr_partial_copy_from_skb() and all the helpers in net/sunrpc/xdr.c. The only new thing is the read access through the virtual address mapping. That mapping is created outside the loop in nfs_readdir_xdr_to_array(), which is why I'm thinking we do need the invalidate_kernel_vmap_range(): we're essentially doing a series of writes through the kernel direct mapping (i.e. readdir RPC calls), then reading the results through the virtual mapping. i.e. we're doing ptr = vm_map_ram(lowmem_pages); while (need_more_data) { for (i = 0; i < npages; i++) { addr = kmap_atomic(lowmem_page[i]); *addr = rpc_stuff; flush_dcache_page(lowmem_page[i]); kunmap_atomic(lowmem_page[i]); } invalidate_kernel_vmap_range(ptr); // Needed here? read = *ptr; } vm_unmap_ram(lowmem_pages) > I'm really getting to the point of hating the poliferation of RAM > remapping interfaces - it's going to (and is) causing nothing but lots > of pain on virtual cache architectures, needing more and more cache > flushing interfaces to be created. > > Is there any other solution to this? Arbitrary sized pages. :-) The problem here is that we want to read variable sized records (i.e. readdir() records) from a multi-page buffer. We could do that by copying those particular records that overlap with page boundaries, but that would make for a fairly intrusive rewrite too. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 17:17 ` Trond Myklebust @ 2011-01-05 17:26 ` Russell King - ARM Linux 2011-01-05 18:12 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 17:26 UTC (permalink / raw) To: Trond Myklebust Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 12:17:27PM -0500, Trond Myklebust wrote: > We should already be flushing the kernel direct mapping after writing by > means of the calls to flush_dcache_page() in xdr_partial_copy_from_skb() > and all the helpers in net/sunrpc/xdr.c. Hmm, we're getting into the realms of what flush_dcache_page() is supposed to do and what it's not supposed to do. Is this page an associated with a mapping (iow, page_mapping(page) is non- NULL)? If not, flush_dcache_page() won't do anything, and from my understanding, its flush_anon_page() which you want to be using there instead. > The only new thing is the read access through the virtual address > mapping. That mapping is created outside the loop in > nfs_readdir_xdr_to_array(), which is why I'm thinking we do need the > invalidate_kernel_vmap_range(): we're essentially doing a series of > writes through the kernel direct mapping (i.e. readdir RPC calls), then > reading the results through the virtual mapping. > > i.e. we're doing > > ptr = vm_map_ram(lowmem_pages); > while (need_more_data) { > > for (i = 0; i < npages; i++) { > addr = kmap_atomic(lowmem_page[i]); > *addr = rpc_stuff; > flush_dcache_page(lowmem_page[i]); > kunmap_atomic(lowmem_page[i]); > } > > invalidate_kernel_vmap_range(ptr); // Needed here? Yes, you're going to need some cache maintainence in there to make it work, because accessing 'ptr' will load that data into the cache, and that won't be updated by the writes via kmap_atomic(). Provided you don't write to ptr, then using invalidate_kernel_vmap_range() will be safe. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 17:26 ` Russell King - ARM Linux @ 2011-01-05 18:12 ` Trond Myklebust 2011-01-05 18:27 ` Russell King - ARM Linux 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 18:12 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 17:26 +0000, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 12:17:27PM -0500, Trond Myklebust wrote: > > We should already be flushing the kernel direct mapping after writing by > > means of the calls to flush_dcache_page() in xdr_partial_copy_from_skb() > > and all the helpers in net/sunrpc/xdr.c. > > Hmm, we're getting into the realms of what flush_dcache_page() is supposed > to do and what it's not supposed to do. > > Is this page an associated with a mapping (iow, page_mapping(page) is non- > NULL)? If not, flush_dcache_page() won't do anything, and from my > understanding, its flush_anon_page() which you want to be using there > instead. Actually, none of these pages are ever mapped into userspace, nor are they mapped into the page cache. They are allocated directly using alloc_page() by the thread that called the readdir() syscall, so afaics there should be no incoherent mappings other than the kernel direct mapping and the one created by vm_map_ram(). So, yes, you are right that we don't need the flush_dcache_page() here. > > The only new thing is the read access through the virtual address > > mapping. That mapping is created outside the loop in > > nfs_readdir_xdr_to_array(), which is why I'm thinking we do need the > > invalidate_kernel_vmap_range(): we're essentially doing a series of > > writes through the kernel direct mapping (i.e. readdir RPC calls), then > > reading the results through the virtual mapping. > > > > i.e. we're doing > > > > ptr = vm_map_ram(lowmem_pages); > > while (need_more_data) { > > > > for (i = 0; i < npages; i++) { > > addr = kmap_atomic(lowmem_page[i]); > > *addr = rpc_stuff; > > flush_dcache_page(lowmem_page[i]); > > kunmap_atomic(lowmem_page[i]); > > } > > > > invalidate_kernel_vmap_range(ptr); // Needed here? > > Yes, you're going to need some cache maintainence in there to make it work, > because accessing 'ptr' will load that data into the cache, and that won't > be updated by the writes via kmap_atomic(). > > Provided you don't write to ptr, then using invalidate_kernel_vmap_range() > will be safe. Thanks! That is what Marc's testing appears to confirm. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 18:12 ` Trond Myklebust @ 2011-01-05 18:27 ` Russell King - ARM Linux 2011-01-05 18:55 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 18:27 UTC (permalink / raw) To: Trond Myklebust Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 01:12:25PM -0500, Trond Myklebust wrote: > On Wed, 2011-01-05 at 17:26 +0000, Russell King - ARM Linux wrote: > > On Wed, Jan 05, 2011 at 12:17:27PM -0500, Trond Myklebust wrote: > > > We should already be flushing the kernel direct mapping after writing by > > > means of the calls to flush_dcache_page() in xdr_partial_copy_from_skb() > > > and all the helpers in net/sunrpc/xdr.c. > > > > Hmm, we're getting into the realms of what flush_dcache_page() is supposed > > to do and what it's not supposed to do. > > > > Is this page an associated with a mapping (iow, page_mapping(page) is non- > > NULL)? If not, flush_dcache_page() won't do anything, and from my > > understanding, its flush_anon_page() which you want to be using there > > instead. > > Actually, none of these pages are ever mapped into userspace, nor are > they mapped into the page cache. > > They are allocated directly using alloc_page() by the thread that called > the readdir() syscall, so afaics there should be no incoherent mappings > other than the kernel direct mapping and the one created by > vm_map_ram(). > > So, yes, you are right that we don't need the flush_dcache_page() here. I do still think you need _something_ there, otherwise data can remain in the direct map alias and not be visible via the vmap alias. I don't see that we have anything in place to handle this at present though. jejb mentioned something about making kunmap_atomic() always flush the cache, even for lowmem pages, but I think that's going to be exceedingly painful, to the extent that I believe it will prevent our PIO-only MMC drivers working - or we need a scatterlist API that will let drivers iterate over the scatterlist without needing to continually kmap_atomic and kunmap_atomic each page. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 18:27 ` Russell King - ARM Linux @ 2011-01-05 18:55 ` Trond Myklebust 2011-01-05 19:07 ` Russell King - ARM Linux 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 18:55 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, 2011-01-05 at 18:27 +0000, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 01:12:25PM -0500, Trond Myklebust wrote: > > On Wed, 2011-01-05 at 17:26 +0000, Russell King - ARM Linux wrote: > > > On Wed, Jan 05, 2011 at 12:17:27PM -0500, Trond Myklebust wrote: > > > > We should already be flushing the kernel direct mapping after writing by > > > > means of the calls to flush_dcache_page() in xdr_partial_copy_from_skb() > > > > and all the helpers in net/sunrpc/xdr.c. > > > > > > Hmm, we're getting into the realms of what flush_dcache_page() is supposed > > > to do and what it's not supposed to do. > > > > > > Is this page an associated with a mapping (iow, page_mapping(page) is non- > > > NULL)? If not, flush_dcache_page() won't do anything, and from my > > > understanding, its flush_anon_page() which you want to be using there > > > instead. > > > > Actually, none of these pages are ever mapped into userspace, nor are > > they mapped into the page cache. > > > > They are allocated directly using alloc_page() by the thread that called > > the readdir() syscall, so afaics there should be no incoherent mappings > > other than the kernel direct mapping and the one created by > > vm_map_ram(). > > > > So, yes, you are right that we don't need the flush_dcache_page() here. > > I do still think you need _something_ there, otherwise data can remain > in the direct map alias and not be visible via the vmap alias. I don't > see that we have anything in place to handle this at present though. Is that perhaps what flush_kernel_dcache_page() is supposed to do? > jejb mentioned something about making kunmap_atomic() always flush the > cache, even for lowmem pages, but I think that's going to be exceedingly > painful, to the extent that I believe it will prevent our PIO-only MMC > drivers working - or we need a scatterlist API that will let drivers > iterate over the scatterlist without needing to continually kmap_atomic > and kunmap_atomic each page. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 18:55 ` Trond Myklebust @ 2011-01-05 19:07 ` Russell King - ARM Linux 0 siblings, 0 replies; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 19:07 UTC (permalink / raw) To: Trond Myklebust Cc: Marc Kleine-Budde, Uwe Kleine-König, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 01:55:05PM -0500, Trond Myklebust wrote: > On Wed, 2011-01-05 at 18:27 +0000, Russell King - ARM Linux wrote: > > I do still think you need _something_ there, otherwise data can remain > > in the direct map alias and not be visible via the vmap alias. I don't > > see that we have anything in place to handle this at present though. > > Is that perhaps what flush_kernel_dcache_page() is supposed to do? Well, given how we have things currently setup on ARM, this ends up being a no-op - as new page cache pages are marked dirty and their flushing done at the point when they're mapped into userspace. I guess we could do the flushing there and mark the page clean, but it'd need some careful examination of various code paths to confirm that it's safe - we may be avoiding this because some ARM arch versions need to manually IPI cache flushes to other cores (which can only be done with IRQs enabled.) So, I don't think it'll do at the present time. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 14:53 ` Trond Myklebust 2011-01-05 15:01 ` Marc Kleine-Budde @ 2011-01-14 2:25 ` Andy Isaacson 2011-01-14 2:40 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Andy Isaacson @ 2011-01-14 2:25 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Wed, Jan 05, 2011 at 09:53:13AM -0500, Trond Myklebust wrote: > > There was a bug in at least -rc5[1] that was considered already fixed in > > -rc4[2]. The later announcements didn't mention it anymore. > > > > > I don't know why it's stopped producing the errors, although once it > > > went I never investigated it any further (was far too busy trying to > > > get AMBA DMA support working.) > > It seems it was fixed for most users though. Trond? > > As I said, I can't reproduce it. > > I'm seeing a lot of mention of ARM above. Is anyone seeing this bug on > x86, or does it appear to be architecture-specific? I'm seeing processes stuck in D with "fileid changed" in dmesg, on x86_64 (both server and client). The repro testcase is to run an executable off of NFS, recompile it on the server, and then try to tab complete the executable name. The client prints NFS: server <hostname> error: fileid changed fsid 0:18: expected fileid 0x107aa4a, got 0x107ad3e and /bin/zsh hangs in D. My server is running 2.6.36.1, filesystem is ext3 on sda3 on AHCI, client is currently running 2.6.37-rc1. I'm assuming that 37a09f will fix it. -andy ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-14 2:25 ` Andy Isaacson @ 2011-01-14 2:40 ` Trond Myklebust 2011-01-14 4:22 ` Andy Isaacson 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-14 2:40 UTC (permalink / raw) To: Andy Isaacson Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Thu, 2011-01-13 at 18:25 -0800, Andy Isaacson wrote: > On Wed, Jan 05, 2011 at 09:53:13AM -0500, Trond Myklebust wrote: > > > There was a bug in at least -rc5[1] that was considered already fixed in > > > -rc4[2]. The later announcements didn't mention it anymore. > > > > > > > I don't know why it's stopped producing the errors, although once it > > > > went I never investigated it any further (was far too busy trying to > > > > get AMBA DMA support working.) > > > It seems it was fixed for most users though. Trond? > > > > As I said, I can't reproduce it. > > > > I'm seeing a lot of mention of ARM above. Is anyone seeing this bug on > > x86, or does it appear to be architecture-specific? > > I'm seeing processes stuck in D with "fileid changed" in dmesg, on > x86_64 (both server and client). The repro testcase is to run an > executable off of NFS, recompile it on the server, and then try to tab > complete the executable name. The client prints > > NFS: server <hostname> error: fileid changed > fsid 0:18: expected fileid 0x107aa4a, got 0x107ad3e > > and /bin/zsh hangs in D. > > My server is running 2.6.36.1, filesystem is ext3 on sda3 on AHCI, > client is currently running 2.6.37-rc1. I'm assuming that 37a09f will > fix it. Why are you sticking to 2.6.37-rc1 when the final 2.6.37 is out? There have been several readdir bugfixes merged in the months since -rc1 came out. Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-14 2:40 ` Trond Myklebust @ 2011-01-14 4:22 ` Andy Isaacson 0 siblings, 0 replies; 117+ messages in thread From: Andy Isaacson @ 2011-01-14 4:22 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Russell King - ARM Linux, linux-nfs, Linus Torvalds, linux-kernel, linux-arm-kernel, Marc Kleine-Budde On Thu, Jan 13, 2011 at 09:40:23PM -0500, Trond Myklebust wrote: > > My server is running 2.6.36.1, filesystem is ext3 on sda3 on AHCI, > > client is currently running 2.6.37-rc1. I'm assuming that 37a09f will > > fix it. > > Why are you sticking to 2.6.37-rc1 when the final 2.6.37 is out? There > have been several readdir bugfixes merged in the months since -rc1 came > out. No good reason, just hadn't run into any reasons to update; switching kernels is nonzero cost since the machine in question runs some out of tree modules ergo updating is slightly more involved than "make && make install". Above and beyond the costs of rebooting and losing state. Actual bug is obviously a good reason to update though. -andy ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds ` (2 preceding siblings ...) 2010-12-30 17:14 ` still nfs problems [Was: Linux 2.6.37-rc8] Uwe Kleine-König @ 2011-01-03 8:48 ` Domenico Andreoli 2011-01-04 14:26 ` Pavel Machek 4 siblings, 0 replies; 117+ messages in thread From: Domenico Andreoli @ 2011-01-03 8:48 UTC (permalink / raw) To: torvalds; +Cc: linux-kernel, dri-devel, alexdeucher, airlied, chris Hi, On Tue, Dec 28, 2010 at 05:18:12PM -0800, ext Linus Torvalds wrote: > Another week, another -rc. This should be the last for the 37 series, > so I still expect the merge window to open early January when people > are hopefully back to working order after having eaten (and drunk) too > much. > > The -rc8 release shouldn't be all that exciting. The most noticeable > is probably the fact that hopefully the "blank screen" problem with > intel graphics is fixed. But on the whole, it's all just a collection > of random fixes all over. confirmed, at least my blank screen is gone with this -rc8. Thank you all. ciao, Domenico ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds ` (3 preceding siblings ...) 2011-01-03 8:48 ` Linux 2.6.37-rc8 Domenico Andreoli @ 2011-01-04 14:26 ` Pavel Machek 2011-01-04 14:35 ` Chris Wilson 4 siblings, 1 reply; 117+ messages in thread From: Pavel Machek @ 2011-01-04 14:26 UTC (permalink / raw) To: Linus Torvalds; +Cc: Linux Kernel Mailing List Hi! > Another week, another -rc. This should be the last for the 37 series, > so I still expect the merge window to open early January when people > are hopefully back to working order after having eaten (and drunk) too > much. > > The -rc8 release shouldn't be all that exciting. The most noticeable > is probably the fact that hopefully the "blank screen" problem with > intel graphics is fixed. But on the whole, it's all just a collection > of random fixes all over. I still see blank screen on thinkpad x60... but so do I on 2.6.36 with same config, so maybe it is just tricky to configure? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-04 14:26 ` Pavel Machek @ 2011-01-04 14:35 ` Chris Wilson 2011-01-04 21:04 ` Pavel Machek 0 siblings, 1 reply; 117+ messages in thread From: Chris Wilson @ 2011-01-04 14:35 UTC (permalink / raw) To: Pavel Machek, Linus Torvalds; +Cc: Linux Kernel Mailing List On Tue, 4 Jan 2011 15:26:04 +0100, Pavel Machek <pavel@ucw.cz> wrote: > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with > same config, so maybe it is just tricky to configure? Old bug? I thought we had KMS on 945 pretty well understood by now. Care to attach the dmesg with drm.debug=0xe? And to check against linus/master for the most recent regression fixes. Thanks, -Chris -- Chris Wilson, Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-04 14:35 ` Chris Wilson @ 2011-01-04 21:04 ` Pavel Machek 2011-01-04 21:15 ` Dave Airlie 0 siblings, 1 reply; 117+ messages in thread From: Pavel Machek @ 2011-01-04 21:04 UTC (permalink / raw) To: Chris Wilson; +Cc: Linus Torvalds, Linux Kernel Mailing List [-- Attachment #1: Type: text/plain, Size: 573 bytes --] Hi! > > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with > > same config, so maybe it is just tricky to configure? > > Old bug? I thought we had KMS on 945 pretty well understood by now. Care > to attach the dmesg with drm.debug=0xe? And to check against linus/master > for the most recent regression fixes. dmesg is attached (delme.gz), as is config. And yes, I did git pull few minutes ago... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [-- Attachment #2: delme.gz --] [-- Type: application/octet-stream, Size: 14531 bytes --] [-- Attachment #3: config.gz --] [-- Type: application/octet-stream, Size: 19423 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-04 21:04 ` Pavel Machek @ 2011-01-04 21:15 ` Dave Airlie 2011-01-05 7:21 ` Pavel Machek 2011-01-05 22:05 ` Pavel Machek 0 siblings, 2 replies; 117+ messages in thread From: Dave Airlie @ 2011-01-04 21:15 UTC (permalink / raw) To: Pavel Machek; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List On Wed, Jan 5, 2011 at 7:04 AM, Pavel Machek <pavel@ucw.cz> wrote: > Hi! > >> > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with >> > same config, so maybe it is just tricky to configure? >> >> Old bug? I thought we had KMS on 945 pretty well understood by now. Care >> to attach the dmesg with drm.debug=0xe? And to check against linus/master >> for the most recent regression fixes. > > dmesg is attached (delme.gz), as is config. > > And yes, I did git pull few minutes ago... > Pavel > -- Disable CONFIG_FB_VESA or remove the vga= line from the commandline for a first test. Dave. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-04 21:15 ` Dave Airlie @ 2011-01-05 7:21 ` Pavel Machek 2011-01-05 22:05 ` Pavel Machek 1 sibling, 0 replies; 117+ messages in thread From: Pavel Machek @ 2011-01-05 7:21 UTC (permalink / raw) To: Dave Airlie; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List On Wed 2011-01-05 07:15:42, Dave Airlie wrote: > On Wed, Jan 5, 2011 at 7:04 AM, Pavel Machek <pavel@ucw.cz> wrote: > > Hi! > > > >> > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with > >> > same config, so maybe it is just tricky to configure? > >> > >> Old bug? I thought we had KMS on 945 pretty well understood by now. Care > >> to attach the dmesg with drm.debug=0xe? And to check against linus/master > >> for the most recent regression fixes. > > > > dmesg is attached (delme.gz), as is config. > > > > And yes, I did git pull few minutes ago... > > Disable CONFIG_FB_VESA or remove the vga= line from the commandline for a > first test. Ok, that helped with 2.6.35 I had compiled and which had same problem. Will retry with 2.6.37-rc8-git. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-04 21:15 ` Dave Airlie 2011-01-05 7:21 ` Pavel Machek @ 2011-01-05 22:05 ` Pavel Machek 2011-01-05 22:49 ` Dave Airlie 1 sibling, 1 reply; 117+ messages in thread From: Pavel Machek @ 2011-01-05 22:05 UTC (permalink / raw) To: Dave Airlie; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List Hi! > >> > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with > >> > same config, so maybe it is just tricky to configure? > >> > >> Old bug? I thought we had KMS on 945 pretty well understood by now. Care > >> to attach the dmesg with drm.debug=0xe? And to check against linus/master > >> for the most recent regression fixes. > > > > dmesg is attached (delme.gz), as is config. > > > > And yes, I did git pull few minutes ago... > > Disable CONFIG_FB_VESA or remove the vga= line from the commandline for a > first test. Yes, that helped, thanks. (But are not framebuffers expected to "take over" and replace one another?) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-05 22:05 ` Pavel Machek @ 2011-01-05 22:49 ` Dave Airlie 2011-01-06 20:27 ` Pavel Machek 0 siblings, 1 reply; 117+ messages in thread From: Dave Airlie @ 2011-01-05 22:49 UTC (permalink / raw) To: Pavel Machek; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List On Thu, Jan 6, 2011 at 8:05 AM, Pavel Machek <pavel@ucw.cz> wrote: > Hi! > >> >> > I still see blank screen on thinkpad x60... but so do I on 2.6.36 with >> >> > same config, so maybe it is just tricky to configure? >> >> >> >> Old bug? I thought we had KMS on 945 pretty well understood by now. Care >> >> to attach the dmesg with drm.debug=0xe? And to check against linus/master >> >> for the most recent regression fixes. >> > >> > dmesg is attached (delme.gz), as is config. >> > >> > And yes, I did git pull few minutes ago... >> >> Disable CONFIG_FB_VESA or remove the vga= line from the commandline for a >> first test. > > Yes, that helped, thanks. (But are not framebuffers expected to "take > over" and replace one another?) In an ideal world they should, but vesafb can do things to the hardware and leave it in a bad state for the intel driver and it doesn't figure it out. Also I think the handover needs to be done earlier for Intel as well, like nouveau and radeon do. Dave. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-05 22:49 ` Dave Airlie @ 2011-01-06 20:27 ` Pavel Machek 2000-01-01 0:13 ` Pavel Machek 0 siblings, 1 reply; 117+ messages in thread From: Pavel Machek @ 2011-01-06 20:27 UTC (permalink / raw) To: Dave Airlie; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List Hi! > >> > And yes, I did git pull few minutes ago... > >> > >> Disable CONFIG_FB_VESA or remove the vga= line from the commandline for a > >> first test. > > > > Yes, that helped, thanks. (But are not framebuffers expected to "take > > over" and replace one another?) > > In an ideal world they should, but vesafb can do things to the > hardware and leave it in a bad > state for the intel driver and it doesn't figure it out. Also I think > the handover needs to be done > earlier for Intel as well, like nouveau and radeon do. Ok, I guess someone should write Doc*/fb/inteldrmfb.txt... I got unaccelerated X working, good. Section "Device" Identifier "Generic Video Card" # Driver "intel" Driver "fbdev" Option "UseFBDev" "true" EndSection ...but when I returned to machine, display did wake up but backlight did not :-(. But I still can't get accelerated X to work. I tried updating xserver: Setting up xserver-xorg-video-intel (2:2.13.0-2) ... Section "Device" Identifier "Generic Video Card" Driver "intel" # Driver "fbdev" Option "UseFBDev" "true" EndSection but when I try to start X, I get: xorg-server 2:1.7.7-8 (Cyril Brulebois <kibi@debian.org>) Current version of pixman: 0.16.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 6 21:25:59 2011 (==) Using config file: "/etc/X11/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" WARNING: All config files need .conf: /etc/modprobe.d/isapnp, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/irda-utils, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/arch, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/thinkpad, it will be ignored in a future release. WARNING: All config files need .conf: /etc/modprobe.d/crypto, it will be ignored in a future release. FATAL: Could not load /lib/modules/2.6.37-rc8+/modules.dep: No such file or directory (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: No such file or directory (EE) intel(0): Failed to become DRM master. DRM_IOCTL_I915_GEM_APERTURE failed: Bad file descriptor Assuming 131072kB available aperture size. May lead to reduced performance or incorrect rendering. get chip id failed: -1 [9] param: 4, val: 0 (EE) intel(0): failed to get resources: Bad file descriptor (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found :-(. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2011-01-06 20:27 ` Pavel Machek @ 2000-01-01 0:13 ` Pavel Machek 2011-01-08 12:46 ` Chris Wilson 0 siblings, 1 reply; 117+ messages in thread From: Pavel Machek @ 2000-01-01 0:13 UTC (permalink / raw) To: Dave Airlie; +Cc: Chris Wilson, Linus Torvalds, Linux Kernel Mailing List Hi! > Ok, I guess someone should write Doc*/fb/inteldrmfb.txt... ... > But I still can't get accelerated X to work. I tried updating xserver: > > Setting up xserver-xorg-video-intel (2:2.13.0-2) ... > > Section "Device" > Identifier "Generic Video Card" > Driver "intel" I did not have right /dev nodes created, it seems to work now. I guess I should write some docs now. One more question: what kind of 3D performance should I expect? glxgears get < 100 fps in 1024x768 mode, and flightgear is unusable. Is there normal or ...? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: Linux 2.6.37-rc8 2000-01-01 0:13 ` Pavel Machek @ 2011-01-08 12:46 ` Chris Wilson 0 siblings, 0 replies; 117+ messages in thread From: Chris Wilson @ 2011-01-08 12:46 UTC (permalink / raw) To: Pavel Machek, Dave Airlie; +Cc: Linus Torvalds, Linux Kernel Mailing List On Sat, 1 Jan 2000 01:13:01 +0100, Pavel Machek <pavel@ucw.cz> wrote: > One more question: what kind of 3D performance should I expect? > glxgears get < 100 fps in 1024x768 mode, and flightgear is unusable. glxgears should be vsync'ed, and flightgear would be expecting a little too much from the 945. World of Padman is about the limit of the complexity that 945 can handle and remain playable. On the other hand, it is a very able performer for "2D" compositing. -Chris -- Chris Wilson, Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8]
@ 2010-12-31 3:17 George Spelvin
2010-12-31 4:32 ` Trond Myklebust
0 siblings, 1 reply; 117+ messages in thread
From: George Spelvin @ 2010-12-31 3:17 UTC (permalink / raw)
To: Trond.Myklebust; +Cc: linux, linux-kernel, linux-nfs
> Uncached_readdir is not really a problem. The real problem is
> filesystems that generate "infinite directories" by producing looping
> combinations of cookies.
>
> IOW: I've seen servers that generate cookies in a sequence of a form
> vaguely resembling
>
> 1 2 3 4 5 6 7 8 9 10 11 12 3...
>
> (with possibly a thousand or so entries between the first and second
> copy of '3')
>
> The kernel won't loop forever with something like that (because
> eventually filldir() will declare it is out of buffer space), but
> userland has a halting problem: it needs to detect that every
> sys_getdents() call it is making is generating another copy of the
> sequence associated with '4 5 6 7 8 9 10 11 12 3'...
Huh? This is not only an easy problem, it's a well-known problem.
http://en.wikipedia.org/wiki/Cycle_detection
Here's Brent's algorithm:
n = 0;
saved_cookie = <invalid>
For each cookie {
if (n && cookie == saved_cookie)
die("Loop detected!");
if (++n is a power of 2)
saved_cookie = cookie;
}
You can tweak the performance with other exponentially-growing
functions, saving k > 1 old cookies for comparison, etc., but the
above will work very well.
^ permalink raw reply [flat|nested] 117+ messages in thread* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-31 3:17 still nfs problems [Was: Linux 2.6.37-rc8] George Spelvin @ 2010-12-31 4:32 ` Trond Myklebust 2011-01-01 1:03 ` George Spelvin 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2010-12-31 4:32 UTC (permalink / raw) To: George Spelvin; +Cc: linux-kernel, linux-nfs On Thu, 2010-12-30 at 22:17 -0500, George Spelvin wrote: > > Uncached_readdir is not really a problem. The real problem is > > filesystems that generate "infinite directories" by producing looping > > combinations of cookies. > > > > IOW: I've seen servers that generate cookies in a sequence of a form > > vaguely resembling > > > > 1 2 3 4 5 6 7 8 9 10 11 12 3... > > > > (with possibly a thousand or so entries between the first and second > > copy of '3') > > > > The kernel won't loop forever with something like that (because > > eventually filldir() will declare it is out of buffer space), but > > userland has a halting problem: it needs to detect that every > > sys_getdents() call it is making is generating another copy of the > > sequence associated with '4 5 6 7 8 9 10 11 12 3'... > > Huh? This is not only an easy problem, it's a well-known problem. > http://en.wikipedia.org/wiki/Cycle_detection > > Here's Brent's algorithm: > > n = 0; > saved_cookie = <invalid> > For each cookie { > if (n && cookie == saved_cookie) > die("Loop detected!"); > if (++n is a power of 2) > saved_cookie = cookie; > } > > You can tweak the performance with other exponentially-growing > functions, saving k > 1 old cookies for comparison, etc., but the > above will work very well. ...and your point would be that an exponentially increasing addition to the existing number of tests is an acceptable tradeoff in a situation where the >99.999999999999999% case is that of sane servers with no looping? I don't think so... Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2010-12-31 4:32 ` Trond Myklebust @ 2011-01-01 1:03 ` George Spelvin 2011-01-01 1:18 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: George Spelvin @ 2011-01-01 1:03 UTC (permalink / raw) To: linux, Trond.Myklebust; +Cc: linux-kernel, linux-nfs > ...and your point would be that an exponentially increasing addition to > the existing number of tests is an acceptable tradeoff in a situation > where the >99.999999999999999% case is that of sane servers with no > looping? I don't think so... 1) Look again; it's O(1) work per entry, or O(n) work for an n-entry directory. And O(1) space. With very small constant factors, and very little code. The only thing exponentially increasing is the interval at which you save the current cookie for future comparison. 2) You said it *was* a problem, so it seemed worth presenting a practical solution. If you don't think it's worth it, I'm not going to disagree. But it's not impossible, or even difficult. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-01 1:03 ` George Spelvin @ 2011-01-01 1:18 ` Trond Myklebust 2011-01-01 5:44 ` George Spelvin 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-01 1:18 UTC (permalink / raw) To: George Spelvin; +Cc: linux-kernel, linux-nfs On Fri, 2010-12-31 at 20:03 -0500, George Spelvin wrote: > > ...and your point would be that an exponentially increasing addition to > > the existing number of tests is an acceptable tradeoff in a situation > > where the >99.999999999999999% case is that of sane servers with no > > looping? I don't think so... > > 1) Look again; it's O(1) work per entry, or O(n) work for an n-entry > directory. And O(1) space. With very small constant factors, and > very little code. The only thing exponentially increasing is the > interval at which you save the current cookie for future comparison. > 2) You said it *was* a problem, so it seemed worth presenting a > practical solution. If you don't think it's worth it, I'm not > going to disagree. But it's not impossible, or even difficult. Yes. I was thinking about it this morning (after coffee). One variant on those algorithms that might make sense here is to save the current cookie each time we see that the result of a cookie search is a filp->f_pos offset < the current filp->f_pos offset. That means we will in general only detect the loop after going through an entire cycle, but that should be sufficient... Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-01 1:18 ` Trond Myklebust @ 2011-01-01 5:44 ` George Spelvin 0 siblings, 0 replies; 117+ messages in thread From: George Spelvin @ 2011-01-01 5:44 UTC (permalink / raw) To: linux, Trond.Myklebust; +Cc: linux-kernel, linux-nfs >> 1) Look again; it's O(1) work per entry, or O(n) work for an n-entry >> directory. And O(1) space. With very small constant factors, > Yes. I was thinking about it this morning (after coffee). Thank you for the second look. > One variant on those algorithms that might make sense here is to save > the current cookie each time we see that the result of a cookie search > is a filp->f_pos offset < the current filp->f_pos offset. That means we > will in general only detect the loop after going through an entire > cycle, but that should be sufficient... All of these low-overhead algorithms can take a couple of loop iterations before they detect it; their job is to achieve a reasonably low constant factor in time using O(1) space. The worst case for the power-of-two algorithm is when the loop is n = 2^k+1 items long. When you get to item 2^(k+1), you'll be comparing to item 2^k, which is a mismatch. Then you'll save the cookie from 2^(k+1) and have to go to 2^(k+1) + 2^k + 1, or about 3*n, before detecting it. I don't consider this a problem, because it wastes a few seconds of computer time, to be followed by wasting a few hours trying to pass a bug report upstream about the broken NFS server... I don't quite follow how your proposed variant works. Pardon my ignorance of NFS, but is the f->pos something that comes from the server, or something that is synthesized locally? Obviously, if you keep a record of all the server cookies, you can detect loops quite easily. If it comes from the server, there's a risk that there might be two backward jumps in the cycle, and thus you'll never notice it. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8]
@ 2011-01-05 19:05 James Bottomley
2011-01-05 19:18 ` Linus Torvalds
0 siblings, 1 reply; 117+ messages in thread
From: James Bottomley @ 2011-01-05 19:05 UTC (permalink / raw)
To: Russell King - ARM Linux
Cc: Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde,
Uwe Kleine-König, Linus Torvalds, Marc Kleine-Budde,
linux-arm-kernel, Parisc List, linux-arch
[sorry for the unthreaded insertion. We're seeing this on parisc too]
> On Wed, Jan 05, 2011 at 10:14:17AM -0500, Trond Myklebust wrote:
> > OK. So,the new behaviour in 2.6.37 is that we're writing to a series of
> > pages via the usual kmap_atomic()/kunmap_atomic() and kmap()/kunmap()
> > interfaces, but we can end up reading them via a virtual address range
> > that gets set up via vm_map_ram() (that range gets set up before the
> > write occurs).
>
> kmap of lowmem pages will always reuses the existing kernel direct
> mapping, so there won't be a problem there.
>
> > Do we perhaps need an invalidate_kernel_vmap_range() before we can read
> > the data on ARM in this kind of scenario?
>
> Firstly, vm_map_ram() does no cache maintainence of any sort, nor does
> it take care of page colouring - so any architecture where cache aliasing
> can occur will see this problem. It should not limited to ARM.
>
> Secondly, no, invalidate_kernel_vmap_range() probably isn't sufficient.
> There's two problems here:
>
> addr = kmap(lowmem_page);
> *addr = stuff;
> kunmap(lowmem_page);
>
> Such lowmem pages are accessed through their kernel direct mapping.
>
> ptr = vm_map_ram(lowmem_page);
> read = *ptr;
>
> This creates a new mapping which can alias with the kernel direct mapping.
> Now, as this is a new mapping, there should be no cache lines associated
> with it. (Looking at vm_unmap_ram(), it calls free_unmap_vmap_area_addr(),
> free_unmap_vmap_area(), which then calls flush_cache_vunmap() on the
> region. vb_free() also calls flush_cache_vunmap() too.)
>
> If the write after kmap() hits an already present cache line, the cache
> line will be updated, but it won't be written back to memory. So, on
> a subsequent vm_map_ram(), with any kind of aliasing cache, there's
> no guarantee that you'll hit that cache line and read the data just
> written there.
>
> The kernel direct mapping would need to be flushed.
>
> I'm really getting to the point of hating the poliferation of RAM
> remapping interfaces - it's going to (and is) causing nothing but lots
> of pain on virtual cache architectures, needing more and more cache
> flushing interfaces to be created.
>
> Is there any other solution to this?
I think the solution for the kernel direct mapping problem is to take
the expected flushes and invalidates into kmap/kunmap[_atomic]. I think
the original reason for not doing this was efficiency: the user should
know what they did with the data (i.e. if they're only reading it, it
doesn't need to be flushed on unmap). However, the difficulty of
getting all this right seems to outweigh the efficiency of only using
the necessary flushing. At least on some architectures, we can look at
the TLB flags to see if the page was dirtied (and only flush if it was).
James
^ permalink raw reply [flat|nested] 117+ messages in thread* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 19:05 James Bottomley @ 2011-01-05 19:18 ` Linus Torvalds 2011-01-05 19:36 ` James Bottomley 0 siblings, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 19:18 UTC (permalink / raw) To: James Bottomley Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 5, 2011 at 11:05 AM, James Bottomley <James.Bottomley@hansenpartnership.com> wrote: > > I think the solution for the kernel direct mapping problem is to take > the expected flushes and invalidates into kmap/kunmap[_atomic]. No, we really can't do that. Most of the time, the kmap() is the only way we access the page anyway, so flushing things would just be stupid. Why waste time and energy on doing something pointless? In fact, kmap() here is a total non-issue. It's not the kmap() that introduces any virtual aliases, and never has been. It's the "vm_map_ram()" that is the problem. Unlike the kmap(), that really _does_ introduce a virtual alias, and is a problem for any virtual cache. So don't blame kmap(). It's innocent and irrelevant - the bug could happen entirely without it (think a 64-bit address space that doesn't even _have_ kmap, but has software that mixes vm_map_ram() with non-mapped accesses). Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 19:18 ` Linus Torvalds @ 2011-01-05 19:36 ` James Bottomley 2011-01-05 19:49 ` Linus Torvalds 2011-01-05 20:00 ` Russell King - ARM Linux 0 siblings, 2 replies; 117+ messages in thread From: James Bottomley @ 2011-01-05 19:36 UTC (permalink / raw) To: Linus Torvalds Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 11:18 -0800, Linus Torvalds wrote: > On Wed, Jan 5, 2011 at 11:05 AM, James Bottomley > <James.Bottomley@hansenpartnership.com> wrote: > > > > I think the solution for the kernel direct mapping problem is to take > > the expected flushes and invalidates into kmap/kunmap[_atomic]. > > No, we really can't do that. Most of the time, the kmap() is the only > way we access the page anyway, so flushing things would just be > stupid. Why waste time and energy on doing something pointless? It's hardly pointless. The kmap sets up an inequivalent alias in the cache. When you write to the kmap region, you dirty the CPU caches for that alias. If you tear down the mapping without flushing, the CPU will write out the cache lines at its leisure. If you access the line via the other mapping *before* the CPU does writeout, you see stale data. When the kernel dirties a kmap region, it always has to flush somehow before kunmap. One of the problems here is that that flush isn't in the NFS code. > In fact, kmap() here is a total non-issue. It's not the kmap() that > introduces any virtual aliases, and never has been. It's the > "vm_map_ram()" that is the problem. Unlike the kmap(), that really > _does_ introduce a virtual alias, and is a problem for any virtual > cache. > > So don't blame kmap(). It's innocent and irrelevant - the bug could > happen entirely without it (think a 64-bit address space that doesn't > even _have_ kmap, but has software that mixes vm_map_ram() with > non-mapped accesses). I didn't say it was kmap's entire problem ... I just said, can't we simplify some of this by consolidating the flushing into the interfaces. James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 19:36 ` James Bottomley @ 2011-01-05 19:49 ` Linus Torvalds 2011-01-05 20:35 ` James Bottomley 2011-01-05 20:00 ` Russell King - ARM Linux 1 sibling, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 19:49 UTC (permalink / raw) To: James Bottomley Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch 2011/1/5 James Bottomley <James.Bottomley@hansenpartnership.com>: >> >> No, we really can't do that. Most of the time, the kmap() is the only >> way we access the page anyway, so flushing things would just be >> stupid. Why waste time and energy on doing something pointless? > > It's hardly pointless. The kmap sets up an inequivalent alias in the > cache. NO IT DOES NOT. Stop arguing, when you are so wrong. kmap() does not create any aliases. For low-memory, it just returns the physical address. No alias. And for high memory, there is no equivalent low memory address to alias _with_. Now, when you actually mix multiple kmap's and you have a virtually based cache, then the kmap's obviously need to flush that particular page when switching between each other. But that has nothing to do with the actual page being kmap'ed, it's entirely an internal issue about the particular virtual memory area being re-used. And ARM (and any other virtually based CPU) already does that in __kunmap_atomic(). But notice the case of the low-mem. And understand that you are WRONG about the "inequivalent alias" thing. So I repeat: this has absolutely *NOTHING* to do with kmap(). Stop blathering. It's _purely_ an issue of vm_map_ram(). Nothing else. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 19:49 ` Linus Torvalds @ 2011-01-05 20:35 ` James Bottomley 0 siblings, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-05 20:35 UTC (permalink / raw) To: Linus Torvalds Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 11:49 -0800, Linus Torvalds wrote: > 2011/1/5 James Bottomley <James.Bottomley@hansenpartnership.com>: > >> > >> No, we really can't do that. Most of the time, the kmap() is the only > >> way we access the page anyway, so flushing things would just be > >> stupid. Why waste time and energy on doing something pointless? > > > > It's hardly pointless. The kmap sets up an inequivalent alias in the > > cache. > > NO IT DOES NOT. Well, it does ... but not in this case because the page is freshly allocated (which I missed before) so it has no use cache colour yet. James > Stop arguing, when you are so wrong. > > kmap() does not create any aliases. For low-memory, it just returns > the physical address. No alias. And for high memory, there is no > equivalent low memory address to alias _with_. > > Now, when you actually mix multiple kmap's and you have a virtually > based cache, then the kmap's obviously need to flush that particular > page when switching between each other. But that has nothing to do > with the actual page being kmap'ed, it's entirely an internal issue > about the particular virtual memory area being re-used. And ARM (and > any other virtually based CPU) already does that in __kunmap_atomic(). > > But notice the case of the low-mem. And understand that you are WRONG > about the "inequivalent alias" thing. > > So I repeat: this has absolutely *NOTHING* to do with kmap(). Stop blathering. > > It's _purely_ an issue of vm_map_ram(). Nothing else. > > Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 19:36 ` James Bottomley 2011-01-05 19:49 ` Linus Torvalds @ 2011-01-05 20:00 ` Russell King - ARM Linux 2011-01-05 20:33 ` James Bottomley 1 sibling, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 20:00 UTC (permalink / raw) To: James Bottomley Cc: Linus Torvalds, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 05, 2011 at 01:36:09PM -0600, James Bottomley wrote: > On Wed, 2011-01-05 at 11:18 -0800, Linus Torvalds wrote: > > On Wed, Jan 5, 2011 at 11:05 AM, James Bottomley > > <James.Bottomley@hansenpartnership.com> wrote: > > > > > > I think the solution for the kernel direct mapping problem is to take > > > the expected flushes and invalidates into kmap/kunmap[_atomic]. > > > > No, we really can't do that. Most of the time, the kmap() is the only > > way we access the page anyway, so flushing things would just be > > stupid. Why waste time and energy on doing something pointless? > > It's hardly pointless. The kmap sets up an inequivalent alias in the > cache. No it doesn't. For pages which are inaccessible, it sets up a mapping for those pages. On aliasing cache architectures, when you tear down such a mapping, you have to flush the cache before you do so (otherwise you can end up with cache lines existing in the cache for inaccessible mappings.) For lowmem pages, kmap() (should always) bypass the 'setup mapping' stage because all lowmem pages are already accessible. So kunmap() doesn't do anything - just like the !HIGHMEM implementation for these macros. So, for highmem-enabled systems: low_addr = kmap_atomic(lowmem_page); high_addr = kmap_atomic(highmem_page); results in low_addr in the kernel direct-mapped region, and high_addr in the kmap_atomic region. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 20:00 ` Russell King - ARM Linux @ 2011-01-05 20:33 ` James Bottomley 2011-01-05 20:48 ` Linus Torvalds 0 siblings, 1 reply; 117+ messages in thread From: James Bottomley @ 2011-01-05 20:33 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Linus Torvalds, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 20:00 +0000, Russell King - ARM Linux wrote: > On Wed, Jan 05, 2011 at 01:36:09PM -0600, James Bottomley wrote: > > On Wed, 2011-01-05 at 11:18 -0800, Linus Torvalds wrote: > > > On Wed, Jan 5, 2011 at 11:05 AM, James Bottomley > > > <James.Bottomley@hansenpartnership.com> wrote: > > > > > > > > I think the solution for the kernel direct mapping problem is to take > > > > the expected flushes and invalidates into kmap/kunmap[_atomic]. > > > > > > No, we really can't do that. Most of the time, the kmap() is the only > > > way we access the page anyway, so flushing things would just be > > > stupid. Why waste time and energy on doing something pointless? > > > > It's hardly pointless. The kmap sets up an inequivalent alias in the > > cache. > > No it doesn't. For pages which are inaccessible, it sets up a mapping > for those pages. On aliasing cache architectures, when you tear down > such a mapping, you have to flush the cache before you do so (otherwise > you can end up with cache lines existing in the cache for inaccessible > mappings.) > > For lowmem pages, kmap() (should always) bypass the 'setup mapping' stage > because all lowmem pages are already accessible. So kunmap() doesn't > do anything - just like the !HIGHMEM implementation for these macros. well, that depends. For us on parisc, kmap of a user page in !HIGHMEM sets up an inequivalent aliase still ... because the cache colour of the user and kernel virtual addresses are different. Depending on the return path to userspace, we still usually have to flush to get the user to see the changes the kernel has made. James > So, for highmem-enabled systems: > > low_addr = kmap_atomic(lowmem_page); > high_addr = kmap_atomic(highmem_page); > > results in low_addr in the kernel direct-mapped region, and high_addr > in the kmap_atomic region. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 20:33 ` James Bottomley @ 2011-01-05 20:48 ` Linus Torvalds 2011-01-05 21:04 ` Russell King - ARM Linux 2011-01-05 21:16 ` James Bottomley 0 siblings, 2 replies; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 20:48 UTC (permalink / raw) To: James Bottomley Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 5, 2011 at 12:33 PM, James Bottomley <James.Bottomley@hansenpartnership.com> wrote: > > well, that depends. For us on parisc, kmap of a user page in !HIGHMEM > sets up an inequivalent aliase still ... because the cache colour of the > user and kernel virtual addresses are different. Depending on the > return path to userspace, we still usually have to flush to get the user > to see the changes the kernel has made. Umm. Again, that has nothing to do with kmap(). This time it's about the user space mapping. Repeat after me: even without the kmap(), the kernel access to that mapping would have caused cache aliases. See? Once more, the kmap() is entirely innocent. You can have a non-highmem mapping that you never use kmap for, and that you map into user space, and you'd see exactly the same aliases. Notice? Look ma, no kmap(). So clearly kmap() is not the issue. The issue continues to be a totally separate virtual mapping. Whether it's a user mapping or vm_map_ram() is obviously immaterial - as far as the CPU is concerned, there is no difference between the two (apart from the trivial differences of virtual location and permissions). (You can also force the problem with vmalloc() an then following the kernel page tables, but I hope nobody does that any more. I suspect I'm wrong, though, there's probably code that mixes vmalloc and physical page accesses in various drivers) Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 20:48 ` Linus Torvalds @ 2011-01-05 21:04 ` Russell King - ARM Linux 2011-01-05 21:08 ` Linus Torvalds 2011-01-05 21:16 ` James Bottomley 1 sibling, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 21:04 UTC (permalink / raw) To: Linus Torvalds Cc: James Bottomley, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 05, 2011 at 12:48:32PM -0800, Linus Torvalds wrote: > (You can also force the problem with vmalloc() an then following the > kernel page tables, but I hope nobody does that any more. I suspect > I'm wrong, though, there's probably code that mixes vmalloc and > physical page accesses in various drivers) Should vmalloc_to_page() (84 users)/vmalloc_to_pfn() (17 users) be deprecated then? ;) However, we seem have new ways of doing this - rather than asking vmalloc() for some memory, and then getting at the pages by following the page tables, we now have ways to create mappings using arrays of struct pages and access them via their already known mappings: - vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) - map_kernel_range_noflush(unsigned long addr, unsigned long size, pgprot_t prot, struct page **pages) - map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) - vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) So really it's the same problem, just created by some other easier to use methods. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 21:04 ` Russell King - ARM Linux @ 2011-01-05 21:08 ` Linus Torvalds 2011-01-05 21:16 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 21:08 UTC (permalink / raw) To: Russell King - ARM Linux Cc: James Bottomley, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 5, 2011 at 1:04 PM, Russell King - ARM Linux <linux@arm.linux.org.uk> wrote: > On Wed, Jan 05, 2011 at 12:48:32PM -0800, Linus Torvalds wrote: >> (You can also force the problem with vmalloc() an then following the >> kernel page tables, but I hope nobody does that any more. I suspect >> I'm wrong, though, there's probably code that mixes vmalloc and >> physical page accesses in various drivers) > > Should vmalloc_to_page() (84 users)/vmalloc_to_pfn() (17 users) be > deprecated then? ;) I do think that the "modern" way of doing it is "vmap()"/"vm_map_ram()" and friends, and it should be preferred over using vmalloc() and then looking up the pages. But in the end, the two approaches really are equivalent, so it's not like it really matters. So I don't think we need to deprecate things officially, but obviously we should make people more aware of the whole virtual alias thing that crops up whenever you use any of these approaches. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 21:08 ` Linus Torvalds @ 2011-01-05 21:16 ` Trond Myklebust 2011-01-05 21:30 ` Linus Torvalds 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 21:16 UTC (permalink / raw) To: Linus Torvalds Cc: Russell King - ARM Linux, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 13:08 -0800, Linus Torvalds wrote: > On Wed, Jan 5, 2011 at 1:04 PM, Russell King - ARM Linux > <linux@arm.linux.org.uk> wrote: > > On Wed, Jan 05, 2011 at 12:48:32PM -0800, Linus Torvalds wrote: > >> (You can also force the problem with vmalloc() an then following the > >> kernel page tables, but I hope nobody does that any more. I suspect > >> I'm wrong, though, there's probably code that mixes vmalloc and > >> physical page accesses in various drivers) > > > > Should vmalloc_to_page() (84 users)/vmalloc_to_pfn() (17 users) be > > deprecated then? ;) > > I do think that the "modern" way of doing it is > "vmap()"/"vm_map_ram()" and friends, and it should be preferred over > using vmalloc() and then looking up the pages. > > But in the end, the two approaches really are equivalent, so it's not > like it really matters. So I don't think we need to deprecate things > officially, but obviously we should make people more aware of the > whole virtual alias thing that crops up whenever you use any of these > approaches. So what should be the preferred way to ensure data gets flushed when you've written directly to a page, and then want to read through the vm_map_ram() virtual range? Should we be adding new semantics to flush_kernel_dcache_page()? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 21:16 ` Trond Myklebust @ 2011-01-05 21:30 ` Linus Torvalds 2011-01-05 23:06 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 21:30 UTC (permalink / raw) To: Trond Myklebust Cc: Russell King - ARM Linux, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 5, 2011 at 1:16 PM, Trond Myklebust <Trond.Myklebust@netapp.com> wrote: > > So what should be the preferred way to ensure data gets flushed when > you've written directly to a page, and then want to read through the > vm_map_ram() virtual range? Should we be adding new semantics to > flush_kernel_dcache_page()? The "preferred way" is actually simple: "don't do that". IOW, if some page is accessed through a virtual mapping you've set up, then _always_ access it through that virtual mapping. Now, when that is impossible (and yes, it sometimes is), then you should flush after doing all writes. And if you do the write through the regular kernel mapping, you should use flush_dcache_page(). And if you did it through the virtual mapping, you should use "flush_kernel_vmap_range()" or whatever. NOTE! I really didn't look those up very closely, and if the accesses can happen concurrently you are basically screwed, so you do need to do locking or something else to guarantee that there is some nice sequential order. And maybe I forgot something. Which is why I do suggest "don't do that" as a primary approach to the problem if at all possible. Oh, and you may need to flush before reading too (and many writes do end up being "read-modify-write" cycles) in case it's possible that you have stale data from a previous read that was then invalidated by a write to the aliasing address. Even if that write was flushed out, the stale read data may exist at the virtual address. I forget what all we required - in the end the only sane model is "virtual caches suck so bad that anybody who does them should be laughed at for being a retard". Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 21:30 ` Linus Torvalds @ 2011-01-05 23:06 ` Trond Myklebust 2011-01-05 23:28 ` James Bottomley 2011-01-05 23:28 ` Linus Torvalds 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-05 23:06 UTC (permalink / raw) To: Linus Torvalds Cc: Russell King - ARM Linux, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 13:30 -0800, Linus Torvalds wrote: > On Wed, Jan 5, 2011 at 1:16 PM, Trond Myklebust > <Trond.Myklebust@netapp.com> wrote: > > > > So what should be the preferred way to ensure data gets flushed when > > you've written directly to a page, and then want to read through the > > vm_map_ram() virtual range? Should we be adding new semantics to > > flush_kernel_dcache_page()? > > The "preferred way" is actually simple: "don't do that". IOW, if some > page is accessed through a virtual mapping you've set up, then > _always_ access it through that virtual mapping. > > Now, when that is impossible (and yes, it sometimes is), then you > should flush after doing all writes. And if you do the write through > the regular kernel mapping, you should use flush_dcache_page(). And if > you did it through the virtual mapping, you should use > "flush_kernel_vmap_range()" or whatever. > > NOTE! I really didn't look those up very closely, and if the accesses > can happen concurrently you are basically screwed, so you do need to > do locking or something else to guarantee that there is some nice > sequential order. And maybe I forgot something. Which is why I do > suggest "don't do that" as a primary approach to the problem if at all > possible. > > Oh, and you may need to flush before reading too (and many writes do > end up being "read-modify-write" cycles) in case it's possible that > you have stale data from a previous read that was then invalidated by > a write to the aliasing address. Even if that write was flushed out, > the stale read data may exist at the virtual address. I forget what > all we required - in the end the only sane model is "virtual caches > suck so bad that anybody who does them should be laughed at for being > a retard". Yes. The fix I sent out was a call to invalidate_kernel_vmap_range(), which takes care of invalidating the cache prior to a virtual address read. My question was specifically about the write through the regular kernel mapping: according to Russell and my reading of the cachetlb.txt documentation, flush_dcache_page() is only guaranteed to have an effect on page cache pages. flush_kernel_dcache_page() (not to be confused with flush_dcache_page) would appear to be the closest fit according to my reading of the documentation, however the ARM implementation appears to be a no-op... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 23:06 ` Trond Myklebust @ 2011-01-05 23:28 ` James Bottomley 2011-01-06 17:40 ` James Bottomley 2011-01-05 23:28 ` Linus Torvalds 1 sibling, 1 reply; 117+ messages in thread From: James Bottomley @ 2011-01-05 23:28 UTC (permalink / raw) To: Trond Myklebust Cc: Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 18:06 -0500, Trond Myklebust wrote: > On Wed, 2011-01-05 at 13:30 -0800, Linus Torvalds wrote: > > On Wed, Jan 5, 2011 at 1:16 PM, Trond Myklebust > > <Trond.Myklebust@netapp.com> wrote: > > > > > > So what should be the preferred way to ensure data gets flushed when > > > you've written directly to a page, and then want to read through the > > > vm_map_ram() virtual range? Should we be adding new semantics to > > > flush_kernel_dcache_page()? > > > > The "preferred way" is actually simple: "don't do that". IOW, if some > > page is accessed through a virtual mapping you've set up, then > > _always_ access it through that virtual mapping. > > > > Now, when that is impossible (and yes, it sometimes is), then you > > should flush after doing all writes. And if you do the write through > > the regular kernel mapping, you should use flush_dcache_page(). And if > > you did it through the virtual mapping, you should use > > "flush_kernel_vmap_range()" or whatever. > > > > NOTE! I really didn't look those up very closely, and if the accesses > > can happen concurrently you are basically screwed, so you do need to > > do locking or something else to guarantee that there is some nice > > sequential order. And maybe I forgot something. Which is why I do > > suggest "don't do that" as a primary approach to the problem if at all > > possible. > > > > Oh, and you may need to flush before reading too (and many writes do > > end up being "read-modify-write" cycles) in case it's possible that > > you have stale data from a previous read that was then invalidated by > > a write to the aliasing address. Even if that write was flushed out, > > the stale read data may exist at the virtual address. I forget what > > all we required - in the end the only sane model is "virtual caches > > suck so bad that anybody who does them should be laughed at for being > > a retard". > > Yes. The fix I sent out was a call to invalidate_kernel_vmap_range(), > which takes care of invalidating the cache prior to a virtual address > read. > > My question was specifically about the write through the regular kernel > mapping: according to Russell and my reading of the cachetlb.txt > documentation, flush_dcache_page() is only guaranteed to have an effect > on page cache pages. > flush_kernel_dcache_page() (not to be confused with flush_dcache_page) > would appear to be the closest fit according to my reading of the > documentation, however the ARM implementation appears to be a no-op... It depends on exactly what you're doing. In the worst case, (ping pong reads and writes through both aliases) you have to flush and invalidate both alias 1 alias 2 each time you access on one and then another. Can you explain how the code works? it looks to me like you read the xdr stuff through the vmap region then write it out directly to the pages? *if* this is just a conversion, *and* you never need to read the new data through the vmap alias, you might be able to get away with a flush_dcache_page in nfs_readdir_release_array(). If the access pattern is more complex, you'll need more stuff splashed through the loop (including vmap invalidation/flushing). Is there any way you could just rewrite nfs_readdir_add_to_array() to use the vmap address instead of doing a kmap? That way everything will go through a single alias and not end up with this incoherency. James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 23:28 ` James Bottomley @ 2011-01-06 17:40 ` James Bottomley 2011-01-06 17:47 ` Trond Myklebust ` (2 more replies) 0 siblings, 3 replies; 117+ messages in thread From: James Bottomley @ 2011-01-06 17:40 UTC (permalink / raw) To: Trond Myklebust Cc: Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: > Can you explain how the code works? it looks to me like you read the xdr > stuff through the vmap region then write it out directly to the pages? OK, I think I see how this is supposed to work: It's a sequential loop of reading in via the pages (i.e. through the kernel mapping) and then updating those pages via the vmap. In which case, I think this patch is what you need. The theory of operation is that the readdir on pages actually uses the network DMA operations to perform, so when it's finished, the underlying page is up to date. After this you invalidate the vmap range, so we have no cache lines above it (so it picks up the values from the uptodate page). Finally, after the operation on the vmap region has finished, you flush it so that any updated contents go back to the pages themselves before the next iteration begins. Does this look right to people? I've verified it fixes the issues on parisc. James --- diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 996dd89..bde1911 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -587,12 +587,16 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, if (status < 0) break; pglen = status; + + invalidate_kernel_vmap_range(pages_ptr, pglen); + status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); if (status < 0) { if (status == -ENOSPC) status = 0; break; } + flush_kernel_vmap_range(pages_ptr, pglen); } while (array->eof_index < 0); nfs_readdir_free_large_page(pages_ptr, pages, array_size); ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:40 ` James Bottomley @ 2011-01-06 17:47 ` Trond Myklebust 2011-01-06 17:51 ` James Bottomley 2011-01-06 17:55 ` Linus Torvalds 2011-01-06 18:05 ` Russell King - ARM Linux 2011-01-06 20:19 ` John Stoffel 2 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-06 17:47 UTC (permalink / raw) To: James Bottomley Cc: Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 11:40 -0600, James Bottomley wrote: > On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: > > Can you explain how the code works? it looks to me like you read the xdr > > stuff through the vmap region then write it out directly to the pages? > > OK, I think I see how this is supposed to work: It's a sequential loop > of reading in via the pages (i.e. through the kernel mapping) and then > updating those pages via the vmap. In which case, I think this patch is > what you need. > > The theory of operation is that the readdir on pages actually uses the > network DMA operations to perform, so when it's finished, the underlying > page is up to date. After this you invalidate the vmap range, so we > have no cache lines above it (so it picks up the values from the > uptodate page). Finally, after the operation on the vmap region has > finished, you flush it so that any updated contents go back to the pages > themselves before the next iteration begins. > > Does this look right to people? I've verified it fixes the issues on > parisc. > > James > > --- > > diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c > index 996dd89..bde1911 100644 > --- a/fs/nfs/dir.c > +++ b/fs/nfs/dir.c > @@ -587,12 +587,16 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, > if (status < 0) > break; > pglen = status; > + > + invalidate_kernel_vmap_range(pages_ptr, pglen); > + > status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); > if (status < 0) { > if (status == -ENOSPC) > status = 0; > break; > } > + flush_kernel_vmap_range(pages_ptr, pglen); Why is this line needed? We're not writing through the virtual mapping. We checked using just the invalidate_kernel_vmap_range(), and that appeared to suffice to fix the problem on ARM. Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:47 ` Trond Myklebust @ 2011-01-06 17:51 ` James Bottomley 2011-01-06 17:55 ` Linus Torvalds 1 sibling, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-06 17:51 UTC (permalink / raw) To: Trond Myklebust Cc: Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 12:47 -0500, Trond Myklebust wrote: > On Thu, 2011-01-06 at 11:40 -0600, James Bottomley wrote: > > On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: > > > Can you explain how the code works? it looks to me like you read the xdr > > > stuff through the vmap region then write it out directly to the pages? > > > > OK, I think I see how this is supposed to work: It's a sequential loop > > of reading in via the pages (i.e. through the kernel mapping) and then > > updating those pages via the vmap. In which case, I think this patch is > > what you need. > > > > The theory of operation is that the readdir on pages actually uses the > > network DMA operations to perform, so when it's finished, the underlying > > page is up to date. After this you invalidate the vmap range, so we > > have no cache lines above it (so it picks up the values from the > > uptodate page). Finally, after the operation on the vmap region has > > finished, you flush it so that any updated contents go back to the pages > > themselves before the next iteration begins. > > > > Does this look right to people? I've verified it fixes the issues on > > parisc. > > > > James > > > > --- > > > > diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c > > index 996dd89..bde1911 100644 > > --- a/fs/nfs/dir.c > > +++ b/fs/nfs/dir.c > > @@ -587,12 +587,16 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, > > if (status < 0) > > break; > > pglen = status; > > + > > + invalidate_kernel_vmap_range(pages_ptr, pglen); > > + > > status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); > > if (status < 0) { > > if (status == -ENOSPC) > > status = 0; > > break; > > } > > + flush_kernel_vmap_range(pages_ptr, pglen); > > Why is this line needed? We're not writing through the virtual mapping. If you're not altering it, it isn't ... the problem on parisc is that invalidate is a nop for us because flush does it all, but I can fix that. James > We checked using just the invalidate_kernel_vmap_range(), and that > appeared to suffice to fix the problem on ARM. > > Cheers > Trond ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:47 ` Trond Myklebust 2011-01-06 17:51 ` James Bottomley @ 2011-01-06 17:55 ` Linus Torvalds 2011-01-07 18:53 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-06 17:55 UTC (permalink / raw) To: Trond Myklebust Cc: James Bottomley, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, Jan 6, 2011 at 9:47 AM, Trond Myklebust <Trond.Myklebust@netapp.com> wrote: > > Why is this line needed? We're not writing through the virtual mapping. I haven't looked at the sequence of accesses, but you need to be _very_ aware that "write-through" is absolutely NOT sufficient for cache coherency. In cache coherency, you have three options: - true coherency (eg physically indexed/tagged caches) - exclusion (eg virtual caches, but with an exclusion guarantee that guarantees that aliases cannot happen: either by using physical tagging or by not allowing cases that could cause virtual aliases) - write-through AND non-cached reads (ie "no caching at all"). You seem to be forgetting the "no cached reads" part. It's not sufficient to flush after a write - you need to make sure that you also don't have a cached copy of the alias for the read. So "We're not writing through the virtual mapping" is NOT a sufficient excuse. If you're reading through the virtual mapping, you need to make sure that the virtual mapping is flushed _after_ any writes through any other mapping and _before_ any reads through the virtual one. This is why you really really really generally don't want to have aliasing. Purely virtual caches are pure crap. Really. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:55 ` Linus Torvalds @ 2011-01-07 18:53 ` Trond Myklebust 2011-01-07 19:02 ` Russell King - ARM Linux 2011-01-07 19:05 ` James Bottomley 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-07 18:53 UTC (permalink / raw) To: Linus Torvalds Cc: James Bottomley, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 09:55 -0800, Linus Torvalds wrote: > On Thu, Jan 6, 2011 at 9:47 AM, Trond Myklebust > <Trond.Myklebust@netapp.com> wrote: > > > > Why is this line needed? We're not writing through the virtual mapping. > > I haven't looked at the sequence of accesses, but you need to be > _very_ aware that "write-through" is absolutely NOT sufficient for > cache coherency. > > In cache coherency, you have three options: > > - true coherency (eg physically indexed/tagged caches) > > - exclusion (eg virtual caches, but with an exclusion guarantee that > guarantees that aliases cannot happen: either by using physical > tagging or by not allowing cases that could cause virtual aliases) > > - write-through AND non-cached reads (ie "no caching at all"). > > You seem to be forgetting the "no cached reads" part. It's not > sufficient to flush after a write - you need to make sure that you > also don't have a cached copy of the alias for the read. > > So "We're not writing through the virtual mapping" is NOT a sufficient > excuse. If you're reading through the virtual mapping, you need to > make sure that the virtual mapping is flushed _after_ any writes > through any other mapping and _before_ any reads through the virtual > one. I'm aware of that. That part should be taken care of by the call to invalidate_kernel_vmap_range() which was in both James and my patch. There is already code in the SUNRPC layer that calls flush_dcache_page() after writing (although as Russell pointed out earlier, that is apparently a no-op for non-page cache pages such as these). > This is why you really really really generally don't want to have > aliasing. Purely virtual caches are pure crap. Really. Well, it looks as if NOMMU is giving us problems due to the lack of a vm_map_ram() (see https://bugzilla.kernel.org/show_bug.cgi?id=26262). I'd still like to keep the existing code for those architectures that don't have problems, since that allows us to send 32k READDIR requests instead of being limited to 4k. For large directories, that is a clear win. For the NOMMU case we will just go back to using a single page for storage (and 4k READDIR requests only). Should I just do the same for architectures like ARM and PARISC? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-07 18:53 ` Trond Myklebust @ 2011-01-07 19:02 ` Russell King - ARM Linux 2011-01-07 19:11 ` James Bottomley 2011-01-07 19:13 ` Trond Myklebust 2011-01-07 19:05 ` James Bottomley 1 sibling, 2 replies; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-07 19:02 UTC (permalink / raw) To: Trond Myklebust Cc: Linus Torvalds, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Fri, Jan 07, 2011 at 01:53:25PM -0500, Trond Myklebust wrote: > I'd still like to keep the existing code for those architectures that > don't have problems, since that allows us to send 32k READDIR requests > instead of being limited to 4k. For large directories, that is a clear > win. > For the NOMMU case we will just go back to using a single page for > storage (and 4k READDIR requests only). Should I just do the same for > architectures like ARM and PARISC? I think you said that readdir reads via the vmalloc mapping of the group of pages, but XDR writes to the individual pages. As I understand NFS, you receive a packet, you then have to use XDR to unpack the data, which you presumably write into the set of struct page *'s using kmap? Isn't a solution to have XDR write directly into the vmalloc mapping rather than using struct page * and kmap? ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-07 19:02 ` Russell King - ARM Linux @ 2011-01-07 19:11 ` James Bottomley 2011-01-08 16:49 ` Trond Myklebust 2011-01-07 19:13 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: James Bottomley @ 2011-01-07 19:11 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Trond Myklebust, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Fri, 2011-01-07 at 19:02 +0000, Russell King - ARM Linux wrote: > On Fri, Jan 07, 2011 at 01:53:25PM -0500, Trond Myklebust wrote: > > I'd still like to keep the existing code for those architectures that > > don't have problems, since that allows us to send 32k READDIR requests > > instead of being limited to 4k. For large directories, that is a clear > > win. > > For the NOMMU case we will just go back to using a single page for > > storage (and 4k READDIR requests only). Should I just do the same for > > architectures like ARM and PARISC? > > I think you said that readdir reads via the vmalloc mapping of the > group of pages, but XDR writes to the individual pages. Actually it's the other way around, but the point still stands. > As I understand NFS, you receive a packet, you then have to use XDR > to unpack the data, which you presumably write into the set of > struct page *'s using kmap? > > Isn't a solution to have XDR write directly into the vmalloc mapping > rather than using struct page * and kmap? So, unfortuantely, I looked at doing this and we can't. the ->readdir() call takes an array of pages, not a kernel virtual address of the pages, so there's no way to tell it to use a different mapping from the usual kernel one on them. On the other hand, the xdr routines, since they take the pages anyway, could use a scatterlist approach to writing through the kernel mapping instead of using vmap ... we have all the machinery for this in lib/scatterlist.c ... it's not designed for this case, since it's designed to allow arbitrary linear reads and writes on a block scatterlist, but the principle is the same ... it looks like it would be rather a big patch, though ... James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-07 19:11 ` James Bottomley @ 2011-01-08 16:49 ` Trond Myklebust 2011-01-08 23:15 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-08 16:49 UTC (permalink / raw) To: James Bottomley Cc: Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Fri, 2011-01-07 at 13:11 -0600, James Bottomley wrote: > On the other hand, the xdr routines, since they take the pages anyway, > could use a scatterlist approach to writing through the kernel mapping > instead of using vmap ... we have all the machinery for this in > lib/scatterlist.c ... it's not designed for this case, since it's > designed to allow arbitrary linear reads and writes on a block > scatterlist, but the principle is the same ... it looks like it would be > rather a big patch, though ... The following alternative seems to work for me, but has only been lightly tested so far. It's a bit large for a stable patch, but not too ungainly. It modifies xdr_stream, adding the ability to iterate through page data. To avoid kmap()/kunmap(), it does require that pages be allocated in lowmem, but since the only use case here is when using page arrays as temporary buffers, that seems like an acceptable compromise. Cheers Trond --------------------------------------------------------------------------------- >From f87f13e3198ec536c1b9cfe19ad47df4fb922382 Mon Sep 17 00:00:00 2001 From: Trond Myklebust <Trond.Myklebust@netapp.com> Date: Fri, 7 Jan 2011 18:51:33 -0500 Subject: [PATCH] NFS: Don't use vm_map_ram() in readdir vm_map_ram() is not available on NOMMU platforms, and causes trouble on incoherrent architectures such as ARM when we access the page data through both the direct and the virtual mapping. The alternative is to use the direct mapping to access page data for the case when we are not crossing a page boundary, but to copy the data into a linear scratch buffer when we are accessing data that spans page boundaries. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> --- fs/nfs/dir.c | 45 ++++++++--------- fs/nfs/nfs2xdr.c | 6 -- fs/nfs/nfs3xdr.c | 6 -- fs/nfs/nfs4xdr.c | 6 -- include/linux/sunrpc/xdr.h | 4 +- net/sunrpc/xdr.c | 115 ++++++++++++++++++++++++++++++++++++-------- 6 files changed, 120 insertions(+), 62 deletions(-) diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 996dd89..ad9e5e0 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -33,7 +33,6 @@ #include <linux/namei.h> #include <linux/mount.h> #include <linux/sched.h> -#include <linux/vmalloc.h> #include <linux/kmemleak.h> #include "delegation.h" @@ -459,25 +458,27 @@ out: /* Perform conversion from xdr to cache array */ static int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *entry, - void *xdr_page, struct page *page, unsigned int buflen) + struct page **xdr_pages, struct page *page, unsigned int buflen) { struct xdr_stream stream; - struct xdr_buf buf; - __be32 *ptr = xdr_page; + struct xdr_buf buf = { + .pages = xdr_pages, + .page_len = buflen, + .buflen = buflen, + .len = buflen, + }; struct nfs_cache_array *array; unsigned int count = 0; + struct page *scratch; int status; - buf.head->iov_base = xdr_page; - buf.head->iov_len = buflen; - buf.tail->iov_len = 0; - buf.page_base = 0; - buf.page_len = 0; - buf.buflen = buf.head->iov_len; - buf.len = buf.head->iov_len; - - xdr_init_decode(&stream, &buf, ptr); + scratch = alloc_page(GFP_KERNEL); + if (scratch == NULL) + return -ENOMEM; + xdr_init_decode(&stream, &buf, NULL); + xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); + xdr_enter_page(&stream, buflen); do { status = xdr_decode(desc, entry, &stream); @@ -506,6 +507,8 @@ int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *en } else status = PTR_ERR(array); } + + put_page(scratch); return status; } @@ -521,7 +524,6 @@ static void nfs_readdir_free_large_page(void *ptr, struct page **pages, unsigned int npages) { - vm_unmap_ram(ptr, npages); nfs_readdir_free_pagearray(pages, npages); } @@ -530,9 +532,8 @@ void nfs_readdir_free_large_page(void *ptr, struct page **pages, * to nfs_readdir_free_large_page */ static -void *nfs_readdir_large_page(struct page **pages, unsigned int npages) +int nfs_readdir_large_page(struct page **pages, unsigned int npages) { - void *ptr; unsigned int i; for (i = 0; i < npages; i++) { @@ -541,13 +542,11 @@ void *nfs_readdir_large_page(struct page **pages, unsigned int npages) goto out_freepages; pages[i] = page; } + return 0; - ptr = vm_map_ram(pages, npages, 0, PAGE_KERNEL); - if (!IS_ERR_OR_NULL(ptr)) - return ptr; out_freepages: nfs_readdir_free_pagearray(pages, i); - return NULL; + return -ENOMEM; } static @@ -577,8 +576,8 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, memset(array, 0, sizeof(struct nfs_cache_array)); array->eof_index = -1; - pages_ptr = nfs_readdir_large_page(pages, array_size); - if (!pages_ptr) + status = nfs_readdir_large_page(pages, array_size); + if (status < 0) goto out_release_array; do { unsigned int pglen; @@ -587,7 +586,7 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, if (status < 0) break; pglen = status; - status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); + status = nfs_readdir_page_filler(desc, &entry, pages, page, pglen); if (status < 0) { if (status == -ENOSPC) status = 0; diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index 5914a19..b382a1b 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c @@ -487,12 +487,6 @@ nfs_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_se entry->d_type = DT_UNKNOWN; - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index f6cc60f..ba91236 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c @@ -647,12 +647,6 @@ nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_s memset((u8*)(entry->fh), 0, sizeof(*entry->fh)); } - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 9f1826b..0662a98 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c @@ -6215,12 +6215,6 @@ __be32 *nfs4_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, if (verify_attr_len(xdr, p, len) < 0) goto out_overflow; - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index 498ab93..7783c68 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h @@ -201,6 +201,8 @@ struct xdr_stream { __be32 *end; /* end of available buffer space */ struct kvec *iov; /* pointer to the current kvec */ + struct kvec scratch; /* Scratch buffer */ + struct page **page_ptr; /* pointer to the current page */ }; extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); @@ -208,7 +210,7 @@ extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len); extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); -extern __be32 *xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes); +extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen); extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes); extern void xdr_read_pages(struct xdr_stream *xdr, unsigned int len); extern void xdr_enter_page(struct xdr_stream *xdr, unsigned int len); diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index cd9e841..cff0974 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -569,29 +569,112 @@ void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) xdr->iov = iov; xdr->p = p; xdr->end = (__be32 *)((char *)iov->iov_base + len); + xdr->page_ptr = NULL; + xdr->scratch.iov_base = NULL; + xdr->scratch.iov_len = 0; } EXPORT_SYMBOL_GPL(xdr_init_decode); /** - * xdr_inline_peek - Allow read-ahead in the XDR data stream + * xdr_set_scratch_buffer - Attach a scratch buffer for decoding data. * @xdr: pointer to xdr_stream struct - * @nbytes: number of bytes of data to decode + * @buf: pointer to an empty buffer + * @buflen: size of 'buf' * - * Check if the input buffer is long enough to enable us to decode - * 'nbytes' more bytes of data starting at the current position. - * If so return the current pointer without updating the current - * pointer position. + * The scratch buffer is used when decoding from an array of pages. + * If an xdr_inline_decode() call spans across page boundaries, then + * we copy the data into the scratch buffer in order to allow linear + * access. */ -__be32 * xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes) +void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) +{ + xdr->scratch.iov_base = buf; + xdr->scratch.iov_len = buflen; +} +EXPORT_SYMBOL_GPL(xdr_set_scratch_buffer); + +static int xdr_set_page_base(struct xdr_stream *xdr, + unsigned int base, unsigned int len) +{ + unsigned int pgnr; + unsigned int maxlen; + unsigned int pgoff; + unsigned int pgend; + void *kaddr; + + maxlen = xdr->buf->page_len; + if (base >= maxlen) + return -EINVAL; + maxlen -= base; + + if (len > maxlen) + len = maxlen; + + base += xdr->buf->page_base; + + pgnr = base >> PAGE_SHIFT; + xdr->page_ptr = &xdr->buf->pages[pgnr]; + kaddr = page_address(*xdr->page_ptr); + + pgoff = base & ~PAGE_MASK; + xdr->p = (__be32*)(kaddr + pgoff); + + pgend = pgoff + len; + if (pgend > PAGE_SIZE) + pgend = PAGE_SIZE; + xdr->end = (__be32*)(kaddr + pgend); + return 0; +} + +static int xdr_set_next_page(struct xdr_stream *xdr) +{ + unsigned int newbase; + + newbase = (1 + xdr->page_ptr - xdr->buf->pages) << PAGE_SHIFT; + newbase -= xdr->buf->page_base; + + return xdr_set_page_base(xdr, newbase, PAGE_SIZE); +} + +static __be32 * __xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) { __be32 *p = xdr->p; __be32 *q = p + XDR_QUADLEN(nbytes); if (unlikely(q > xdr->end || q < p)) return NULL; + xdr->p = q; return p; } -EXPORT_SYMBOL_GPL(xdr_inline_peek); + +static __be32 *xdr_page_inline_decode(struct xdr_stream *xdr, size_t nbytes) +{ + size_t cplen; + void *cpdest; + __be32 *p; + + if (xdr->p == xdr->end && xdr_set_next_page(xdr) < 0) + return NULL; + + p = __xdr_inline_decode(xdr, nbytes); + if (p != NULL) + return p; + + if (nbytes > xdr->scratch.iov_len) + return NULL; + cplen = (char *)xdr->end - (char *)xdr->p; + cpdest = xdr->scratch.iov_base; + memcpy(cpdest, xdr->p, cplen); + cpdest += cplen; + nbytes -= cplen; + if (xdr_set_next_page(xdr) < 0) + return NULL; + p = __xdr_inline_decode(xdr, nbytes); + if (p == NULL) + return NULL; + memcpy(cpdest, p, nbytes); + return xdr->scratch.iov_base; +} /** * xdr_inline_decode - Retrieve non-page XDR data to decode @@ -605,13 +688,9 @@ EXPORT_SYMBOL_GPL(xdr_inline_peek); */ __be32 * xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) { - __be32 *p = xdr->p; - __be32 *q = p + XDR_QUADLEN(nbytes); - - if (unlikely(q > xdr->end || q < p)) - return NULL; - xdr->p = q; - return p; + if (xdr->page_ptr == NULL) + return __xdr_inline_decode(xdr, nbytes); + return xdr_page_inline_decode(xdr, nbytes); } EXPORT_SYMBOL_GPL(xdr_inline_decode); @@ -671,16 +750,12 @@ EXPORT_SYMBOL_GPL(xdr_read_pages); */ void xdr_enter_page(struct xdr_stream *xdr, unsigned int len) { - char * kaddr = page_address(xdr->buf->pages[0]); xdr_read_pages(xdr, len); /* * Position current pointer at beginning of tail, and * set remaining message length. */ - if (len > PAGE_CACHE_SIZE - xdr->buf->page_base) - len = PAGE_CACHE_SIZE - xdr->buf->page_base; - xdr->p = (__be32 *)(kaddr + xdr->buf->page_base); - xdr->end = (__be32 *)((char *)xdr->p + len); + xdr_set_page_base(xdr, 0, len); } EXPORT_SYMBOL_GPL(xdr_enter_page); -- 1.7.3.4 -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-08 16:49 ` Trond Myklebust @ 2011-01-08 23:15 ` Trond Myklebust 2011-01-10 10:50 ` Uwe Kleine-König 2011-01-10 12:44 ` Marc Kleine-Budde 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-08 23:15 UTC (permalink / raw) To: James Bottomley Cc: Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Sat, 2011-01-08 at 11:49 -0500, Trond Myklebust wrote: > On Fri, 2011-01-07 at 13:11 -0600, James Bottomley wrote: > > On the other hand, the xdr routines, since they take the pages anyway, > > could use a scatterlist approach to writing through the kernel mapping > > instead of using vmap ... we have all the machinery for this in > > lib/scatterlist.c ... it's not designed for this case, since it's > > designed to allow arbitrary linear reads and writes on a block > > scatterlist, but the principle is the same ... it looks like it would be > > rather a big patch, though ... > > The following alternative seems to work for me, but has only been > lightly tested so far. It's a bit large for a stable patch, but not too > ungainly. > > It modifies xdr_stream, adding the ability to iterate through page data. > To avoid kmap()/kunmap(), it does require that pages be allocated in > lowmem, but since the only use case here is when using page arrays as > temporary buffers, that seems like an acceptable compromise. ...and here is an update which makes the whole process transparent to the decoder. It basically teaches xdr_inline_decode() how to switch buffers when it hits the end of the current iovec and/or page. Cheers Trond ----------------------------------------------------------------------------------- >From 8b2e60cef5c65eef41ab61286f62dec6bfb1ac27 Mon Sep 17 00:00:00 2001 From: Trond Myklebust <Trond.Myklebust@netapp.com> Date: Sat, 8 Jan 2011 17:45:38 -0500 Subject: [PATCH] NFS: Don't use vm_map_ram() in readdir vm_map_ram() is not available on NOMMU platforms, and causes trouble on incoherrent architectures such as ARM when we access the page data through both the direct and the virtual mapping. The alternative is to use the direct mapping to access page data for the case when we are not crossing a page boundary, but to copy the data into a linear scratch buffer when we are accessing data that spans page boundaries. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> --- fs/nfs/dir.c | 44 ++++++------- fs/nfs/nfs2xdr.c | 6 -- fs/nfs/nfs3xdr.c | 6 -- fs/nfs/nfs4xdr.c | 6 -- include/linux/sunrpc/xdr.h | 4 +- net/sunrpc/xdr.c | 155 +++++++++++++++++++++++++++++++++++--------- 6 files changed, 148 insertions(+), 73 deletions(-) diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 996dd89..0108cf4 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c @@ -33,7 +33,6 @@ #include <linux/namei.h> #include <linux/mount.h> #include <linux/sched.h> -#include <linux/vmalloc.h> #include <linux/kmemleak.h> #include "delegation.h" @@ -459,25 +458,26 @@ out: /* Perform conversion from xdr to cache array */ static int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *entry, - void *xdr_page, struct page *page, unsigned int buflen) + struct page **xdr_pages, struct page *page, unsigned int buflen) { struct xdr_stream stream; - struct xdr_buf buf; - __be32 *ptr = xdr_page; + struct xdr_buf buf = { + .pages = xdr_pages, + .page_len = buflen, + .buflen = buflen, + .len = buflen, + }; + struct page *scratch; struct nfs_cache_array *array; unsigned int count = 0; int status; - buf.head->iov_base = xdr_page; - buf.head->iov_len = buflen; - buf.tail->iov_len = 0; - buf.page_base = 0; - buf.page_len = 0; - buf.buflen = buf.head->iov_len; - buf.len = buf.head->iov_len; - - xdr_init_decode(&stream, &buf, ptr); + scratch = alloc_page(GFP_KERNEL); + if (scratch == NULL) + return -ENOMEM; + xdr_init_decode(&stream, &buf, NULL); + xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); do { status = xdr_decode(desc, entry, &stream); @@ -506,6 +506,8 @@ int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *en } else status = PTR_ERR(array); } + + put_page(scratch); return status; } @@ -521,7 +523,6 @@ static void nfs_readdir_free_large_page(void *ptr, struct page **pages, unsigned int npages) { - vm_unmap_ram(ptr, npages); nfs_readdir_free_pagearray(pages, npages); } @@ -530,9 +531,8 @@ void nfs_readdir_free_large_page(void *ptr, struct page **pages, * to nfs_readdir_free_large_page */ static -void *nfs_readdir_large_page(struct page **pages, unsigned int npages) +int nfs_readdir_large_page(struct page **pages, unsigned int npages) { - void *ptr; unsigned int i; for (i = 0; i < npages; i++) { @@ -541,13 +541,11 @@ void *nfs_readdir_large_page(struct page **pages, unsigned int npages) goto out_freepages; pages[i] = page; } + return 0; - ptr = vm_map_ram(pages, npages, 0, PAGE_KERNEL); - if (!IS_ERR_OR_NULL(ptr)) - return ptr; out_freepages: nfs_readdir_free_pagearray(pages, i); - return NULL; + return -ENOMEM; } static @@ -577,8 +575,8 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, memset(array, 0, sizeof(struct nfs_cache_array)); array->eof_index = -1; - pages_ptr = nfs_readdir_large_page(pages, array_size); - if (!pages_ptr) + status = nfs_readdir_large_page(pages, array_size); + if (status < 0) goto out_release_array; do { unsigned int pglen; @@ -587,7 +585,7 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, if (status < 0) break; pglen = status; - status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); + status = nfs_readdir_page_filler(desc, &entry, pages, page, pglen); if (status < 0) { if (status == -ENOSPC) status = 0; diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index 5914a19..b382a1b 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c @@ -487,12 +487,6 @@ nfs_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_se entry->d_type = DT_UNKNOWN; - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index f6cc60f..ba91236 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c @@ -647,12 +647,6 @@ nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_s memset((u8*)(entry->fh), 0, sizeof(*entry->fh)); } - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 9f1826b..0662a98 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c @@ -6215,12 +6215,6 @@ __be32 *nfs4_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, if (verify_attr_len(xdr, p, len) < 0) goto out_overflow; - p = xdr_inline_peek(xdr, 8); - if (p != NULL) - entry->eof = !p[0] && p[1]; - else - entry->eof = 0; - return p; out_overflow: diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index 498ab93..7783c68 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h @@ -201,6 +201,8 @@ struct xdr_stream { __be32 *end; /* end of available buffer space */ struct kvec *iov; /* pointer to the current kvec */ + struct kvec scratch; /* Scratch buffer */ + struct page **page_ptr; /* pointer to the current page */ }; extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); @@ -208,7 +210,7 @@ extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len); extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); -extern __be32 *xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes); +extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen); extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes); extern void xdr_read_pages(struct xdr_stream *xdr, unsigned int len); extern void xdr_enter_page(struct xdr_stream *xdr, unsigned int len); diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index cd9e841..679cd67 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -552,6 +552,74 @@ void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int b } EXPORT_SYMBOL_GPL(xdr_write_pages); +static void xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, + __be32 *p, unsigned int len) +{ + if (len > iov->iov_len) + len = iov->iov_len; + if (p == NULL) + p = (__be32*)iov->iov_base; + xdr->p = p; + xdr->end = (__be32*)(iov->iov_base + len); + xdr->iov = iov; + xdr->page_ptr = NULL; +} + +static int xdr_set_page_base(struct xdr_stream *xdr, + unsigned int base, unsigned int len) +{ + unsigned int pgnr; + unsigned int maxlen; + unsigned int pgoff; + unsigned int pgend; + void *kaddr; + + maxlen = xdr->buf->page_len; + if (base >= maxlen) + return -EINVAL; + maxlen -= base; + if (len > maxlen) + len = maxlen; + + base += xdr->buf->page_base; + + pgnr = base >> PAGE_SHIFT; + xdr->page_ptr = &xdr->buf->pages[pgnr]; + kaddr = page_address(*xdr->page_ptr); + + pgoff = base & ~PAGE_MASK; + xdr->p = (__be32*)(kaddr + pgoff); + + pgend = pgoff + len; + if (pgend > PAGE_SIZE) + pgend = PAGE_SIZE; + xdr->end = (__be32*)(kaddr + pgend); + xdr->iov = NULL; + return 0; +} + +static void xdr_set_next_page(struct xdr_stream *xdr) +{ + unsigned int newbase; + + newbase = (1 + xdr->page_ptr - xdr->buf->pages) << PAGE_SHIFT; + newbase -= xdr->buf->page_base; + + if (xdr_set_page_base(xdr, newbase, PAGE_SIZE) < 0) + xdr_set_iov(xdr, xdr->buf->tail, NULL, xdr->buf->len); +} + +static bool xdr_set_next_buffer(struct xdr_stream *xdr) +{ + if (xdr->page_ptr != NULL) + xdr_set_next_page(xdr); + else if (xdr->iov == xdr->buf->head) { + if (xdr_set_page_base(xdr, 0, PAGE_SIZE) < 0) + xdr_set_iov(xdr, xdr->buf->tail, NULL, xdr->buf->len); + } + return xdr->p != xdr->end; +} + /** * xdr_init_decode - Initialize an xdr_stream for decoding data. * @xdr: pointer to xdr_stream struct @@ -560,41 +628,67 @@ EXPORT_SYMBOL_GPL(xdr_write_pages); */ void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) { - struct kvec *iov = buf->head; - unsigned int len = iov->iov_len; - - if (len > buf->len) - len = buf->len; xdr->buf = buf; - xdr->iov = iov; - xdr->p = p; - xdr->end = (__be32 *)((char *)iov->iov_base + len); + xdr->scratch.iov_base = NULL; + xdr->scratch.iov_len = 0; + if (buf->head[0].iov_len != 0) + xdr_set_iov(xdr, buf->head, p, buf->len); + else if (buf->page_len != 0) + xdr_set_page_base(xdr, 0, buf->len); } EXPORT_SYMBOL_GPL(xdr_init_decode); -/** - * xdr_inline_peek - Allow read-ahead in the XDR data stream - * @xdr: pointer to xdr_stream struct - * @nbytes: number of bytes of data to decode - * - * Check if the input buffer is long enough to enable us to decode - * 'nbytes' more bytes of data starting at the current position. - * If so return the current pointer without updating the current - * pointer position. - */ -__be32 * xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes) +static __be32 * __xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) { __be32 *p = xdr->p; __be32 *q = p + XDR_QUADLEN(nbytes); if (unlikely(q > xdr->end || q < p)) return NULL; + xdr->p = q; return p; } -EXPORT_SYMBOL_GPL(xdr_inline_peek); /** - * xdr_inline_decode - Retrieve non-page XDR data to decode + * xdr_set_scratch_buffer - Attach a scratch buffer for decoding data. + * @xdr: pointer to xdr_stream struct + * @buf: pointer to an empty buffer + * @buflen: size of 'buf' + * + * The scratch buffer is used when decoding from an array of pages. + * If an xdr_inline_decode() call spans across page boundaries, then + * we copy the data into the scratch buffer in order to allow linear + * access. + */ +void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) +{ + xdr->scratch.iov_base = buf; + xdr->scratch.iov_len = buflen; +} +EXPORT_SYMBOL_GPL(xdr_set_scratch_buffer); + +static __be32 *xdr_copy_to_scratch(struct xdr_stream *xdr, size_t nbytes) +{ + __be32 *p; + void *cpdest = xdr->scratch.iov_base; + size_t cplen = (char *)xdr->end - (char *)xdr->p; + + if (nbytes > xdr->scratch.iov_len) + return NULL; + memcpy(cpdest, xdr->p, cplen); + cpdest += cplen; + nbytes -= cplen; + if (!xdr_set_next_buffer(xdr)) + return NULL; + p = __xdr_inline_decode(xdr, nbytes); + if (p == NULL) + return NULL; + memcpy(cpdest, p, nbytes); + return xdr->scratch.iov_base; +} + +/** + * xdr_inline_decode - Retrieve XDR data to decode * @xdr: pointer to xdr_stream struct * @nbytes: number of bytes of data to decode * @@ -605,13 +699,16 @@ EXPORT_SYMBOL_GPL(xdr_inline_peek); */ __be32 * xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) { - __be32 *p = xdr->p; - __be32 *q = p + XDR_QUADLEN(nbytes); + __be32 *p; - if (unlikely(q > xdr->end || q < p)) + if (nbytes == 0) + return xdr->p; + if (xdr->p == xdr->end && !xdr_set_next_buffer(xdr)) return NULL; - xdr->p = q; - return p; + p = __xdr_inline_decode(xdr, nbytes); + if (p != NULL) + return p; + return xdr_copy_to_scratch(xdr, nbytes); } EXPORT_SYMBOL_GPL(xdr_inline_decode); @@ -671,16 +768,12 @@ EXPORT_SYMBOL_GPL(xdr_read_pages); */ void xdr_enter_page(struct xdr_stream *xdr, unsigned int len) { - char * kaddr = page_address(xdr->buf->pages[0]); xdr_read_pages(xdr, len); /* * Position current pointer at beginning of tail, and * set remaining message length. */ - if (len > PAGE_CACHE_SIZE - xdr->buf->page_base) - len = PAGE_CACHE_SIZE - xdr->buf->page_base; - xdr->p = (__be32 *)(kaddr + xdr->buf->page_base); - xdr->end = (__be32 *)((char *)xdr->p + len); + xdr_set_page_base(xdr, 0, len); } EXPORT_SYMBOL_GPL(xdr_enter_page); -- 1.7.3.4 -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-08 23:15 ` Trond Myklebust @ 2011-01-10 10:50 ` Uwe Kleine-König 2011-01-10 16:25 ` Trond Myklebust 2011-01-10 12:44 ` Marc Kleine-Budde 1 sibling, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-10 10:50 UTC (permalink / raw) To: Trond Myklebust Cc: James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch Hi Trond, On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: > ----------------------------------------------------------------------------------- It would be great if you could add a "8<" in the line above next time. Then git-am -c does the right thing (at least I think so). > From 8b2e60cef5c65eef41ab61286f62dec6bfb1ac27 Mon Sep 17 00:00:00 2001 > From: Trond Myklebust <Trond.Myklebust@netapp.com> > Date: Sat, 8 Jan 2011 17:45:38 -0500 > Subject: [PATCH] NFS: Don't use vm_map_ram() in readdir > > vm_map_ram() is not available on NOMMU platforms, and causes trouble > on incoherrent architectures such as ARM when we access the page data > through both the direct and the virtual mapping. > > The alternative is to use the direct mapping to access page data > for the case when we are not crossing a page boundary, but to copy > the data into a linear scratch buffer when we are accessing data > that spans page boundaries. > > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> on tx28. Thanks Uwe > --- > fs/nfs/dir.c | 44 ++++++------- > fs/nfs/nfs2xdr.c | 6 -- > fs/nfs/nfs3xdr.c | 6 -- > fs/nfs/nfs4xdr.c | 6 -- > include/linux/sunrpc/xdr.h | 4 +- > net/sunrpc/xdr.c | 155 +++++++++++++++++++++++++++++++++++--------- > 6 files changed, 148 insertions(+), 73 deletions(-) > > diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c > index 996dd89..0108cf4 100644 > --- a/fs/nfs/dir.c > +++ b/fs/nfs/dir.c > @@ -33,7 +33,6 @@ > #include <linux/namei.h> > #include <linux/mount.h> > #include <linux/sched.h> > -#include <linux/vmalloc.h> > #include <linux/kmemleak.h> > > #include "delegation.h" > @@ -459,25 +458,26 @@ out: > /* Perform conversion from xdr to cache array */ > static > int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *entry, > - void *xdr_page, struct page *page, unsigned int buflen) > + struct page **xdr_pages, struct page *page, unsigned int buflen) > { > struct xdr_stream stream; > - struct xdr_buf buf; > - __be32 *ptr = xdr_page; > + struct xdr_buf buf = { > + .pages = xdr_pages, > + .page_len = buflen, > + .buflen = buflen, > + .len = buflen, > + }; > + struct page *scratch; > struct nfs_cache_array *array; > unsigned int count = 0; > int status; > > - buf.head->iov_base = xdr_page; > - buf.head->iov_len = buflen; > - buf.tail->iov_len = 0; > - buf.page_base = 0; > - buf.page_len = 0; > - buf.buflen = buf.head->iov_len; > - buf.len = buf.head->iov_len; > - > - xdr_init_decode(&stream, &buf, ptr); > + scratch = alloc_page(GFP_KERNEL); > + if (scratch == NULL) > + return -ENOMEM; > > + xdr_init_decode(&stream, &buf, NULL); > + xdr_set_scratch_buffer(&stream, page_address(scratch), PAGE_SIZE); > > do { > status = xdr_decode(desc, entry, &stream); > @@ -506,6 +506,8 @@ int nfs_readdir_page_filler(nfs_readdir_descriptor_t *desc, struct nfs_entry *en > } else > status = PTR_ERR(array); > } > + > + put_page(scratch); > return status; > } > > @@ -521,7 +523,6 @@ static > void nfs_readdir_free_large_page(void *ptr, struct page **pages, > unsigned int npages) > { > - vm_unmap_ram(ptr, npages); > nfs_readdir_free_pagearray(pages, npages); > } > > @@ -530,9 +531,8 @@ void nfs_readdir_free_large_page(void *ptr, struct page **pages, > * to nfs_readdir_free_large_page > */ > static > -void *nfs_readdir_large_page(struct page **pages, unsigned int npages) > +int nfs_readdir_large_page(struct page **pages, unsigned int npages) > { > - void *ptr; > unsigned int i; > > for (i = 0; i < npages; i++) { > @@ -541,13 +541,11 @@ void *nfs_readdir_large_page(struct page **pages, unsigned int npages) > goto out_freepages; > pages[i] = page; > } > + return 0; > > - ptr = vm_map_ram(pages, npages, 0, PAGE_KERNEL); > - if (!IS_ERR_OR_NULL(ptr)) > - return ptr; > out_freepages: > nfs_readdir_free_pagearray(pages, i); > - return NULL; > + return -ENOMEM; > } > > static > @@ -577,8 +575,8 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, > memset(array, 0, sizeof(struct nfs_cache_array)); > array->eof_index = -1; > > - pages_ptr = nfs_readdir_large_page(pages, array_size); > - if (!pages_ptr) > + status = nfs_readdir_large_page(pages, array_size); > + if (status < 0) > goto out_release_array; > do { > unsigned int pglen; > @@ -587,7 +585,7 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, > if (status < 0) > break; > pglen = status; > - status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); > + status = nfs_readdir_page_filler(desc, &entry, pages, page, pglen); > if (status < 0) { > if (status == -ENOSPC) > status = 0; > diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c > index 5914a19..b382a1b 100644 > --- a/fs/nfs/nfs2xdr.c > +++ b/fs/nfs/nfs2xdr.c > @@ -487,12 +487,6 @@ nfs_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_se > > entry->d_type = DT_UNKNOWN; > > - p = xdr_inline_peek(xdr, 8); > - if (p != NULL) > - entry->eof = !p[0] && p[1]; > - else > - entry->eof = 0; > - > return p; > > out_overflow: > diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c > index f6cc60f..ba91236 100644 > --- a/fs/nfs/nfs3xdr.c > +++ b/fs/nfs/nfs3xdr.c > @@ -647,12 +647,6 @@ nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, struct nfs_s > memset((u8*)(entry->fh), 0, sizeof(*entry->fh)); > } > > - p = xdr_inline_peek(xdr, 8); > - if (p != NULL) > - entry->eof = !p[0] && p[1]; > - else > - entry->eof = 0; > - > return p; > > out_overflow: > diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c > index 9f1826b..0662a98 100644 > --- a/fs/nfs/nfs4xdr.c > +++ b/fs/nfs/nfs4xdr.c > @@ -6215,12 +6215,6 @@ __be32 *nfs4_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, > if (verify_attr_len(xdr, p, len) < 0) > goto out_overflow; > > - p = xdr_inline_peek(xdr, 8); > - if (p != NULL) > - entry->eof = !p[0] && p[1]; > - else > - entry->eof = 0; > - > return p; > > out_overflow: > diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h > index 498ab93..7783c68 100644 > --- a/include/linux/sunrpc/xdr.h > +++ b/include/linux/sunrpc/xdr.h > @@ -201,6 +201,8 @@ struct xdr_stream { > > __be32 *end; /* end of available buffer space */ > struct kvec *iov; /* pointer to the current kvec */ > + struct kvec scratch; /* Scratch buffer */ > + struct page **page_ptr; /* pointer to the current page */ > }; > > extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); > @@ -208,7 +210,7 @@ extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes); > extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, > unsigned int base, unsigned int len); > extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p); > -extern __be32 *xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes); > +extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen); > extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes); > extern void xdr_read_pages(struct xdr_stream *xdr, unsigned int len); > extern void xdr_enter_page(struct xdr_stream *xdr, unsigned int len); > diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c > index cd9e841..679cd67 100644 > --- a/net/sunrpc/xdr.c > +++ b/net/sunrpc/xdr.c > @@ -552,6 +552,74 @@ void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int b > } > EXPORT_SYMBOL_GPL(xdr_write_pages); > > +static void xdr_set_iov(struct xdr_stream *xdr, struct kvec *iov, > + __be32 *p, unsigned int len) > +{ > + if (len > iov->iov_len) > + len = iov->iov_len; > + if (p == NULL) > + p = (__be32*)iov->iov_base; > + xdr->p = p; > + xdr->end = (__be32*)(iov->iov_base + len); > + xdr->iov = iov; > + xdr->page_ptr = NULL; > +} > + > +static int xdr_set_page_base(struct xdr_stream *xdr, > + unsigned int base, unsigned int len) > +{ > + unsigned int pgnr; > + unsigned int maxlen; > + unsigned int pgoff; > + unsigned int pgend; > + void *kaddr; > + > + maxlen = xdr->buf->page_len; > + if (base >= maxlen) > + return -EINVAL; > + maxlen -= base; > + if (len > maxlen) > + len = maxlen; > + > + base += xdr->buf->page_base; > + > + pgnr = base >> PAGE_SHIFT; > + xdr->page_ptr = &xdr->buf->pages[pgnr]; > + kaddr = page_address(*xdr->page_ptr); > + > + pgoff = base & ~PAGE_MASK; > + xdr->p = (__be32*)(kaddr + pgoff); > + > + pgend = pgoff + len; > + if (pgend > PAGE_SIZE) > + pgend = PAGE_SIZE; > + xdr->end = (__be32*)(kaddr + pgend); > + xdr->iov = NULL; > + return 0; > +} > + > +static void xdr_set_next_page(struct xdr_stream *xdr) > +{ > + unsigned int newbase; > + > + newbase = (1 + xdr->page_ptr - xdr->buf->pages) << PAGE_SHIFT; > + newbase -= xdr->buf->page_base; > + > + if (xdr_set_page_base(xdr, newbase, PAGE_SIZE) < 0) > + xdr_set_iov(xdr, xdr->buf->tail, NULL, xdr->buf->len); > +} > + > +static bool xdr_set_next_buffer(struct xdr_stream *xdr) > +{ > + if (xdr->page_ptr != NULL) > + xdr_set_next_page(xdr); > + else if (xdr->iov == xdr->buf->head) { > + if (xdr_set_page_base(xdr, 0, PAGE_SIZE) < 0) > + xdr_set_iov(xdr, xdr->buf->tail, NULL, xdr->buf->len); > + } > + return xdr->p != xdr->end; > +} > + > /** > * xdr_init_decode - Initialize an xdr_stream for decoding data. > * @xdr: pointer to xdr_stream struct > @@ -560,41 +628,67 @@ EXPORT_SYMBOL_GPL(xdr_write_pages); > */ > void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) > { > - struct kvec *iov = buf->head; > - unsigned int len = iov->iov_len; > - > - if (len > buf->len) > - len = buf->len; > xdr->buf = buf; > - xdr->iov = iov; > - xdr->p = p; > - xdr->end = (__be32 *)((char *)iov->iov_base + len); > + xdr->scratch.iov_base = NULL; > + xdr->scratch.iov_len = 0; > + if (buf->head[0].iov_len != 0) > + xdr_set_iov(xdr, buf->head, p, buf->len); > + else if (buf->page_len != 0) > + xdr_set_page_base(xdr, 0, buf->len); > } > EXPORT_SYMBOL_GPL(xdr_init_decode); > > -/** > - * xdr_inline_peek - Allow read-ahead in the XDR data stream > - * @xdr: pointer to xdr_stream struct > - * @nbytes: number of bytes of data to decode > - * > - * Check if the input buffer is long enough to enable us to decode > - * 'nbytes' more bytes of data starting at the current position. > - * If so return the current pointer without updating the current > - * pointer position. > - */ > -__be32 * xdr_inline_peek(struct xdr_stream *xdr, size_t nbytes) > +static __be32 * __xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) > { > __be32 *p = xdr->p; > __be32 *q = p + XDR_QUADLEN(nbytes); > > if (unlikely(q > xdr->end || q < p)) > return NULL; > + xdr->p = q; > return p; > } > -EXPORT_SYMBOL_GPL(xdr_inline_peek); > > /** > - * xdr_inline_decode - Retrieve non-page XDR data to decode > + * xdr_set_scratch_buffer - Attach a scratch buffer for decoding data. > + * @xdr: pointer to xdr_stream struct > + * @buf: pointer to an empty buffer > + * @buflen: size of 'buf' > + * > + * The scratch buffer is used when decoding from an array of pages. > + * If an xdr_inline_decode() call spans across page boundaries, then > + * we copy the data into the scratch buffer in order to allow linear > + * access. > + */ > +void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen) > +{ > + xdr->scratch.iov_base = buf; > + xdr->scratch.iov_len = buflen; > +} > +EXPORT_SYMBOL_GPL(xdr_set_scratch_buffer); > + > +static __be32 *xdr_copy_to_scratch(struct xdr_stream *xdr, size_t nbytes) > +{ > + __be32 *p; > + void *cpdest = xdr->scratch.iov_base; > + size_t cplen = (char *)xdr->end - (char *)xdr->p; > + > + if (nbytes > xdr->scratch.iov_len) > + return NULL; > + memcpy(cpdest, xdr->p, cplen); > + cpdest += cplen; > + nbytes -= cplen; > + if (!xdr_set_next_buffer(xdr)) > + return NULL; > + p = __xdr_inline_decode(xdr, nbytes); > + if (p == NULL) > + return NULL; > + memcpy(cpdest, p, nbytes); > + return xdr->scratch.iov_base; > +} > + > +/** > + * xdr_inline_decode - Retrieve XDR data to decode > * @xdr: pointer to xdr_stream struct > * @nbytes: number of bytes of data to decode > * > @@ -605,13 +699,16 @@ EXPORT_SYMBOL_GPL(xdr_inline_peek); > */ > __be32 * xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes) > { > - __be32 *p = xdr->p; > - __be32 *q = p + XDR_QUADLEN(nbytes); > + __be32 *p; > > - if (unlikely(q > xdr->end || q < p)) > + if (nbytes == 0) > + return xdr->p; > + if (xdr->p == xdr->end && !xdr_set_next_buffer(xdr)) > return NULL; > - xdr->p = q; > - return p; > + p = __xdr_inline_decode(xdr, nbytes); > + if (p != NULL) > + return p; > + return xdr_copy_to_scratch(xdr, nbytes); > } > EXPORT_SYMBOL_GPL(xdr_inline_decode); > > @@ -671,16 +768,12 @@ EXPORT_SYMBOL_GPL(xdr_read_pages); > */ > void xdr_enter_page(struct xdr_stream *xdr, unsigned int len) > { > - char * kaddr = page_address(xdr->buf->pages[0]); > xdr_read_pages(xdr, len); > /* > * Position current pointer at beginning of tail, and > * set remaining message length. > */ > - if (len > PAGE_CACHE_SIZE - xdr->buf->page_base) > - len = PAGE_CACHE_SIZE - xdr->buf->page_base; > - xdr->p = (__be32 *)(kaddr + xdr->buf->page_base); > - xdr->end = (__be32 *)((char *)xdr->p + len); > + xdr_set_page_base(xdr, 0, len); > } > EXPORT_SYMBOL_GPL(xdr_enter_page); > > -- > 1.7.3.4 > > > > -- > Trond Myklebust > Linux NFS client maintainer > > NetApp > Trond.Myklebust@netapp.com > www.netapp.com > > -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 10:50 ` Uwe Kleine-König @ 2011-01-10 16:25 ` Trond Myklebust 2011-01-10 17:08 ` Marc Kleine-Budde 0 siblings, 1 reply; 117+ messages in thread From: Trond Myklebust @ 2011-01-10 16:25 UTC (permalink / raw) To: Uwe Kleine-König Cc: James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Mon, 2011-01-10 at 11:50 +0100, Uwe Kleine-König wrote: > Hi Trond, > > On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: > > ----------------------------------------------------------------------------------- > It would be great if you could add a "8<" in the line above next time. > Then git-am -c does the right thing (at least I think so). Sorry. I wasn't aware of that particular idiom. So something like 8<------------------------------------------------------------ From: Trond Myklebust <Trond.Myklebust@netapp.com> Subject: ..... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 16:25 ` Trond Myklebust @ 2011-01-10 17:08 ` Marc Kleine-Budde 2011-01-10 17:20 ` Trond Myklebust 0 siblings, 1 reply; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-10 17:08 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch [-- Attachment #1: Type: text/plain, Size: 1112 bytes --] On 01/10/2011 05:25 PM, Trond Myklebust wrote: > On Mon, 2011-01-10 at 11:50 +0100, Uwe Kleine-König wrote: >> Hi Trond, >> >> On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: >>> ----------------------------------------------------------------------------------- >> It would be great if you could add a "8<" in the line above next time. >> Then git-am -c does the right thing (at least I think so). > > Sorry. I wasn't aware of that particular idiom. So something like > > 8<------------------------------------------------------------ > From: Trond Myklebust <Trond.Myklebust@netapp.com> > Subject: ..... Yes. From "man git-mailinfo": "A line that mainly consists of scissors (either ">8" or "8<") and perforation (dash "-")" BTW: Is this patch a candidate for stable? regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 17:08 ` Marc Kleine-Budde @ 2011-01-10 17:20 ` Trond Myklebust 2011-01-10 17:26 ` Marc Kleine-Budde 2011-01-10 19:25 ` Uwe Kleine-König 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-10 17:20 UTC (permalink / raw) To: Marc Kleine-Budde Cc: Uwe Kleine-König, James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Mon, 2011-01-10 at 18:08 +0100, Marc Kleine-Budde wrote: > On 01/10/2011 05:25 PM, Trond Myklebust wrote: > > On Mon, 2011-01-10 at 11:50 +0100, Uwe Kleine-König wrote: > >> Hi Trond, > >> > >> On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: > >>> ----------------------------------------------------------------------------------- > >> It would be great if you could add a "8<" in the line above next time. > >> Then git-am -c does the right thing (at least I think so). > > > > Sorry. I wasn't aware of that particular idiom. So something like > > > > 8<------------------------------------------------------------ > > From: Trond Myklebust <Trond.Myklebust@netapp.com> > > Subject: ..... > > Yes. > > From "man git-mailinfo": > "A line that mainly consists of scissors (either ">8" or "8<") and > perforation (dash "-")" > > BTW: > Is this patch a candidate for stable? Yes. I'm planning on sending it to the stable list after Linus merges it into mainline. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 17:20 ` Trond Myklebust @ 2011-01-10 17:26 ` Marc Kleine-Budde 2011-01-10 19:25 ` Uwe Kleine-König 1 sibling, 0 replies; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-10 17:26 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch [-- Attachment #1: Type: text/plain, Size: 491 bytes --] On 01/10/2011 06:20 PM, Trond Myklebust wrote: >> Is this patch a candidate for stable? > > Yes. I'm planning on sending it to the stable list after Linus merges it > into mainline. Fine! regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 17:20 ` Trond Myklebust 2011-01-10 17:26 ` Marc Kleine-Budde @ 2011-01-10 19:25 ` Uwe Kleine-König 2011-01-10 19:29 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Uwe Kleine-König @ 2011-01-10 19:25 UTC (permalink / raw) To: Trond Myklebust Cc: Marc Kleine-Budde, linux-arch, linux-nfs, Russell King - ARM Linux, Parisc List, linux-kernel, James Bottomley, Linus Torvalds, Marc Kleine-Budde, linux-arm-kernel Hello Trond, On Mon, Jan 10, 2011 at 12:20:35PM -0500, Trond Myklebust wrote: > On Mon, 2011-01-10 at 18:08 +0100, Marc Kleine-Budde wrote: > > On 01/10/2011 05:25 PM, Trond Myklebust wrote: > > > On Mon, 2011-01-10 at 11:50 +0100, Uwe Kleine-König wrote: > > >> Hi Trond, > > >> > > >> On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: > > >>> ----------------------------------------------------------------------------------- > > >> It would be great if you could add a "8<" in the line above next time. > > >> Then git-am -c does the right thing (at least I think so). > > > > > > Sorry. I wasn't aware of that particular idiom. So something like > > > > > > 8<------------------------------------------------------------ > > > From: Trond Myklebust <Trond.Myklebust@netapp.com> > > > Subject: ..... > > > > Yes. > > > > From "man git-mailinfo": > > "A line that mainly consists of scissors (either ">8" or "8<") and > > perforation (dash "-")" > > > > BTW: > > Is this patch a candidate for stable? > > Yes. I'm planning on sending it to the stable list after Linus merges it > into mainline. So there is another idiom for you: just put Cc: stable@kernel.org in the S-o-b block and Greg will pick it off "automatically". (Just in case you don't know, and if you do, maybe someone else learned something.) Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 19:25 ` Uwe Kleine-König @ 2011-01-10 19:29 ` Trond Myklebust 2011-01-10 19:31 ` James Bottomley 2011-01-10 19:34 ` Linus Torvalds 0 siblings, 2 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-10 19:29 UTC (permalink / raw) To: Uwe Kleine-König Cc: Marc Kleine-Budde, linux-arch, linux-nfs, Russell King - ARM Linux, Parisc List, linux-kernel, James Bottomley, Linus Torvalds, Marc Kleine-Budde, linux-arm-kernel On Mon, 2011-01-10 at 20:25 +0100, Uwe Kleine-König wrote: > Hello Trond, > > On Mon, Jan 10, 2011 at 12:20:35PM -0500, Trond Myklebust wrote: > > On Mon, 2011-01-10 at 18:08 +0100, Marc Kleine-Budde wrote: > > > On 01/10/2011 05:25 PM, Trond Myklebust wrote: > > > > On Mon, 2011-01-10 at 11:50 +0100, Uwe Kleine-König wrote: > > > >> Hi Trond, > > > >> > > > >> On Sat, Jan 08, 2011 at 06:15:51PM -0500, Trond Myklebust wrote: > > > >>> ----------------------------------------------------------------------------------- > > > >> It would be great if you could add a "8<" in the line above next time. > > > >> Then git-am -c does the right thing (at least I think so). > > > > > > > > Sorry. I wasn't aware of that particular idiom. So something like > > > > > > > > 8<------------------------------------------------------------ > > > > From: Trond Myklebust <Trond.Myklebust@netapp.com> > > > > Subject: ..... > > > > > > Yes. > > > > > > From "man git-mailinfo": > > > "A line that mainly consists of scissors (either ">8" or "8<") and > > > perforation (dash "-")" > > > > > > BTW: > > > Is this patch a candidate for stable? > > > > Yes. I'm planning on sending it to the stable list after Linus merges it > > into mainline. > So there is another idiom for you: just put > > Cc: stable@kernel.org > > in the S-o-b block and Greg will pick it off "automatically". (Just in > case you don't know, and if you do, maybe someone else learned > something.) I usually do this, but there is a slight problem with that approach: Greg gets to do all the work of figuring out to which stable kernels this particular patch applies. In this case, since we're only talking about the 2.6.37 kernel, I prefer to use the mailing lists. Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 19:29 ` Trond Myklebust @ 2011-01-10 19:31 ` James Bottomley 2011-01-10 19:34 ` Linus Torvalds 1 sibling, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-10 19:31 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Marc Kleine-Budde, linux-arch, linux-nfs, Russell King - ARM Linux, Parisc List, linux-kernel, Linus Torvalds, Marc Kleine-Budde, linux-arm-kernel On Mon, 2011-01-10 at 14:29 -0500, Trond Myklebust wrote: > I usually do this, but there is a slight problem with that approach: > Greg gets to do all the work of figuring out to which stable kernels > this particular patch applies. In this case, since we're only talking > about the 2.6.37 kernel, I prefer to use the mailing lists. So the non-standard, but accepted way of doing this is Cc: Stable Tree <stable@kernel.org> [2.6.37] James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 19:29 ` Trond Myklebust 2011-01-10 19:31 ` James Bottomley @ 2011-01-10 19:34 ` Linus Torvalds 2011-01-10 20:15 ` Trond Myklebust 1 sibling, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-10 19:34 UTC (permalink / raw) To: Trond Myklebust Cc: Uwe Kleine-König, Marc Kleine-Budde, linux-arch, linux-nfs, Russell King - ARM Linux, Parisc List, linux-kernel, James Bottomley, Marc Kleine-Budde, linux-arm-kernel 2011/1/10 Trond Myklebust <Trond.Myklebust@netapp.com>: > > I usually do this, but there is a slight problem with that approach: > Greg gets to do all the work of figuring out to which stable kernels > this particular patch applies. In this case, since we're only talking > about the 2.6.37 kernel, I prefer to use the mailing lists. Just do Cc: stable@kernel.org [2.6.37] or similar. It's quite common. So EVEN IF you want to email people around about the patch separately, do add the "Cc: stable" marker. It's worthwhile information about the patch for everybody involved. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-10 19:34 ` Linus Torvalds @ 2011-01-10 20:15 ` Trond Myklebust 0 siblings, 0 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-10 20:15 UTC (permalink / raw) To: Linus Torvalds Cc: Uwe Kleine-König, Marc Kleine-Budde, linux-arch, linux-nfs, Russell King - ARM Linux, Parisc List, linux-kernel, James Bottomley, Marc Kleine-Budde, linux-arm-kernel On Mon, 2011-01-10 at 11:34 -0800, Linus Torvalds wrote: > 2011/1/10 Trond Myklebust <Trond.Myklebust@netapp.com>: > > > > I usually do this, but there is a slight problem with that approach: > > Greg gets to do all the work of figuring out to which stable kernels > > this particular patch applies. In this case, since we're only talking > > about the 2.6.37 kernel, I prefer to use the mailing lists. > > Just do > > Cc: stable@kernel.org [2.6.37] > > or similar. It's quite common. > > So EVEN IF you want to email people around about the patch separately, > do add the "Cc: stable" marker. It's worthwhile information about the > patch for everybody involved. OK. Patch description amended and recommitted in git. Thanks to all for the tips... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-08 23:15 ` Trond Myklebust 2011-01-10 10:50 ` Uwe Kleine-König @ 2011-01-10 12:44 ` Marc Kleine-Budde 1 sibling, 0 replies; 117+ messages in thread From: Marc Kleine-Budde @ 2011-01-10 12:44 UTC (permalink / raw) To: Trond Myklebust Cc: James Bottomley, Russell King - ARM Linux, Linus Torvalds, linux-nfs, linux-kernel, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch [-- Attachment #1: Type: text/plain, Size: 1150 bytes --] On 01/09/2011 12:15 AM, Trond Myklebust wrote: > From 8b2e60cef5c65eef41ab61286f62dec6bfb1ac27 Mon Sep 17 00:00:00 2001 > From: Trond Myklebust <Trond.Myklebust@netapp.com> > Date: Sat, 8 Jan 2011 17:45:38 -0500 > Subject: [PATCH] NFS: Don't use vm_map_ram() in readdir > > vm_map_ram() is not available on NOMMU platforms, and causes trouble > on incoherrent architectures such as ARM when we access the page data > through both the direct and the virtual mapping. > > The alternative is to use the direct mapping to access page data > for the case when we are not crossing a page boundary, but to copy > the data into a linear scratch buffer when we are accessing data > that spans page boundaries. > > Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Tested-by: Marc Kleine-Budde <mkl@pengutronix.de> ..on AT91 (armv5) regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-07 19:02 ` Russell King - ARM Linux 2011-01-07 19:11 ` James Bottomley @ 2011-01-07 19:13 ` Trond Myklebust 1 sibling, 0 replies; 117+ messages in thread From: Trond Myklebust @ 2011-01-07 19:13 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Linus Torvalds, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Fri, 2011-01-07 at 19:02 +0000, Russell King - ARM Linux wrote: > On Fri, Jan 07, 2011 at 01:53:25PM -0500, Trond Myklebust wrote: > > I'd still like to keep the existing code for those architectures that > > don't have problems, since that allows us to send 32k READDIR requests > > instead of being limited to 4k. For large directories, that is a clear > > win. > > For the NOMMU case we will just go back to using a single page for > > storage (and 4k READDIR requests only). Should I just do the same for > > architectures like ARM and PARISC? > > I think you said that readdir reads via the vmalloc mapping of the > group of pages, but XDR writes to the individual pages. > > As I understand NFS, you receive a packet, you then have to use XDR > to unpack the data, which you presumably write into the set of > struct page *'s using kmap? No. The socket or RDMA layers place the data directly into the struct pages. We then unpack them in the XDR layer using the vmalloc mapping and place the resulting processed readdir data into the page cache. > Isn't a solution to have XDR write directly into the vmalloc mapping > rather than using struct page * and kmap? Unfortunately that isn't possible. :-( -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-07 18:53 ` Trond Myklebust 2011-01-07 19:02 ` Russell King - ARM Linux @ 2011-01-07 19:05 ` James Bottomley 1 sibling, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-07 19:05 UTC (permalink / raw) To: Trond Myklebust Cc: Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Fri, 2011-01-07 at 13:53 -0500, Trond Myklebust wrote: > There is already code in the SUNRPC layer that calls flush_dcache_page() > after writing (although as Russell pointed out earlier, that is > apparently a no-op for non-page cache pages such as these). Actually (and possibly fortunately) none of our flush_dcache_page() implementations do this (check for an actual non page cache page and nop if they find one). Although, they may according to the docs which say that flush_dcache_page() is only called on page cache pages. But it's definitely using the API outside its documented scope. We have lots of places in the VFS where we don't call flush_dcache_page() even after altering a kernel page (even in the page cache) if we know the page will never be mapped to userspace. The assumption here is that the kernel never sets up non-user aliases of these pages, so not doing the flushing is an optimisation since we only access them through the kernel address space. Of course, setting up vmap areas of these pages within the kernel violates this assumption. > > This is why you really really really generally don't want to have > > aliasing. Purely virtual caches are pure crap. Really. > > Well, it looks as if NOMMU is giving us problems due to the lack of a > vm_map_ram() (see https://bugzilla.kernel.org/show_bug.cgi?id=26262). > > I'd still like to keep the existing code for those architectures that > don't have problems, since that allows us to send 32k READDIR requests > instead of being limited to 4k. For large directories, that is a clear > win. > For the NOMMU case we will just go back to using a single page for > storage (and 4k READDIR requests only). Should I just do the same for > architectures like ARM and PARISC? Well, that would include any VI architecture (like SPARC and others) as well. However, I think we can just make the invalidate_kernel_vmap_range() work. James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:40 ` James Bottomley 2011-01-06 17:47 ` Trond Myklebust @ 2011-01-06 18:05 ` Russell King - ARM Linux 2011-01-06 18:14 ` James Bottomley 2011-01-06 20:19 ` John Stoffel 2 siblings, 1 reply; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-06 18:05 UTC (permalink / raw) To: James Bottomley Cc: Trond Myklebust, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, Jan 06, 2011 at 11:40:13AM -0600, James Bottomley wrote: > On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: > > Can you explain how the code works? it looks to me like you read the xdr > > stuff through the vmap region then write it out directly to the pages? > > OK, I think I see how this is supposed to work: It's a sequential loop > of reading in via the pages (i.e. through the kernel mapping) and then > updating those pages via the vmap. In which case, I think this patch is > what you need. > > The theory of operation is that the readdir on pages actually uses the > network DMA operations to perform, so when it's finished, the underlying What network DMA operations - what if your NIC doesn't do DMA because it's an SMSC device? ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 18:05 ` Russell King - ARM Linux @ 2011-01-06 18:14 ` James Bottomley 2011-01-06 18:25 ` James Bottomley 0 siblings, 1 reply; 117+ messages in thread From: James Bottomley @ 2011-01-06 18:14 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Trond Myklebust, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 18:05 +0000, Russell King - ARM Linux wrote: > On Thu, Jan 06, 2011 at 11:40:13AM -0600, James Bottomley wrote: > > On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: > > > Can you explain how the code works? it looks to me like you read the xdr > > > stuff through the vmap region then write it out directly to the pages? > > > > OK, I think I see how this is supposed to work: It's a sequential loop > > of reading in via the pages (i.e. through the kernel mapping) and then > > updating those pages via the vmap. In which case, I think this patch is > > what you need. > > > > The theory of operation is that the readdir on pages actually uses the > > network DMA operations to perform, so when it's finished, the underlying > > What network DMA operations - what if your NIC doesn't do DMA because > it's an SMSC device? So this is the danger area ... we might be caught by our own flushing tricks. I can't test this on parisc since all my network drivers use DMA (which automatically coheres the kernel mapping by flush/invalidate). What should happen is that the kernel mapping pages go through the ->readdir() path. Any return from this has to be ready to map the pages back to user space, so the kernel alias has to be flushed to make the underlying page up to date. The exception is pages we haven't yet mapped to userspace. Here we set the PG_dcache_dirty bit (sparc trick) but don't flush the page, since we expect the addition of a userspace mapping will detect this case and do the flush and clear the bit before the mapping goes live. I assume you're thinking that because this page is allocated and freed internally to NFS, it never gets a userspace mapping and therefore, we can return from ->readdir() with a dirty kernel cache (and the corresponding flag set)? I think that is a possible hypothesis in certain cases. James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 18:14 ` James Bottomley @ 2011-01-06 18:25 ` James Bottomley 2011-01-06 21:07 ` James Bottomley 0 siblings, 1 reply; 117+ messages in thread From: James Bottomley @ 2011-01-06 18:25 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Trond Myklebust, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 12:14 -0600, James Bottomley wrote: > On Thu, 2011-01-06 at 18:05 +0000, Russell King - ARM Linux wrote: > > What network DMA operations - what if your NIC doesn't do DMA because > > it's an SMSC device? > > So this is the danger area ... we might be caught by our own flushing > tricks. I can't test this on parisc since all my network drivers use > DMA (which automatically coheres the kernel mapping by > flush/invalidate). > > What should happen is that the kernel mapping pages go through the > ->readdir() path. Any return from this has to be ready to map the pages > back to user space, so the kernel alias has to be flushed to make the > underlying page up to date. > > The exception is pages we haven't yet mapped to userspace. Here we set > the PG_dcache_dirty bit (sparc trick) but don't flush the page, since we > expect the addition of a userspace mapping will detect this case and do > the flush and clear the bit before the mapping goes live. I assume > you're thinking that because this page is allocated and freed internally > to NFS, it never gets a userspace mapping and therefore, we can return > from ->readdir() with a dirty kernel cache (and the corresponding flag > set)? I think that is a possible hypothesis in certain cases. OK, so thinking about this, it seems that the only danger is actually what NFS is doing: reading cache pages via a vmap. In that case, since the requirement is to invalidate the vmap range to prepare for read, we could have invalidate_kernel_vmap_range loop over the underlying pages and flush them through the kernel alias if the architecture specific flag indicates their contents might be dirty. The loop adds expense that is probably largely unnecessary to invalidate_kernel_vmap_range() but the alternative is adding to the API proliferation with something that only flushes the kernel pages if the arch specific flag says they're dirty. James ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 18:25 ` James Bottomley @ 2011-01-06 21:07 ` James Bottomley 0 siblings, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-06 21:07 UTC (permalink / raw) To: Russell King - ARM Linux Cc: Trond Myklebust, Linus Torvalds, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Thu, 2011-01-06 at 12:25 -0600, James Bottomley wrote: > OK, so thinking about this, it seems that the only danger is actually > what NFS is doing: reading cache pages via a vmap. In that case, since > the requirement is to invalidate the vmap range to prepare for read, we > could have invalidate_kernel_vmap_range loop over the underlying pages > and flush them through the kernel alias if the architecture specific > flag indicates their contents might be dirty. > > The loop adds expense that is probably largely unnecessary to > invalidate_kernel_vmap_range() but the alternative is adding to the API > proliferation with something that only flushes the kernel pages if the > arch specific flag says they're dirty. This is what I think the arm patch would look like (example only: I can't compile it). Is something like this too expensive? the loop can't be optimised away because of the need to check the pages (and vmalloc_to_page is a three level page table lookup). James --- diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 3acd8fa..34469ca 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h @@ -414,8 +414,17 @@ static inline void flush_kernel_vmap_range(void *addr, int size) } static inline void invalidate_kernel_vmap_range(void *addr, int size) { - if ((cache_is_vivt() || cache_is_vipt_aliasing())) - __cpuc_flush_dcache_area(addr, (size_t)size); + if ((cache_is_vivt() || cache_is_vipt_aliasing())) { + void *cursor = addr; + + for ( ; cursor < addr + size; cursor += PAGE_SIZE) { + struct page *page = vmalloc_to_page(cursor); + + if (!test_and_set_bit(PG_dcache_clean, &page->flags)) + __flush_dcache_page(page_mapping(page), page); + } + __cpuc_flush_dcache_area(addr, (size_t)size); + } } #define ARCH_HAS_FLUSH_ANON_PAGE ^ permalink raw reply related [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-06 17:40 ` James Bottomley 2011-01-06 17:47 ` Trond Myklebust 2011-01-06 18:05 ` Russell King - ARM Linux @ 2011-01-06 20:19 ` John Stoffel 2 siblings, 0 replies; 117+ messages in thread From: John Stoffel @ 2011-01-06 20:19 UTC (permalink / raw) To: James Bottomley Cc: Trond Myklebust, Linus Torvalds, Russell King - ARM Linux, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch >>>>> "James" == James Bottomley <James.Bottomley@HansenPartnership.com> writes: James> On Wed, 2011-01-05 at 23:28 +0000, James Bottomley wrote: >> Can you explain how the code works? it looks to me like you read the xdr >> stuff through the vmap region then write it out directly to the pages? James> OK, I think I see how this is supposed to work: It's a James> sequential loop of reading in via the pages (i.e. through the James> kernel mapping) and then updating those pages via the vmap. In James> which case, I think this patch is what you need. James> The theory of operation is that the readdir on pages actually James> uses the network DMA operations to perform, so when it's James> finished, the underlying page is up to date. After this you James> invalidate the vmap range, so we have no cache lines above it James> (so it picks up the values from the uptodate page). Finally, James> after the operation on the vmap region has finished, you flush James> it so that any updated contents go back to the pages themselves James> before the next iteration begins. You need to re-spin this patch to include the above description into the magic steps your taking here, or at least document it more clearly somewhere why you need to make these funky steps. John James> James James> --- James> diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c James> index 996dd89..bde1911 100644 James> --- a/fs/nfs/dir.c James> +++ b/fs/nfs/dir.c James> @@ -587,12 +587,16 @@ int nfs_readdir_xdr_to_array(nfs_readdir_descriptor_t *desc, struct page *page, James> if (status < 0) James> break; James> pglen = status; James> + James> + invalidate_kernel_vmap_range(pages_ptr, pglen); James> + James> status = nfs_readdir_page_filler(desc, &entry, pages_ptr, page, pglen); James> if (status < 0) { James> if (status == -ENOSPC) James> status = 0; James> break; James> } James> + flush_kernel_vmap_range(pages_ptr, pglen); James> } while (array->eof_index < 0); James> nfs_readdir_free_large_page(pages_ptr, pages, array_size); James> -- James> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in James> the body of a message to majordomo@vger.kernel.org James> More majordomo info at http://vger.kernel.org/majordomo-info.html James> Please read the FAQ at http://www.tux.org/lkml/ -- ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 23:06 ` Trond Myklebust 2011-01-05 23:28 ` James Bottomley @ 2011-01-05 23:28 ` Linus Torvalds 2011-01-05 23:59 ` Russell King - ARM Linux 1 sibling, 1 reply; 117+ messages in thread From: Linus Torvalds @ 2011-01-05 23:28 UTC (permalink / raw) To: Trond Myklebust Cc: Russell King - ARM Linux, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 5, 2011 at 3:06 PM, Trond Myklebust <Trond.Myklebust@netapp.com> wrote: > > Yes. The fix I sent out was a call to invalidate_kernel_vmap_range(), > which takes care of invalidating the cache prior to a virtual address > read. > > My question was specifically about the write through the regular kernel > mapping: according to Russell and my reading of the cachetlb.txt > documentation, flush_dcache_page() is only guaranteed to have an effect > on page cache pages. I don't think that should ever matter. It's not like the hardware can know whether it's a dcache page or not. And if the sw implementation cares, it's doing something really odd. But who knows - there's a lot of crap out there, and people sometimes do really odd things to work around the brokenness of a VIVT cache with aliases. Linus ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 23:28 ` Linus Torvalds @ 2011-01-05 23:59 ` Russell King - ARM Linux 0 siblings, 0 replies; 117+ messages in thread From: Russell King - ARM Linux @ 2011-01-05 23:59 UTC (permalink / raw) To: Linus Torvalds Cc: Trond Myklebust, James Bottomley, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, Jan 05, 2011 at 03:28:53PM -0800, Linus Torvalds wrote: > On Wed, Jan 5, 2011 at 3:06 PM, Trond Myklebust > <Trond.Myklebust@netapp.com> wrote: > > > > Yes. The fix I sent out was a call to invalidate_kernel_vmap_range(), > > which takes care of invalidating the cache prior to a virtual address > > read. > > > > My question was specifically about the write through the regular kernel > > mapping: according to Russell and my reading of the cachetlb.txt > > documentation, flush_dcache_page() is only guaranteed to have an effect > > on page cache pages. > > I don't think that should ever matter. It's not like the hardware can > know whether it's a dcache page or not. > > And if the sw implementation cares, it's doing something really odd. >From the hardware perspective you're correct that it doesn't. However, from the efficient implementation perspective it does matter. Take for example the read-ahead done on block devices. We don't want to flush all those pages that were read in when we don't know that they're ever going to end up in a user mapping. So what's commonly done (as suggested by DaveM) is that flush_dcache_page() detects that it's a dcache page, ensures that there's no user mappings, and sets a 'dirty' flag. This flag is guaranteed to be clear when new, clean, unread pages enter the page cache. When the page eventually ends up in a user mapping, that dirty flag is checked and the necessary cache flushing done at that point. Note that when there are user mappings, flush_dcache_page() has to flush those mappings too, otherwise mmap() <-> read()/write() coherency breaks. I believe this was what flush_dcache_page() was created to resolve. flush_kernel_dcache_page() was to solve the problem of PIO drivers writing to dcache pages, so that data written into the kernel mapping would be visible to subsequent user mappings. We chose a different overall approach - which had already been adopted by PPC - where we invert the meaning of this 'dirty' bit to mean that it's clean. So every new page cache page starts out life as being marked dirty and so nothing needs to be done at flush_kernel_dcache_page(). We continue to use davem's optimization but with the changed meaning of the bit, but as we now support SMP we do the flushing at set_pte_at() time. This also means that we don't have to rely on the (endlessly) buggy PIO drivers remembering to add flush_kernel_dcache_page() calls - something which has been a source of constant never-ending pain for us. The final piece of the jigsaw is flush_anon_page() which deals with kernel<->user coherency for anonymous pages by flushing both the user and kernel sides of the mapping. This was to solve direct-io coherency problems. As the users of flush_anon_page() always do: flush_anon_page(vma, page, addr); flush_dcache_page(page); and documentation doesn't appear to imply that this will always be the case, we restrict flush_dcache_page() to only work on page cache pages, otherwise we end up flushing the kernel-side mapping multiple time in succession. Maybe we should make flush_anon_page() only flush the user mapping, stipulate that it shall always be followed by flush_dcache_page(), which shall flush the kernel side mapping even for anonymous pages? That sounds to me like a recipe for missing flush_dcache_page() calls causing bugs. ^ permalink raw reply [flat|nested] 117+ messages in thread
* Re: still nfs problems [Was: Linux 2.6.37-rc8] 2011-01-05 20:48 ` Linus Torvalds 2011-01-05 21:04 ` Russell King - ARM Linux @ 2011-01-05 21:16 ` James Bottomley 1 sibling, 0 replies; 117+ messages in thread From: James Bottomley @ 2011-01-05 21:16 UTC (permalink / raw) To: Linus Torvalds Cc: Russell King - ARM Linux, Trond Myklebust, linux-nfs, linux-kernel, Marc Kleine-Budde, Uwe Kleine-König, Marc Kleine-Budde, linux-arm-kernel, Parisc List, linux-arch On Wed, 2011-01-05 at 12:48 -0800, Linus Torvalds wrote: > On Wed, Jan 5, 2011 at 12:33 PM, James Bottomley > <James.Bottomley@hansenpartnership.com> wrote: > > > > well, that depends. For us on parisc, kmap of a user page in !HIGHMEM > > sets up an inequivalent aliase still ... because the cache colour of the > > user and kernel virtual addresses are different. Depending on the > > return path to userspace, we still usually have to flush to get the user > > to see the changes the kernel has made. > > Umm. Again, that has nothing to do with kmap(). > > This time it's about the user space mapping. > > Repeat after me: even without the kmap(), the kernel access to that > mapping would have caused cache aliases. > > See? Once more, the kmap() is entirely innocent. You can have a > non-highmem mapping that you never use kmap for, and that you map into > user space, and you'd see exactly the same aliases. Notice? Look ma, > no kmap(). Yes, I understand that (we have no highmem on parisc, so kmap is a nop). The problem (at least as I see it) is that once something within the kernel (well, OK, mostly within drivers) touches a user page via its kernel mapping, the flush often gets forgotten (mainly because it always works on x86). What I was thinking about is that every time the kernel touches a user space page, it has to be within a kmap/kunmap pair (because the page might be highmem) ... so it's possible to make kmap/kunmap do the flushing for this case so the driver writer can't ever forget it. I think the problem case is only really touching scatter/gather elements outside of the DMA API (i.e. the driver pio case), so this may be overkill. Russell also pointed out that a lot of the PIO iterators do excessive kmap_atomic/kunmap_atomic on the same page, so adding a flush could damage performance to the point where the flash root devices on arm might not work. Plus the pio iterators already contain the appropriate flush, so perhaps just using them in every case fixes the problem. > So clearly kmap() is not the issue. The issue continues to be a > totally separate virtual mapping. Whether it's a user mapping or > vm_map_ram() is obviously immaterial - as far as the CPU is concerned, > there is no difference between the two (apart from the trivial > differences of virtual location and permissions). > > (You can also force the problem with vmalloc() an then following the > kernel page tables, but I hope nobody does that any more. I suspect > I'm wrong, though, there's probably code that mixes vmalloc and > physical page accesses in various drivers) Yes, unfortunately, we have seen this quite a bit; mainly to get large buffers. Its not just confined to drivers: xfs used to fail on both arm and parisc because it used a vmalloc region for its log buffer which it then had to do I/O on. James ^ permalink raw reply [flat|nested] 117+ messages in thread
end of thread, other threads:[~2011-01-14 4:22 UTC | newest] Thread overview: 117+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-12-29 1:18 Linux 2.6.37-rc8 Linus Torvalds 2010-12-29 11:18 ` Borislav Petkov 2010-12-29 12:08 ` Rafael J. Wysocki 2010-12-30 1:17 ` Zhang Rui 2010-12-29 18:21 ` Linux 2.6.37-rc8 (no fb) Randy Dunlap 2010-12-29 19:40 ` Linus Torvalds 2010-12-29 20:16 ` Jesse Barnes 2010-12-29 20:51 ` François Valenduc 2010-12-29 21:11 ` Alex Riesen 2010-12-29 21:18 ` Jesse Barnes 2010-12-29 21:53 ` Jesse Barnes 2010-12-29 23:09 ` Alex Riesen 2010-12-29 23:13 ` Jesse Barnes 2010-12-29 23:20 ` Alex Riesen 2010-12-29 23:35 ` Alex Riesen 2010-12-30 0:02 ` Jesse Barnes 2010-12-30 0:10 ` Alex Riesen 2010-12-29 22:02 ` Alex Riesen 2010-12-29 22:12 ` Randy Dunlap 2010-12-29 22:46 ` Jesse Barnes 2010-12-29 23:40 ` Randy Dunlap 2010-12-30 18:36 ` Chris Wilson 2010-12-30 17:14 ` still nfs problems [Was: Linux 2.6.37-rc8] Uwe Kleine-König 2010-12-30 17:57 ` Linus Torvalds 2010-12-30 18:24 ` Trond Myklebust 2010-12-30 18:50 ` Linus Torvalds 2010-12-30 19:25 ` Trond Myklebust 2010-12-30 20:02 ` Linus Torvalds 2010-12-30 17:59 ` Trond Myklebust 2010-12-30 19:18 ` Uwe Kleine-König 2011-01-03 21:38 ` Uwe Kleine-König 2011-01-04 0:22 ` Trond Myklebust 2011-01-05 8:40 ` Uwe Kleine-König 2011-01-05 11:05 ` Uwe Kleine-König 2011-01-05 11:27 ` Russell King - ARM Linux 2011-01-05 12:14 ` Marc Kleine-Budde 2011-01-05 13:02 ` Nori, Sekhar 2011-01-05 15:34 ` Russell King - ARM Linux 2011-01-05 13:40 ` Uwe Kleine-König 2011-01-05 14:29 ` Jim Rees 2011-01-05 14:42 ` Marc Kleine-Budde 2011-01-05 15:38 ` Jim Rees 2011-01-05 14:53 ` Trond Myklebust 2011-01-05 15:01 ` Marc Kleine-Budde 2011-01-05 15:14 ` Trond Myklebust 2011-01-05 15:29 ` Trond Myklebust 2011-01-05 15:39 ` Marc Kleine-Budde 2011-01-05 15:52 ` Russell King - ARM Linux 2011-01-05 17:17 ` Trond Myklebust 2011-01-05 17:26 ` Russell King - ARM Linux 2011-01-05 18:12 ` Trond Myklebust 2011-01-05 18:27 ` Russell King - ARM Linux 2011-01-05 18:55 ` Trond Myklebust 2011-01-05 19:07 ` Russell King - ARM Linux 2011-01-14 2:25 ` Andy Isaacson 2011-01-14 2:40 ` Trond Myklebust 2011-01-14 4:22 ` Andy Isaacson 2011-01-03 8:48 ` Linux 2.6.37-rc8 Domenico Andreoli 2011-01-04 14:26 ` Pavel Machek 2011-01-04 14:35 ` Chris Wilson 2011-01-04 21:04 ` Pavel Machek 2011-01-04 21:15 ` Dave Airlie 2011-01-05 7:21 ` Pavel Machek 2011-01-05 22:05 ` Pavel Machek 2011-01-05 22:49 ` Dave Airlie 2011-01-06 20:27 ` Pavel Machek 2000-01-01 0:13 ` Pavel Machek 2011-01-08 12:46 ` Chris Wilson -- strict thread matches above, loose matches on Subject: below -- 2010-12-31 3:17 still nfs problems [Was: Linux 2.6.37-rc8] George Spelvin 2010-12-31 4:32 ` Trond Myklebust 2011-01-01 1:03 ` George Spelvin 2011-01-01 1:18 ` Trond Myklebust 2011-01-01 5:44 ` George Spelvin 2011-01-05 19:05 James Bottomley 2011-01-05 19:18 ` Linus Torvalds 2011-01-05 19:36 ` James Bottomley 2011-01-05 19:49 ` Linus Torvalds 2011-01-05 20:35 ` James Bottomley 2011-01-05 20:00 ` Russell King - ARM Linux 2011-01-05 20:33 ` James Bottomley 2011-01-05 20:48 ` Linus Torvalds 2011-01-05 21:04 ` Russell King - ARM Linux 2011-01-05 21:08 ` Linus Torvalds 2011-01-05 21:16 ` Trond Myklebust 2011-01-05 21:30 ` Linus Torvalds 2011-01-05 23:06 ` Trond Myklebust 2011-01-05 23:28 ` James Bottomley 2011-01-06 17:40 ` James Bottomley 2011-01-06 17:47 ` Trond Myklebust 2011-01-06 17:51 ` James Bottomley 2011-01-06 17:55 ` Linus Torvalds 2011-01-07 18:53 ` Trond Myklebust 2011-01-07 19:02 ` Russell King - ARM Linux 2011-01-07 19:11 ` James Bottomley 2011-01-08 16:49 ` Trond Myklebust 2011-01-08 23:15 ` Trond Myklebust 2011-01-10 10:50 ` Uwe Kleine-König 2011-01-10 16:25 ` Trond Myklebust 2011-01-10 17:08 ` Marc Kleine-Budde 2011-01-10 17:20 ` Trond Myklebust 2011-01-10 17:26 ` Marc Kleine-Budde 2011-01-10 19:25 ` Uwe Kleine-König 2011-01-10 19:29 ` Trond Myklebust 2011-01-10 19:31 ` James Bottomley 2011-01-10 19:34 ` Linus Torvalds 2011-01-10 20:15 ` Trond Myklebust 2011-01-10 12:44 ` Marc Kleine-Budde 2011-01-07 19:13 ` Trond Myklebust 2011-01-07 19:05 ` James Bottomley 2011-01-06 18:05 ` Russell King - ARM Linux 2011-01-06 18:14 ` James Bottomley 2011-01-06 18:25 ` James Bottomley 2011-01-06 21:07 ` James Bottomley 2011-01-06 20:19 ` John Stoffel 2011-01-05 23:28 ` Linus Torvalds 2011-01-05 23:59 ` Russell King - ARM Linux 2011-01-05 21:16 ` James Bottomley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox