# git rev-parse -q --verify 43a1dd9b5fc64184e578ac1570d016d2862e00b2^{commit} 43a1dd9b5fc64184e578ac1570d016d2862e00b2 already have revision, skipping fetch # git checkout -q -f -B kisskb 43a1dd9b5fc64184e578ac1570d016d2862e00b2 # git clean -qxdf # git log -1 commit 43a1dd9b5fc64184e578ac1570d016d2862e00b2 Author: Suraj Jitindar Singh Date: Wed Jun 29 13:38:39 2016 +1000 powerpc/powernv: Add driver for operator panel on FSP machines Implement new character device driver to allow access from user space to the operator panel display present on IBM Power Systems machines with FSPs. This will allow status information to be presented on the display which is visible to a user. The driver implements a character buffer which a user can read/write by accessing the device (/dev/op_panel). This buffer is then displayed on the operator panel display. Any attempt to write past the last character position will have no effect and attempts to write more characters than the size of the display will be truncated. The device may only be accessed by a single process at a time. Signed-off-by: Suraj Jitindar Singh Reviewed-by: Andrew Donnellan Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 43a1dd9b5fc64184e578ac1570d016d2862e00b2 # < make -j 240 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- allnoconfig # make -j 240 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- make[1]: Entering directory `/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig make[1]: Leaving directory `/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc' make[1]: Entering directory `/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc' CHK include/config/kernel.release GEN ./Makefile WRAP arch/powerpc/include/generated/asm/clkdev.h WRAP arch/powerpc/include/generated/asm/div64.h WRAP arch/powerpc/include/generated/asm/irq_regs.h WRAP arch/powerpc/include/generated/asm/irq_work.h CHK include/generated/uapi/linux/version.h WRAP arch/powerpc/include/generated/asm/local64.h WRAP arch/powerpc/include/generated/asm/mcs_spinlock.h WRAP arch/powerpc/include/generated/asm/preempt.h UPD include/generated/uapi/linux/version.h WRAP arch/powerpc/include/generated/asm/rwsem.h WRAP arch/powerpc/include/generated/asm/vtime.h UPD include/config/kernel.release Using /home/kisskb/slave/src as source for kernel CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o CC scripts/mod/empty.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o CC scripts/mod/devicetable-offsets.s HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c SHIPPED scripts/dtc/dtc-parser.tab.c HOSTCC scripts/dtc/dtc-parser.tab.o SHIPPED scripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/dtc-lexer.lex.o GEN scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/dtc/dtc HOSTLD scripts/mod/modpost CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/powerpc/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh LD usr/built-in.o CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/noinitramfs.o CC init/init_task.o AS arch/powerpc/lib/string.o CC arch/powerpc/lib/alloc.o CC arch/powerpc/mm/fault.o AS arch/powerpc/lib/crtsavres.o CC arch/powerpc/mm/mem.o LD arch/powerpc/sysdev/built-in.o CC arch/powerpc/lib/ppc_ksyms.o CC arch/powerpc/mm/pgtable.o UPD include/generated/compile.h CC arch/powerpc/mm/mmap.o LD arch/powerpc/platforms/built-in.o CC arch/powerpc/mm/init_32.o CC arch/powerpc/lib/feature-fixups.o CC arch/powerpc/lib/code-patching.o AS arch/powerpc/lib/div64.o CC arch/powerpc/mm/pgtable_32.o AS arch/powerpc/lib/copy_32.o CC init/version.o CC arch/powerpc/mm/ppc_mmu_32.o AS arch/powerpc/lib/checksum_32.o CC arch/powerpc/mm/mmu_context_hash32.o CC arch/powerpc/lib/checksum_wrappers.o CC arch/powerpc/mm/tlb_hash32.o CC arch/powerpc/mm/hugetlbpage.o LD arch/powerpc/math-emu/built-in.o AS arch/powerpc/mm/hash_low_32.o CC arch/powerpc/kernel/ptrace.o LD arch/powerpc/crypto/built-in.o CC arch/powerpc/kernel/syscalls.o CC arch/powerpc/kernel/cputable.o CC arch/powerpc/kernel/align.o CC arch/powerpc/kernel/irq.o CC arch/powerpc/kernel/signal_32.o CC arch/powerpc/kernel/pmc.o CC arch/powerpc/kernel/vdso.o CC arch/powerpc/kernel/process.o CPP arch/powerpc/kernel/systbl_chk.i CC arch/powerpc/kernel/idle.o CC arch/powerpc/kernel/sysfs.o CC arch/powerpc/kernel/signal.o CC arch/powerpc/kernel/cacheinfo.o LD arch/powerpc/net/built-in.o LD certs/built-in.o CC arch/powerpc/kernel/time.o CC arch/powerpc/kernel/prom.o CC arch/powerpc/kernel/traps.o CC arch/powerpc/kernel/setup-common.o AS arch/powerpc/kernel/misc.o CC arch/powerpc/kernel/udbg.o CC arch/powerpc/kernel/io.o CC arch/powerpc/kernel/dma.o CC arch/powerpc/kernel/of_platform.o AS arch/powerpc/kernel/misc_32.o CC arch/powerpc/kernel/prom_parse.o AS arch/powerpc/kernel/idle_6xx.o AS arch/powerpc/kernel/l2cr_6xx.o AS arch/powerpc/kernel/cpu_setup_6xx.o AS arch/powerpc/kernel/entry_32.o CC arch/powerpc/kernel/setup_32.o CC arch/powerpc/kernel/pci_32.o LD ipc/built-in.o CC security/commoncap.o CC security/min_addr.o CC arch/powerpc/kernel/pci-common.o CC arch/powerpc/kernel/pci_of_scan.o CC arch/powerpc/kernel/iomap.o LDS arch/powerpc/kernel/vdso32/vdso32.lds LDS arch/powerpc/kernel/vmlinux.lds AS arch/powerpc/kernel/head_32.o AS arch/powerpc/kernel/fpu.o LD crypto/built-in.o VDSO32A arch/powerpc/kernel/vdso32/sigtramp.o VDSO32A arch/powerpc/kernel/vdso32/gettimeofday.o CALL /home/kisskb/slave/src/arch/powerpc/kernel/systbl_chk.sh CC kernel/fork.o LD block/built-in.o AS arch/powerpc/kernel/systbl.o CC kernel/exec_domain.o VDSO32A arch/powerpc/kernel/vdso32/datapage.o CC mm/filemap.o CC kernel/panic.o CC mm/mempool.o VDSO32A arch/powerpc/kernel/vdso32/cacheflush.o CC kernel/cpu.o CC mm/oom_kill.o CC kernel/exit.o CC mm/maccess.o VDSO32A arch/powerpc/kernel/vdso32/note.o CC kernel/softirq.o CC mm/page_alloc.o CC kernel/resource.o CC mm/page-writeback.o CC kernel/sysctl.o CC kernel/sysctl_binary.o CC mm/readahead.o CC kernel/capability.o CC mm/swap.o LD sound/built-in.o CC kernel/ptrace.o CC mm/truncate.o CC mm/vmscan.o CC mm/shmem.o CC mm/util.o CC kernel/user.o CC mm/mmzone.o VDSO32L arch/powerpc/kernel/vdso32/vdso32.so.dbg CC mm/vmstat.o CC kernel/signal.o CC mm/backing-dev.o CC kernel/sys.o CC mm/mm_init.o CC fs/open.o CC mm/mmu_context.o CC kernel/kmod.o CC fs/read_write.o CC kernel/workqueue.o OBJCOPY arch/powerpc/kernel/vdso32/vdso32.so CC fs/file_table.o CC kernel/pid.o CC mm/percpu.o CC mm/slab_common.o AS arch/powerpc/kernel/vdso32/vdso32_wrapper.o CC mm/compaction.o CC fs/super.o CC kernel/task_work.o LD arch/powerpc/lib/built-in.o CC fs/char_dev.o CC fs/stat.o LD firmware/built-in.o CC kernel/extable.o CC mm/vmacache.o CC mm/debug.o CC mm/mlock.o CC mm/mprotect.o CC mm/highmem.o CC kernel/range.o CC kernel/params.o CC fs/exec.o CC mm/workingset.o CC fs/namei.o CC fs/ioctl.o CC kernel/kthread.o CC mm/rmap.o CC fs/namespace.o CC kernel/cred.o CC kernel/ksysfs.o CC mm/interval_tree.o CC mm/memory.o CC mm/list_lru.o CC mm/mmap.o CC fs/inode.o CC fs/fcntl.o CC fs/filesystems.o LD kernel/livepatch/built-in.o CC mm/mincore.o CC fs/dcache.o CC mm/pagewalk.o CC fs/bad_inode.o CC kernel/reboot.o CC fs/readdir.o CC kernel/sys_ni.o CC kernel/async.o CC fs/file.o CC fs/pipe.o CC mm/mremap.o CC mm/pgtable-generic.o CC fs/attr.o CC kernel/nsproxy.o CC kernel/notifier.o CC mm/gup.o CC kernel/smpboot.o CC mm/vmalloc.o CC fs/seq_file.o CC fs/select.o CC mm/msync.o LD net/built-in.o CC fs/xattr.o CC mm/init-mm.o CC kernel/dma.o CC mm/nobootmem.o CC kernel/memremap.o CC fs/pnode.o CC kernel/up.o CC fs/splice.o CC fs/fs-writeback.o CC fs/libfs.o LD arch/powerpc/kernel/vdso32/built-in.o CC kernel/elfcore.o CC mm/memblock.o CC fs/sync.o CC kernel/power/qos.o CC kernel/locking/mutex.o CC kernel/rcu/update.o CC mm/dmapool.o CC kernel/rcu/sync.o CC kernel/rcu/tiny.o CC fs/stack.o CC fs/utimes.o CC mm/slub.o CC kernel/locking/semaphore.o CC kernel/printk/printk.o CC kernel/irq/irqdesc.o CC fs/fs_struct.o CC fs/statfs.o CC kernel/irq/handle.o CC kernel/locking/rwsem.o CC kernel/irq/manage.o CC fs/fs_pin.o CC fs/nsfs.o CC kernel/locking/rwsem-xadd.o CC kernel/locking/percpu-rwsem.o CC kernel/irq/spurious.o CC kernel/irq/resend.o CC fs/no-block.o CC kernel/irq/chip.o CC kernel/irq/dummychip.o CC kernel/sched/core.o CC kernel/irq/devres.o CC kernel/sched/loadavg.o CC kernel/irq/irqdomain.o LD fs/devpts/built-in.o LD fs/exofs/built-in.o CC kernel/sched/cputime.o CC fs/binfmt_elf.o LD fs/quota/built-in.o CC kernel/sched/clock.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC kernel/sched/rt.o CC kernel/sched/deadline.o CC kernel/sched/stop_task.o CC kernel/time/time.o CC fs/ramfs/inode.o CC kernel/sched/wait.o CC kernel/time/timer.o CC kernel/sched/swait.o LD virt/lib/built-in.o CC fs/ramfs/file-mmu.o CC kernel/time/hrtimer.o LD arch/powerpc/mm/built-in.o CC kernel/time/itimer.o CC kernel/sched/completion.o CC kernel/time/posix-cpu-timers.o CC kernel/time/posix-timers.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC kernel/sched/idle.o CC kernel/time/timekeeping.o CC kernel/time/ntp.o LD virt/built-in.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC kernel/time/timer_list.o LD fs/notify/inotify/built-in.o CC kernel/time/timeconv.o CC kernel/time/timecounter.o LD init/mounts.o CC kernel/time/posix-clock.o LD fs/notify/built-in.o CC kernel/time/alarmtimer.o CC kernel/time/clockevents.o CC kernel/time/tick-common.o LD init/built-in.o CC lib/lockref.o CC lib/bcd.o CC lib/div64.o CC lib/sort.o CC lib/parser.o CC lib/halfmd4.o LD drivers/amba/built-in.o LD drivers/auxdisplay/built-in.o CC lib/debug_locks.o LD drivers/block/built-in.o CC lib/random32.o LD drivers/bus/built-in.o CC lib/bust_spinlocks.o LD drivers/cdrom/built-in.o CC lib/kasprintf.o CC lib/bitmap.o CC lib/scatterlist.o LD drivers/clocksource/built-in.o CC lib/gcd.o CC lib/lcm.o LD drivers/firewire/built-in.o LD drivers/clk/bcm/built-in.o CC drivers/char/mem.o CC drivers/char/random.o LD drivers/clk/mvebu/built-in.o CC drivers/char/misc.o CC drivers/base/component.o CC lib/list_sort.o LD kernel/rcu/built-in.o LD drivers/gpio/built-in.o CC lib/uuid.o CC lib/flex_array.o LD security/built-in.o CC drivers/base/core.o LD drivers/hwtracing/intel_th/built-in.o LD drivers/char/agp/built-in.o CC lib/iov_iter.o CC drivers/base/bus.o LD drivers/clk/ti/built-in.o CC lib/clz_ctz.o LD drivers/idle/built-in.o CC drivers/base/dd.o CC lib/bsearch.o LD drivers/hsi/clients/built-in.o LD kernel/locking/built-in.o CC drivers/base/syscore.o LD drivers/clk/built-in.o CC drivers/irqchip/irqchip.o LD drivers/gpu/vga/built-in.o CC lib/find_bit.o CC lib/llist.o LD drivers/firmware/broadcom/built-in.o CC drivers/base/driver.o LD drivers/hsi/controllers/built-in.o CC drivers/base/class.o LD drivers/firmware/built-in.o CC drivers/base/platform.o LD drivers/hsi/built-in.o CC lib/memweight.o LD drivers/i2c/algos/built-in.o CC drivers/base/cpu.o LD drivers/macintosh/built-in.o LD drivers/leds/built-in.o CC drivers/base/firmware.o LD drivers/i2c/muxes/built-in.o LD drivers/mfd/built-in.o CC drivers/base/init.o LD drivers/mmc/built-in.o CC lib/kfifo.o LD drivers/lguest/built-in.o LD drivers/net/built-in.o LD drivers/i2c/busses/built-in.o CC lib/percpu-refcount.o CC lib/percpu_ida.o CC drivers/base/map.o CC drivers/base/devres.o LD drivers/nfc/built-in.o CC drivers/base/attribute_container.o CC drivers/base/transport_class.o CC lib/rhashtable.o CC drivers/base/topology.o CC drivers/base/container.o LD drivers/platform/built-in.o LD drivers/pwm/built-in.o CC lib/reciprocal_div.o LD drivers/nvme/host/built-in.o CC drivers/base/property.o CC drivers/base/cacheinfo.o LD drivers/i2c/built-in.o LD drivers/power/built-in.o LD drivers/gpu/drm/bridge/built-in.o LD drivers/gpu/drm/hisilicon/built-in.o LD drivers/nvme/built-in.o CC drivers/base/dma-mapping.o LD drivers/gpu/drm/i2c/built-in.o CC drivers/pci/access.o LD drivers/gpu/drm/panel/built-in.o CC lib/once.o LD drivers/misc/cb710/built-in.o CC drivers/pci/bus.o LD drivers/base/power/built-in.o LD drivers/gpu/drm/tilcdc/built-in.o CC drivers/pci/probe.o CC lib/string_helpers.o CC drivers/pci/host-bridge.o LD drivers/misc/eeprom/built-in.o CC drivers/pci/pci.o CC drivers/pci/remove.o LD drivers/misc/lis3lv02d/built-in.o LD drivers/gpu/drm/omapdrm/displays/built-in.o CC drivers/of/base.o CC drivers/of/device.o CC lib/hexdump.o LD drivers/misc/ti-st/built-in.o LD drivers/gpu/drm/omapdrm/dss/built-in.o CC drivers/of/platform.o LD drivers/tty/vt/built-in.o CC lib/kstrtox.o LD drivers/usb/host/built-in.o LD drivers/tty/serial/built-in.o LD drivers/video/backlight/built-in.o LD drivers/soc/bcm/built-in.o CC drivers/pci/pci-driver.o CC drivers/of/fdt.o CC lib/pci_iomap.o LD drivers/soc/fsl/built-in.o CC drivers/of/fdt_address.o LD drivers/tty/ipwireless/built-in.o LD drivers/gpu/drm/omapdrm/built-in.o CC lib/iomap_copy.o LD drivers/misc/mic/bus/built-in.o CC drivers/pci/search.o CC lib/devres.o CC drivers/of/address.o LD fs/ramfs/ramfs.o CC lib/hweight.o LD drivers/video/fbdev/core/built-in.o CC drivers/of/irq.o LD kernel/printk/built-in.o LD drivers/usb/built-in.o CC drivers/pci/pci-sysfs.o CC drivers/of/of_pci.o LD fs/ramfs/built-in.o LD drivers/soc/built-in.o CC drivers/pci/rom.o CC drivers/pci/setup-res.o CC lib/bitrev.o LD drivers/tty/built-in.o HOSTCC lib/gen_crc32table CC drivers/pci/irq.o LD drivers/misc/mic/built-in.o CC drivers/of/of_pci_irq.o LD kernel/power/built-in.o CC drivers/pci/vpd.o CC drivers/of/of_reserved_mem.o CC lib/syscall.o LD drivers/gpu/drm/built-in.o CC drivers/pci/setup-bus.o CC lib/atomic64.o CC drivers/pci/vc.o CC drivers/pci/syscall.o CC lib/strncpy_from_user.o CC drivers/pci/of.o CC lib/strnlen_user.o LD drivers/pci/host/built-in.o LD drivers/misc/built-in.o CC lib/argv_split.o LD drivers/media/firewire/built-in.o LD drivers/video/fbdev/omap2/omapfb/displays/built-in.o CC lib/cmdline.o LD drivers/video/fbdev/omap2/omapfb/dss/built-in.o CC lib/ctype.o LD drivers/media/mmc/siano/built-in.o CC lib/dec_and_lock.o LD drivers/media/i2c/soc_camera/built-in.o LD arch/powerpc/kernel/built-in.o CC lib/decompress.o LD drivers/media/mmc/built-in.o LD drivers/irqchip/built-in.o CC lib/dma-noop.o LD drivers/media/tuners/built-in.o LD drivers/video/fbdev/omap2/omapfb/built-in.o CC lib/dump_stack.o LD drivers/media/common/b2c2/built-in.o CC lib/earlycpio.o LD drivers/media/rc/keymaps/built-in.o CC lib/extable.o LD drivers/media/common/saa7146/built-in.o LD drivers/media/i2c/built-in.o LD drivers/media/platform/omap/built-in.o LD drivers/media/common/siano/built-in.o LD drivers/video/fbdev/omap2/built-in.o LD drivers/gpu/built-in.o LD drivers/media/platform/built-in.o CC lib/fdt.o CC lib/fdt_empty_tree.o CC lib/fdt_ro.o LD drivers/media/common/v4l2-tpg/built-in.o LD drivers/media/rc/built-in.o CC lib/fdt_rw.o CC lib/fdt_strerror.o CC lib/fdt_sw.o CC lib/fdt_wip.o LD drivers/media/common/built-in.o CC lib/flex_proportions.o CC lib/idr.o LD drivers/video/fbdev/built-in.o CC lib/int_sqrt.o CC lib/ioremap.o CC lib/irq_regs.o LD drivers/video/built-in.o CC lib/is_single_threaded.o CC lib/klist.o CC lib/kobject.o CC lib/kobject_uevent.o CC lib/md5.o LD drivers/media/usb/b2c2/built-in.o CC lib/nmi_backtrace.o LD drivers/media/usb/dvb-usb/built-in.o LD drivers/media/pci/b2c2/built-in.o CC lib/nodemask.o LD drivers/media/usb/dvb-usb-v2/built-in.o LD drivers/media/usb/siano/built-in.o LD drivers/media/pci/ddbridge/built-in.o LD drivers/media/usb/s2255/built-in.o CC lib/plist.o LD drivers/media/usb/stkwebcam/built-in.o CC lib/radix-tree.o LD drivers/media/usb/ttusb-dec/built-in.o LD drivers/media/pci/dm1105/built-in.o LD drivers/media/usb/ttusb-budget/built-in.o CC lib/ratelimit.o LD drivers/media/pci/ngene/built-in.o CC lib/rbtree.o LD drivers/media/pci/pluto2/built-in.o CC lib/seq_buf.o LD drivers/media/pci/netup_unidvb/built-in.o CC lib/sha1.o LD drivers/media/pci/mantis/built-in.o LD drivers/media/usb/zr364xx/built-in.o LD drivers/media/pci/saa7146/built-in.o CC lib/show_mem.o LD drivers/media/pci/pt3/built-in.o CC lib/string.o LD drivers/media/pci/pt1/built-in.o LD drivers/media/usb/built-in.o CC lib/timerqueue.o LD drivers/media/pci/smipcie/built-in.o CC lib/vsprintf.o LD drivers/media/pci/ttpci/built-in.o GEN lib/crc32table.h LD drivers/media/pci/built-in.o CC lib/crc32.o LD drivers/media/built-in.o LD kernel/irq/built-in.o LD drivers/char/built-in.o LD drivers/of/built-in.o LD kernel/sched/built-in.o LD drivers/base/built-in.o /home/kisskb/slave/src/mm/page_alloc.c: In function 'free_area_init_node': /home/kisskb/slave/src/mm/page_alloc.c:5798:17: warning: 'zone_start_pfn' may be used uninitialized in this function [-Wuninitialized] LD lib/built-in.o LD kernel/time/built-in.o LD kernel/built-in.o LD mm/built-in.o LD fs/built-in.o AR lib/lib.a LD drivers/pci/built-in.o LD drivers/built-in.o LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD vmlinux SYSMAP System.map /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-strip -s -R .comment vmlinux -o arch/powerpc/boot/vmlinux.strip make[1]: Leaving directory `/home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc' Completed OK # rm -rf /home/kisskb/slave/build/powerpc-next_powerpc-allnoconfig_powerpc # Build took: 0:00:09.883300