Re: [meta-intel] [PATCH 0/2] SRCREV update for linux-yocto recipes
Merged, thanks, Cal. Tom On 06/16/2016 05:02 PM, California Sullivan wrote: > Hi Tom, > > Here's another SRCREV update. In 4.4 we just grab some stable updates. > In 4.1 we get stable updates and several backports for BXT/APL support. > > In my smoke tests I found no new errors or warnings. > > As usual this update is also available at: > > git://git.yoctoproject.org/meta-intel-contrib -b clsulliv/master-test > > Thanks, > Cal Sullivan > > California Sullivan (2): > linux-yocto/4.4: Bump SRCREVs from Linux 4.4.12 to 4.4.13 > linux-yocto/4.1: Bump SRCREVs to Linux 4.1.26 and add BXT/APL > backports > > common/recipes-kernel/linux/linux-yocto-rt_4.1.bbappend | 6 +++--- > common/recipes-kernel/linux/linux-yocto-rt_4.4.bbappend | 6 +++--- > common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend | 6 +++--- > common/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend | 6 +++--- > common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 6 +++--- > common/recipes-kernel/linux/linux-yocto_4.4.bbappend | 6 +++--- > 6 files changed, 18 insertions(+), 18 deletions(-) > -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
[meta-intel] [PATCH 2/2] linux-yocto/4.1: Bump SRCREVs to Linux 4.1.26 and add BXT/APL backports
>From linux-yocto-4.1: 9ba8c36 thermal/powerclamp: remove cpu whitelist 2971561 thermal/powerclamp: add cpu id for Skylake u/y cec457d thermal/powerclamp: add cpu id for denlow platform fc30ea2 thermal/powerclamp: add cpu id for skylake h/s 3eea183 intel powerclamp: support Knights Landing c9b497b x86/tsc: Always Running Timer (ART) correlated clocksource 5ea938a time: Add driver cross timestamp interface for higher precision time synchronization 6c92ae5 time: Add timekeeping snapshot code capturing system time and counter 6c85a97 timekeeping: Provide internal function __ktime_get_real_seconds 016a423 time: Add cycles to nanoseconds translation 062e776 ntp/pps: replace getnstime_raw_and_real with 64-bit version 49719d3 intel_idle: add BXT support 6eee24f intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled 62b5100 intel_idle: Support for Intel Xeon Phi Processor x200 Product Family f2d2aaf intel_idle: Skylake Client Support - updated 461b31f intel_idle: Skylake Client Support f1069e0 Merge tag 'v4.1.26' into standard/base 5be8055 Merge tag 'v4.1.25' into standard/base b4acdc6 serial: 8250_dw: Do not use readl/writel before checking port iotype c439afb serial: 8250_dw: Add support for big-endian MMIO accesses 9227cc2 serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr() 9d608cf serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag db4e65b serial: 8250_dw: cleanup dw8250_setup_port f488548 serial: 8250_dw: cleanup dw8250_idma_filter 0912b12 serial: 8250_dw: rename and comment the fallback dma filter 3436bb7 serial: 8250_dw: proper support for UARTs without busy functionality fac8ac4 serial: 8250_dw: add dw8250_quirks function 0bba963 serial: 8250_dw: only setup the port from one place d01850e serial: 8250_dw: hook the DMA in one place 585f11e serial: 8250_dw: adapt to unified device property interface df44bc6 serial: 8250_dw: add separate pointer for the uart_port to dw8250_probe 84e9183 serial: 8250_dw: allow lower reference frequencies 70ce481 serial:8250_dw: do not alter CTS and DCTS since AFE is enabled 7399689 serial: 8250: Auto CTS control by HW if AFE enabled 074cdf8 serial: 8250_dw: support ACPI platforms with integrated DMA engine 0bb15fc serial: 8250_dma: no need to sync RX buffer 45082f4 dmaengine: idma: rename to INTEL_IDMA64 1f4c5fb mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers 6963cc8 mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers aab5881 mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers c51e080 mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL fbbad47 mmc: sdhci-pci: Fix card detect race for Intel BXT/APL ce6717f mmc: sdhci: Allow override of get_cd() called from sdhci_request() abceeaf mmc: sdhci: Allow override of mmc host operations 279c8dd mmc: sdhci: make max-frequency property in device tree work 6e9d3ad mtd: spi-nor: add support for w25q128fw 8881728 Linux 4.1.26 3b14279 hpfs: implement the show_options method 9df75cf affs: fix remount failure when there are no options changed ffd9e8e hpfs: fix remount failure when there are no options changed b289a9d Input: pwm-beeper - fix - scheduling while atomic 25fda3a dma-debug: avoid spinlock recursion when disabling dma-debug 88fe300 UBI: Fix static volume checks when Fastmap is used 22ada7c xen/events: Don't move disabled irqs 1cf63e8 xen/x86: actually allocate legacy interrupts on PV guests 448691a wait/ptrace: assume __WALL if the child is traced 9a9586d sunrpc: fix stripping of padded MIC tokens bd41a6c mmc: sdhci-acpi: Remove MMC_CAP_BUS_WIDTH_TEST for Intel controllers a0b7f56 mmc: longer timeout for long read time quirk 9b78827 drm/i915: Don't leave old junk in ilk active watermarks on readout a6fccea PM / sleep: Handle failures in device_suspend_late() consistently 8a1a3f7 Input: uinput - handle compat ioctl for UI_SET_PHYS fb4e7a0 kvm: arm64: Fix EC field in inject_abt64 0d4a4eb ALSA: hda - Fix headphone noise on Dell XPS 13 9360 71f788d ALSA: hda - Fix headphone mic input on a few Dell ALC293 machines f1f125d cifs: Create dedicated keyring for spnego operations ded044f ASoC: ak4642: Enable cache usage to fix crashes on resume 141afa3 ASoC: ak4642: Fix up max_register setting 4b126ba xfs: skip stale inodes in xfs_iflush_cluster 3eeb7e7 xfs: fix inode validity check in xfs_iflush_cluster 6659d79 xfs: xfs_iflush_cluster fails to abort on error c504b77 cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter() d3bbf7b cpuidle/coupled: Remove redundant 'dev' argument of cpuidle_state_is_coupled() cde02e3 remove directory incorrectly tries to set delete on close on non-empty directories b604454 fs/cifs: correctly to anonymous authentication for the NTLM(v2) authentication 6842cd2 fs/cifs: correctly to anonymous authentication for the NTLM(v1) authentication 8f83c44 fs/cifs: correctly to anonymous authentication for the LANMAN authentication f39b179 fs/cifs: correctly to anonymous authentication via NTLMSSP 9a2257f
[meta-intel] [PATCH 1/2] linux-yocto/4.4: Bump SRCREVs from Linux 4.4.12 to 4.4.13
>From linux-yocto-4.4: bc64c81 Merge tag 'v4.4.13' into standard/base ba760d4 Linux 4.4.13 55f6ddf xfs: handle dquot buffer readahead in log recovery correctly 063b0dc xfs: print name of verifier if it fails 21cfd6c xfs: skip stale inodes in xfs_iflush_cluster baa7a74 xfs: fix inode validity check in xfs_iflush_cluster 7dc8f21 xfs: xfs_iflush_cluster fails to abort on error d7d92ca xfs: Don't wrap growfs AGFL indexes ec86bfe xfs: disallow rw remount on fs with unknown ro-compat features 8edc7f0 gcov: disable tree-loop-im to reduce stack usage 4b2fb17 scripts/package/Makefile: rpmbuild add support of RPMOPTS 7d0b494 dma-debug: avoid spinlock recursion when disabling dma-debug 98c2845 PM / sleep: Handle failures in device_suspend_late() consistently 8b8de1c ext4: silence UBSAN in ext4_mb_init() 12aa7d9 ext4: address UBSAN warning in mb_find_order_for_block() b2601bb ext4: fix oops on corrupted filesystem b2044c3 ext4: clean up error handling when orphan list is corrupted c5ce389 ext4: fix hang when processing corrupted orphaned inode list 137bd12 drm/imx: Match imx-ipuv3-crtc components using device node in platform data d7d5e9b drm/i915: Don't leave old junk in ilk active watermarks on readout 8453324b7 drm/atomic: Verify connector->funcs != NULL when clearing states c5b424e drm/fb_helper: Fix references to dev->mode_config.num_connector c021700 drm/i915/fbdev: Fix num_connector references in intel_fb_initial_config() 4630a1d drm/amdgpu: Fix hdmi deep color support. bf9be90 drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh 55d851a drm/vmwgfx: Fix order of operation c170833 drm/vmwgfx: use vmw_cmd_dx_cid_check for query commands. 267706b drm/vmwgfx: Enable SVGA_3D_CMD_DX_SET_PREDICATION 50dd02e drm/gma500: Fix possible out of bounds read 6c1e441 sunrpc: fix stripping of padded MIC tokens aa1cc4d xen: use same main loop for counting and remapping pages 6232876e xen/events: Don't move disabled irqs 0118086 powerpc/eeh: Restore initial state in eeh_pe_reset_and_recover() af64f74 Revert "powerpc/eeh: Fix crash in eeh_add_device_early() on Cell" d140d14 powerpc/eeh: Don't report error in eeh_pe_reset_and_recover() 5d3bb5e powerpc/book3s64: Fix branching to OOL handlers in relocatable kernel fa6d0ba pipe: limit the per-user amount of pages allocated in pipes 5015641 QE-UART: add "fsl,t1040-ucc-uart" to of_device_id 0eea2e2 wait/ptrace: assume __WALL if the child is traced 18875bf mm: use phys_addr_t for reserve_bootmem_region() arguments 08c6a55 media: v4l2-compat-ioctl32: fix missing reserved field copy in put_v4l2_create32 a87f69d PCI: Disable all BAR sizing for devices with non-compliant BARs f4b0dd3 pinctrl: exynos5440: Use off-stack memory for pinctrl_gpio_range b2cfbf4 clk: bcm2835: divider value has to be 1 or more 3232e7c clk: bcm2835: pll_off should only update CM_PLL_ANARST 4ee8793 clk: at91: fix check of clk_register() returned value d529842 clk: bcm2835: Fix PLL poweron dd19176 cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter() 3b23217 cpuidle: Indicate when a device has been unregistered a1e15f5 PM / Runtime: Fix error path in pm_runtime_force_resume() 4072a4b mfd: intel_soc_pmic_core: Terminate panel control GPIO lookup table correctly d306f75 mfd: intel-lpss: Save register context on suspend b856206 hwmon: (ads7828) Enable internal reference 9a11bd2 aacraid: Fix for KDUMP driver hang 0f0a9a18 aacraid: Fix for aac_command_thread hang 9a5ca98 aacraid: Relinquish CPU during timeout wait 04a6bcc rtlwifi: pci: use dev_kfree_skb_irq instead of kfree_skb in rtl_pci_reset_trx_ring d896d80 rtlwifi: Fix logic error in enter/exit power-save mode ad4d530 rtlwifi: btcoexist: Implement antenna selection 5618e88 rtlwifi: rtl8723be: Add antenna select module parameter c56cebb hwrng: exynos - Fix unbalanced PM runtime put on timeout error path ab1619f ath5k: Change led pin configuration for compaq c700 laptop dcd9fc9 ath10k: fix kernel panic, move arvifs list head init before htt init 117d1b4 ath10k: fix rx_channel during hw reconfigure 86834a9 ath10k: fix firmware assert in monitor mode b89721d ath10k: fix debugfs pktlog_filter write 354c6bc ath9k: Fix LED polarity for some Mini PCI AR9220 MB92 cards. cc2e71f ath9k: Add a module parameter to invert LED polarity. 6706647 ARM: dts: imx35: restore existing used clock enumeration 59bc5be ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on exynos4210-trats 5d03c6e ARM: dts: at91: fix typo in sama5d2 PIN_PD24 description 90756ca ARM: mvebu: fix GPIO config on the Linksys boards 854d1c2 Input: uinput - handle compat ioctl for UI_SET_PHYS 8f1b5ed ASoC: ak4642: Enable cache usage to fix crashes on resume 91bb3cf affs: fix remount failure when there are no options changed 71f5e9b MIPS: VDSO: Build with `-fno-strict-aliasing' 7b74228 MIPS: lib: Mark intrinsics notrace bfcc040 MIPS: Build microMIPS VDSO for microMIPS kernels 1985bf8 MIPS: Fix sigreturn via VDSO on microMIPS kernel 13defed MIPS: ptrace: Prevent writes to read-only FCSR
[meta-intel] [PATCH 0/2] SRCREV update for linux-yocto recipes
Hi Tom, Here's another SRCREV update. In 4.4 we just grab some stable updates. In 4.1 we get stable updates and several backports for BXT/APL support. In my smoke tests I found no new errors or warnings. As usual this update is also available at: git://git.yoctoproject.org/meta-intel-contrib -b clsulliv/master-test Thanks, Cal Sullivan California Sullivan (2): linux-yocto/4.4: Bump SRCREVs from Linux 4.4.12 to 4.4.13 linux-yocto/4.1: Bump SRCREVs to Linux 4.1.26 and add BXT/APL backports common/recipes-kernel/linux/linux-yocto-rt_4.1.bbappend | 6 +++--- common/recipes-kernel/linux/linux-yocto-rt_4.4.bbappend | 6 +++--- common/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend | 6 +++--- common/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend | 6 +++--- common/recipes-kernel/linux/linux-yocto_4.1.bbappend | 6 +++--- common/recipes-kernel/linux/linux-yocto_4.4.bbappend | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) -- 2.5.5 -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] [PATCH V3 1/1] formfactor: detect USB HID keyboard and touch screen
On Mon, 2016-06-13 at 10:00 -0700, Jianxun Zhang wrote: > > > > On Jun 13, 2016, at 8:25 AM, Saul Woldwrote: > > > > On Fri, 2016-06-10 at 13:17 -0700, Jianxun Zhang wrote: > > > > > > The new machconfig probes USB keyboard and touch screen, and > > > then sets HAVE_* variables according to detection. > > > > > > Detectable devices: > > > USB HID keyboards (Generic Desktop) > > > USB HID touch screens (Digitizer) > > > > > > Note: > > > The intention is to have a way to provide initial formfactor > > > settings in a boot procedure. That means supported keyboard > > > and touch screen must be connected before machconfig runs. > > > Any new connection or disconnection won't be detected until > > > machconfig is executed again. > > > > > > Limitation: > > > There could be some USB HID devices presents more than one > > > usage in a single descriptor. We will add support once such > > > device emerges. > > > > > > Some platforms may have _virtual_ devices provided by BIOS. > > > It will cause false detection when they are presented as > > > types we supported. We can add black list logic when it > > > becomes a big concern. > > > > > > Fixes [YOCTO #9205] > > > > > > Signed-off-by: Jianxun Zhang > > > --- > > > Tom & Saul, > > > V3 puts entire logic in machconfig into a new if block, so > > > that detection will be skipped when any error occurs at the > > > first step. Same basic test is done as before. > > > > > > Let me know if this version makes more sense. > > > > > > Thanks > > > > > > .../recipes-bsp/formfactor/formfactor/machconfig | 37 > > > ++ > > > .../recipes-bsp/formfactor/formfactor_0.0.bbappend | 1 + > > > 2 files changed, 38 insertions(+) > > > create mode 100644 common/recipes- > > > bsp/formfactor/formfactor/machconfig > > > create mode 100644 common/recipes- > > > bsp/formfactor/formfactor_0.0.bbappend > > > > > > diff --git a/common/recipes-bsp/formfactor/formfactor/machconfig > > > b/common/recipes-bsp/formfactor/formfactor/machconfig > > > new file mode 100644 > > > index 000..22d3112 > > > --- /dev/null > > > +++ b/common/recipes-bsp/formfactor/formfactor/machconfig > > > @@ -0,0 +1,37 @@ > > > +# Note: super user permission is required to run usbhid-dump > > > +# successfully. > > > + > > > +# HEX keys are according to USB HID spec and USB HID usage table > > > +# We could add more keys as needed in the future. > > > + > > > +# It may not be very accurate. Here we only look for first two > > > lines > > > +# of a descriptor section. Example: > > > +# > > > +# 001:003:000:DESCRIPTOR 1460501386.337809 > > > +# 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 03 > > > +# 15 00 25 01 95 03 75 01 81 02 .. .. .. .. .. .. > > > +# .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. > > > +# > > > +# By doing so we elimiate false matches when HEX keys are in the > > > lines > > > +# in the middle of whole descriptor section. > > > + > > > +if USBHID_DUMP_OUTPUT=$(usbhid-dump -e descriptor > > > 2>/dev/null|grep > > > -A1 DESCRIPTOR); then > > Jianxun, > > > > I think you missed the intent of the if test, while this could work > > it's not clear from this line why the "if" succeeds or fails. Both > > Tom > > and I suggested checking for the existence of usbhid-dump first, > > that > > way it's clear why the rest of the code is not used. > > > Saul, > I understand you want to check usbhid-dump’ s existence first, but > then I realize I should skip whole detection for any other errors too > (a bigger issue in V1&2). That’s why I combined errors into single > command in my mind. The logic (well, implicitly) covers that error > case already so I don’t need another check. What we missed when cmd > doesn’t exist, is the error code which I thought we don’t really > care. > > I will revise it with a check of cmd existence first, just let you > know my thoughts behind this V3. > Jianxun, While I understand the logic, I think it's would be cleaner to have the actual test separated out that way it's obvious why the script is bailing out. We look forward to v4. Thanks Sau! > Thanks > > > > > Thanks > > Sau! > > > > > > > > +# checker for generic USB HID keyboard > > > +USBHID_KBD_CMD="grep -E '^ 05 01 09 06'" > > > + > > > +# checker for touch screen > > > +USBHID_TS_CMD="grep -E '^ 05 0D 09 04'" > > > + > > > +if echo "$USBHID_DUMP_OUTPUT"|eval $USBHID_TS_CMD > > > &>/dev/null; > > > then > > > + HAVE_TOUCHSCREEN=1 > > > +fi > > > + > > > +if echo "$USBHID_DUMP_OUTPUT"|eval $USBHID_KBD_CMD > > > &>/dev/null; > > > then > > > + HAVE_KEYBOARD=1 > > > +else > > > + # config script in OE will set HAVE_KEYBOARD=1 > > > + # if we don't set any value. We have to explicitly > > > + # tell it when keyboard is not detected. > > > + HAVE_KEYBOARD=0 > > > +fi > > > +fi > > > diff --git a/common/recipes- > > > bsp/formfactor/formfactor_0.0.bbappend > > >
Re: [meta-intel] Atom E3800 USB3 Device Problem
On 06/16/2016 15:22, Yong, Jonathan wrote: On 06/14/2016 17:30, Anders Christensen wrote: Hi, I’m testing USB3 device support on an Atom E3800 based system. The system is running Yocto including the Atom E3800 BSP (valleyisland-4.0-jethro-2.0). I have the USB3 PCI device controller appearing in the list of PCI devices: 00:16.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series OTG USB Device (rev 11) So the controller is recognized by Yocto and the dwc3 driver also loads without any errors. Hi Anders, We aren't able to reproduce it on the Backersport platform, let us know more about your setup, such as BIOS version in use, BIOS configuration, system manufacturing date, stepping information etc. In the meantime, please also try the USB3 device support on the latest Krogoth BSP (https://yoctoproject.org/downloads/bsps/krogoth21/intel-corei7-64) on your setup, it contains a newer kernel, though it is not specifically meant for E3800. Additionally, please dump the output of the registers if you see the error again: # mount -t debugfs none /sys/kernel/debug # cat /sys/kernel/debug/dwc3.0.auto/regdump This should be done after the error appears but before the removing the USB cable. -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel
Re: [meta-intel] Atom E3800 USB3 Device Problem
On 06/14/2016 17:30, Anders Christensen wrote: Hi, I’m testing USB3 device support on an Atom E3800 based system. The system is running Yocto including the Atom E3800 BSP (valleyisland-4.0-jethro-2.0). I have the USB3 PCI device controller appearing in the list of PCI devices: 00:16.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series OTG USB Device (rev 11) So the controller is recognized by Yocto and the dwc3 driver also loads without any errors. Hi Anders, We aren't able to reproduce it on the Backersport platform, let us know more about your setup, such as BIOS version in use, BIOS configuration, system manufacturing date, stepping information etc. In the meantime, please also try the USB3 device support on the latest Krogoth BSP (https://yoctoproject.org/downloads/bsps/krogoth21/intel-corei7-64) on your setup, it contains a newer kernel, though it is not specifically meant for E3800. -- ___ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel