Compare commits

...

42 Commits

Author SHA1 Message Date
Naveen Saini
c200851435 linux-intel-rt/4.14: update to v4.14.134
Updates rt patchset to -rt63

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
9d8e85bec0 linux-intel_4.14: update to v4.14.138
Includes below CVE fixed:
CVE-2019-14283
CVE-2019-14284

tag 'v4.14.138': (34 commits)
Linux 4.14.138
spi: bcm2835: Fix 3-wire mode if DMA is enabled
cgroup: Fix css_task_iter_advance_css_set() cset skip condition
cgroup: css_task_iter_skip()'d iterators must be advanced before accessed
cgroup: Include dying leaders with live threads in PROCS iterations
cgroup: Implement css_task_iter_skip()
cgroup: Call cgroup_release() before __exit_signal()
bnx2x: Disable multi-cos feature.
mvpp2: refactor MTU change code
tun: mark small packets as owned by the tap sock
net/mlx5e: Prevent encap flow counter update async to user query
compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
tipc: compat: allow tipc commands without arguments
NFC: nfcmrvl: fix gpio-handling regression
net: sched: Fix a possible null-pointer dereference in dequeue_func()
net: phylink: Fix flow control for fixed-link
net/mlx5: Use reversed order when unregister devices
net: fix ifindex collision during namespace removal
net: bridge: mcast: don't delete permanent entries when fast leave is enabled
net: bridge: delete local fdb on device init failure
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
f6fa560e67 linux-intel-rt/4.19: update to v4.19.59
Updates -rt patchset to -rt24.

Also updates the meta revision to include changes:

960be421 intel-common-drivers: enable RANDOM_TRUST_CPU for Intel BSPs
bc74ed4e features: add support for RANDOM_TRUST_CPU
a52c1d35 security.cfg: unset HARDENED_USERCOPY_FALLBACK
772b96e0 kver: bump to v4.19.57
4c8cf83d scsi-debug: include core scsi support for standalone inclusion
3017e92f features/security: Add more kernel hardening fragments

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
bca4efb799 linux-intel/4.19: update to v4.19.62
4.19.62 stable release

This rlease has CVEs fixed:
CVE-2019-14283
CVE-2019-14284
CVE-2019-13631

Linux 4.19.62
platform/x86: SEP BUG fix for lbrcollection
platform/x86: SEP bug fix, use of undeclared var
drm/i915/cfl: Add a new CFL PCI ID.
net: sched: verify that q!=NULL before setting q->flags
mm: vmscan: scan anonymous pages on file refaults
KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
KVM: nVMX: do not use dangling shadow VMCS after guest reset
ext4: allow directory holes
ext4: use jbd2_inode dirty range scoping
jbd2: introduce jbd2_inode dirty range scoping
mm: add filemap_fdatawait_range_keep_errors()
ext4: enforce the immutable flag on open files
ext4: don't allow any modifications to an immutable file
perf/core: Fix race between close() and fork()
perf/core: Fix exclusive events' grouping
MIPS: lb60: Fix pin mappings
gpio: davinci: silence error prints in case of EPROBE_DEFER
dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
dma-buf: balance refcount inbalance
net: bridge: stp: don't cache eth dest pointer before skb pull
net: bridge: don't cache ether dest pointer on input
net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Anuj Mittal
33c3c4bd53 linux-intel/4.19: update to v4.19.57
Also updates the meta revision to include changes:

960be421 intel-common-drivers: enable RANDOM_TRUST_CPU for Intel BSPs
bc74ed4e features: add support for RANDOM_TRUST_CPU
a52c1d35 security.cfg: unset HARDENED_USERCOPY_FALLBACK
772b96e0 kver: bump to v4.19.57
4c8cf83d scsi-debug: include core scsi support for standalone inclusion
3017e92f features/security: Add more kernel hardening fragments

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
acfcc03add linux-intel_4.14: update to v4.14.133
Includes below CVE fixed:
CVE-2019-13272

tag 'v4.14.133': (56 commits)
Linux 4.14.133
stable/btrfs: fix backport bug in d819d97ea025 ("btrfs: honor path->skip_locking in backref code")
dmaengine: imx-sdma: remove BD_INTR for channel0
MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
MIPS: Fix bounds check virt_addr_valid
svcrdma: Ignore source port when computing DRC hash
KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
KVM: x86: degrade WARN to pr_warn_ratelimited
ARC: handle gcc generated __builtin_trap for older compiler
tty: rocket: fix incorrect forward declaration of 'rp_init()'
vhost: scsi: add weight support
vhost: vsock: add weight support
vhost_net: fix possible infinite loop
vhost: introduce vhost_exceeds_weight()
vhost_net: introduce vhost_exceeds_weight()
vhost_net: use packet weight for rx handler, too
vhost-net: set packet weight of tx polling to 2 * vq size
btrfs: Ensure replaced device doesn't have pending chunk allocation
mm/vmscan.c: prevent useless kswapd loops
ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
1e16b50d93 linux-intel-rt/4.19: update to v4.19.50
Updates -rt patchset to -rt22.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
cb8b809687 linux-intel-rt/4.14: update to v4.14.126
Updates rt patchset to -rt62

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
bb016e9c7f linux-intel-rt/4.14: update to v4.14.115
Updates rt patchset to -rt59

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
170b76826c linux-intel/4.14: update to v4.14.127
This release includes CVEs fixed:
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
89d1855cb9 linux-intel_4.14: update to v4.14.123
Linux 4.14.123

tracker/lts2017/base:
media: intel-ipu4: remove unused function and other build warnings
media: intel-ipu4: ox03a10: Modify I2C bus ID and GPIO pin number
media: intel-ipu4: ti960: split ti953 code
media: intel-ipu4: ox03a10: add ficosa module
media: intel-ipu4: pdata change for sensors connected via TI960
media: intel-ipu4: pdata for OV495 multiport
isys & psys package lib2600b0 for commit-id 5efdf9c
media: intel-ipu4: Fixing static code check issue
media: intel-ipu4: ti960: ov495 frame sync setting
x86/cpu: fix FAM6_ATOM naming
x86/speculation/rdt_pseudo_lock: cpu name change

Stable Linux tag v4.14.123 : (527 commits)
NFS: Fix a double unlock from nfs_match,get_client
vfio-ccw: Prevent quiesce function going into an infinite loop
drm: Wake up next in drm_read() chain if we are forced to putback the event
drm/drv: Hold ref on parent device during drm_device lifetime
ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
spi: Fix zero length xfer bug
spi: rspi: Fix sequencer reset during initialization
spi : spi-topcliff-pch: Fix to handle empty DMA buffers
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
media: saa7146: avoid high stack usage with clang
scsi: lpfc: Fix fc4type information for FDMI
scsi: lpfc: Fix FDMI manufacturer attribute value
media: vimc: zero the media_device on probe
media: go7007: avoid clang frame overflow warning with KASAN
media: vimc: stream: fix thread state before sleep
media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
thunderbolt: Fix to check for kmemdup failure
hwrng: omap - Set default quality
dmaengine: tegra210-adma: use devm_clk_*() helpers
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Anuj Mittal
6111cc9890 linux-intel-rt/4.19: update to v4.19.37
Updates -rt patchset to -rt19.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
cc8bf1284f linux-intel/4.19: update to v4.19.55
This is the 4.19.55 stable release and include CVEs fixed:
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

tag 'v4.19.55': (264 commits)
Linux 4.19.55
tcp: refine memory limit test in tcp_fragment()
Linux 4.19.54
Abort file_remove_privs() for non-reg. files
coredump: fix race condition between collapse_huge_page() and core dumping
ocfs2: fix error path kobject memory leak
mlxsw: spectrum: Prevent force of 56G
scsi: libsas: delete sas port if expander discover failed
scsi: scsi_dh_alua: Fix possible null-ptr-deref
scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
net: phy: dp83867: Set up RGMII TX delay
net: phylink: ensure consistent phy interface mode
net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
arm64: use the correct function type for __arm64_sys_ni_syscall
arm64: use the correct function type in SYSCALL_DEFINE0
arm64: fix syscall_fn_t type
KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
xenbus: Avoid deadlock during suspend due to open transactions
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Anuj Mittal
0cf03ba0f9 linux-intel/4.19: update to v4.19.50
Also includes a fix to silence -Wmissing-attributes warnings triggered
for all the init/cleanup_module aliases in the kernel with gcc9.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-27 17:54:11 +08:00
Naveen Saini
278f0b5fa2 linux-intel/4.9: update to v4.9.183
This release include below CVEs fixed:
CVE-2019-11477
CVE-2019-11478
CVE-2019-11479

Stable Linux tag v4.9.183 : (118 commits)
Linux 4.9.183
Abort file_remove_privs() for non-reg. files
mlxsw: spectrum: Prevent force of 56G
scsi: libsas: delete sas port if expander discover failed
scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
ia64: fix build errors by exporting paddr_to_nid()
perf record: Fix s390 missing module symbol and warning for non-root users
perf data: Fix 'strncat may truncate' build failure with recent gcc
configfs: Fix use-after-free when accessing sd->s_dentry
i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
gpio: fix gpio-adp5588 build errors
perf/ring_buffer: Add ordering to rb->nest increment
perf/ring_buffer: Fix exposing a temporarily decreased data_head
x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
mISDN: make sure device name is NUL terminated
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-08 07:24:33 +08:00
Naveen Saini
b69b3da2fd linux-intel-rt/4.9: update to v4.9.146
Also the preempt-rt kernel updates to the -rt125 patchset.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-25 08:37:56 +08:00
Naveen Saini
5d32537749 linux-intel/4.9: update to v4.9.180
Stable Linux tag v4.9.180 : (386 commits)
Linux 4.9.180
drm: Wake up next in drm_read() chain if we are forced to putback the event
ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
spi: Fix zero length xfer bug
spi: rspi: Fix sequencer reset during initialization
spi : spi-topcliff-pch: Fix to handle empty DMA buffers
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
media: saa7146: avoid high stack usage with clang
scsi: lpfc: Fix FDMI manufacturer attribute value
media: go7007: avoid clang frame overflow warning with KASAN
media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
dmaengine: tegra210-adma: use devm_clk_*() helpers
scsi: qla4xxx: avoid freeing unallocated dma memory
usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
rcuperf: Fix cleanup path for invalid perf_type strings
rcutorture: Fix cleanup path for invalid torture_type strings
x86/mce: Fix machine_check_poll() tests for error types
tty: ipwireless: fix missing checks for ioremap
virtio_console: initialize vtermno value for ports
media: wl128x: prevent two potential buffer overflows
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-25 08:37:47 +08:00
Anuj Mittal
3c45215fe0 intel-microcode: upgrade to 20190514a
Include the microcode from caveats as well since all kernels supported
have those patches. Also point to the new git repo and corrected
license.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
57c6c178a1 linux-intel_4.19: update to v4.19.40
This update has CVEs fixed
CVE-2019-5489
CVE-2018-20669

Merge "[keystore] Change keystore applets store path" into base
Linux 4.19.40
ath10k: Drop WARN_ON()s that always trigger during system resume
ALSA: line6: use dynamic buffers
KVM: nVMX: Fix size checks in vmx_set_nested_state
KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
net/tls: fix copy to fragments in reencrypt
net/tls: don't copy negative amounts of data in reencrypt
bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
bnxt_en: Improve multicast address setup logic.
packet: validate msg_namelen in send directly
selftests: fib_rule_tests: print the result and return 1 if any tests failed
sctp: avoid running the sctp state machine recursively
rxrpc: Fix net namespace cleanup
net/tls: avoid NULL pointer deref on nskb->sk in fallback
net: phy: marvell: Fix buffer overrun with stats counters
net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
l2ip: fix possible use-after-free
ipv6: invert flowlabel sharing check in process and user mode
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
71827a8f86 linux-intel-rt/4.19: update meta SRCREVs to v4.19.31
Updates rt patchset to -rt18.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
3640680b57 linux-intel-rt/4.14: update to v4.14.106
Updates rt patchset to -rt56

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
65c5d2da8a linux-intel/4.19: update to v4.19.34
Merge Stable Linux tag 'v4.19.34' into lts2018/base
Stable Linux tag 'v4.19.34': (322 commits)
Linux 4.19.34
kprobes/x86: Blacklist non-attachable interrupt functions
bcache: fix potential div-zero error of writeback_rate_p_term_inverse
ACPI / video: Extend chassis-type detection with a "Lunch Box" check
net: stmmac: Avoid one more sometimes uninitialized Clang warning
drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
dmaengine: tegra: avoid overflow of byte tracking
clk: rockchip: fix frac settings of GPLL clock for rk3328
clk: meson: clean-up clock registration
drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
x86/build: Mark per-CPU symbols as absolute explicitly for LLD
wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
brcmfmac: Use firmware_request_nowarn for the clm_blob
selinux: do not override context on context mounts
x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
drm/nouveau: Stop using drm_crtc_force_disable
drm: Auto-set allow_fb_modifiers when given modifiers at plane init
pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
233bce7978 linux-intel_4.14: update to v4.14.110
Stable Linux tag v4.14.110 : (368 commits)
Linux 4.14.110
vfio: ccw: only free cp on final interrupt
Revert "USB: core: only clean up what we allocated"
KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
KVM: Reject device ioctls from processes other than the VM's creator
x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
perf intel-pt: Fix TSC slip
mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
usb: cdc-acm: fix race during wakeup blocking TX traffic
xhci: Fix port resume done detection for SS ports with LPM enabled
usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
usb: common: Consider only available nodes for dr_mode
USB: gadget: f_hid: fix deadlock in f_hidg_write()
usb: mtu3: fix EXTCON dependency
phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
gpio: exar: add a check for the return value of ida_simple_get fails
drm/vgem: fix use-after-free when drm_gem_handle_create() fails
fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
e80d413f04 linux-intel/4.19: update to v4.19.28
v4.19.28 have below fixes:

INTERNAL drm/i915: Additional alpha blending support
drm/i915/gvt: handles error when ioreq attach client fails
kernel/vhm:Add some debugs to print the client id/name for create/destroy ioreq_client
media: intel-ipu4: crlmodule-lite: adv7481_cvbs: Add PAL size
drm/i915: add lock to avoid racing of pvmmio operations for GVT-g guest
keystore: add iv_size restriction for dal-keystore
TSC: Print current tsc value when detected
Stable Linux tag 'v4.19.28': (69 commits)
Linux 4.19.28
bpf: fix sanitation rewrite in case of non-pointers
scsi: core: reset host byte in DID_NEXUS_FAILURE case
exec: Fix mem leak in kernel_read_file
Bluetooth: Fix locking in bt_accept_enqueue() for BH context
Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
selftests: firmware: fix verify_reqs() return value
USB: serial: cp210x: fix GPIO in autosuspend
gnss: sirf: fix premature wakeup interrupt enable
xtensa: fix get_wchan
aio: Fix locking in aio_poll()
MIPS: irq: Allocate accurate order pages for irq stack
applicom: Fix potential Spectre v1 vulnerabilities
usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
tracing: Fix event filters and triggers to handle negative numbers
x86/boot/compressed/64: Do not read legacy ROM on EFI system
x86/CPU/AMD: Set the CPB bit unconditionally on F17h
net: sched: act_tunnel_key: fix NULL pointer dereference during init
net/sched: act_skbedit: fix refcount leak when replace fails
net/sched: act_ipt: fix refcount leak when replace fails
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
d2e194d756 linux-intel_4.14: update to v4.14.101
This update brings in changes from v4.14.93 up to v4.14.101

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
98f92faedd linux-intel/4.19: update to v4.19.23
Stable Linux tag 'v4.19.23': (355 commits)
Linux 4.19.23
Revert "exec: load_script: don't blindly truncate shebang string"
Linux 4.19.22
svcrdma: Remove max_sge check at connect time
svcrdma: Reduce max_send_sges
batman-adv: Force mac header to start of data on xmit
batman-adv: Avoid WARN on net_device without parent in netns
xfrm: refine validation of template and selector families
libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive()
Revert "ext4: use ext4_write_inode() when fsyncing w/o a journal"
xfrm: Make set-mark default behavior backward compatible
SUNRPC: Always drop the XPRT_LOCK on XPRT_CLOSE_WAIT
drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user
drm/vmwgfx: Fix setting of dma masks
drm/i915: always return something on DDI clock selection
drm/amd/powerplay: Fix missing break in switch
drm/modes: Prevent division by zero htotal
mac80211: ensure that mgmt tx skbs have tailroom for encryption
mic: vop: Fix use-after-free on remove
powerpc/radix: Fix kernel crash with mremap()
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-04 17:51:17 +08:00
Naveen Saini
27dadcfc7b README: update for thud release requirements
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-20 09:40:55 +08:00
Anuj Mittal
9ad66b4c4c linux-intel-rt/4.14: update to v4.14.93
Updates rt patchset to -rt53.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-11 15:35:24 +08:00
Anuj Mittal
8aa6d54f5a conf: set -rt kernel to 4.14
Explicitly set the version to be 4.14 for linux-intel-rt to ensure it is
built as default after 4.19 recipe was merged.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-11 13:56:22 +08:00
Naveen Saini
0a4a26c37b linux-intel/4.9: update to v4.9.146
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-23 17:34:25 +08:00
Anuj Mittal
0b86a28321 linux-intel-rt/4.19: introduce -rt recipe for 4.19
Linux stable v4.19.13 and -rt10 patchset.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-01-23 15:50:03 +08:00
Naveen Saini
e79b19ff8a linux-intel/4.19: update to v4.19.13
Stable Linux tag 'v4.19.13': (423 commits)
Linux 4.19.13
drm/ioctl: Fix Spectre v1 vulnerabilities
proc/sysctl: don't return ENOMEM on lookup when a table is unregistering
Input: elantech - disable elan-i2c for P52 and P72
mm: don't miss the last page because of round-off error
mm, page_alloc: fix has_unmovable_pages for HugePages
mm: thp: fix flags for pmd migration when split
mm, memory_hotplug: initialize struct pages for the full memory section
media: ov5640: Fix set format regression
iwlwifi: add new cards for 9560, 9462, 9461 and killer series
Revert "mwifiex: restructure rx_reorder_tbl_lock usage"
iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT to old firmwares
rtlwifi: Fix leak of skb when processing C2H_BT_INFO
xfrm_user: fix freeing of xfrm states on acquire
mm: introduce mm_[p4d|pud|pmd]_folded
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
panic: avoid deadlocks in re-entrant console drivers
x86/intel_rdt: Ensure a CPU remains online for the region's pseudo-locking sequence
x86/vdso: Pass --eh-frame-hdr to the linker
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-23 15:50:00 +08:00
Naveen Saini
eb53119c6e linux-intel/4.14: update to v4.14.92
Merge Stable Linux tag v4.14.92 into 4.14/yocto

Stable Linux tag v4.14.92 : (98 commits)
Linux 4.14.92
MIPS: Only include mmzone.h when CONFIG_NEED_MULTIPLE_NODES=y
spi: bcm2835: Unbreak the build of esoteric configs
tpm: tpm_i2c_nuvoton: use correct command duration for TPM 2.x
tpm: tpm_try_transmit() refactor error flow.
rtc: m41t80: Correct alarm month range with RTC reads
arm/arm64: KVM: vgic: Force VM halt when changing the active state of GICv3 PPIs/SGIs
arm64: KVM: Avoid setting the upper 32 bits of VTCR_EL2 to 1
CIFS: Fix error mapping for SMB2_LOCK command which caused OFD lock problem
MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
MIPS: Expand MIPS32 ASIDs to 64 bits
MIPS: Align kernel load address to 64KB
MIPS: Ensure pmd_present() returns false after pmd_mknotpresent()
MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
MIPS: math-emu: Write-protect delay slot emulation pages
media: v4l2-tpg: array index could become negative
media: vivid: free bitmap_cap when updating std/timings/etc.
serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly
f2fs: fix validation of the block count in sanity_check_raw_super
netfilter: nf_conncount: don't skip eviction when age is negative
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-23 15:49:57 +08:00
Naveen Saini
bdfa304cec linux-intel/4.19: update SRCREV for 4.19.8
Integrating linux-intel stable updates that comprise the following commits:

860b700 intel-ipu4: ici: Move empty list check into spinlock to avoid list get out of sync.
6ff5100 Merge "media: intel-ipu4: [VIRT] Increase the POLL_WAIT timeout & REQ_TIMEOUT." into base
370cb2d media: intel-ipu4: [VIRT] Increase the POLL_WAIT timeout & REQ_TIMEOUT.
2832c17 media: intel-ipu4: [VIRT] Avoid double close of dmabuf FD.
9069601 Bug Fix to fix incorrect osid value
3f3118a Merge changes I2e18a2af,If588089a,I15df88ed,I55f32395 into base
a7c6f29 Security: Fix copy wrong size of keystore client id
d423299 Merge "Security: improvement for depressing compile warning" into base
151279c drivers/hyper_dmabuf: Remove from imported_list to avoid exporting dma_buf later after receiving unexport notification
b4906df drivers/hyper_dmabuf: Remove the imported dma_buf with closed domid
3b59449 drivers/hyper_dmabuf: Reuse the exported dma_buf to avoid creating multiple dma_buf for one importer
a465b67 drm/i915/gvt: Get Port ID from the encoder object instead of using enc_to_dig_port
15fde117 Merge "platform/x86: Change struct fields to 16-bit in sep, socwatchhv drivers" into base
baa4375 platform/x86: Change struct fields to 16-bit in sep, socwatchhv drivers
7c02775 drm/i915/gvt: allocate memory for vreg mmio during boot time
1c3cbb6 Merge "Revert "igb_avb: back port an upstream patch and add debug hook."" into base
9260569 Revert "igb_avb: back port an upstream patch and add debug hook."
9975a2a media: intel-ipu4: [ICI] Workaround to force compare buffer index at ici dqbuf
cd59716 media: intel-ipu4: [VIRT] Close dmabuf fd when dmabuf released.
2449c3e media: i2c: Fix for warnings for max9286_ici and intel platform
64ecb0f media: intel-ipu4: [ICI] MAX9286 and AR0231AT enabled for ICI
40835ed media: ici: Add handler to clear dma mapped buffers with dma free
47ddfd9 media: i2c & pci: Reduce log level
1fce67d media: intel-ipu4: [VIRT] Fix ipu_psys_getbuf func error return value propagation.
c06757d media: intel-ipu4: [ICI] Fix sometimes FW failed to stream on.
5345d2b media: intel-ipu4: [ICI] Fix cvbs image quality issues
7ab8c65 media: intel-ipu4: [ICI]: get virtual I2C ID dynamically if different from physical
c4c7db6 media: intel-ipu4: [VIRT] Release ISYS buffer during stream node close.
8d103c9 media: i2c: crlmodule-lite: Remove unused variable
125694d media: ici: Change total BE_STREAMS and MAX_STREAMS
ee5617d media: i2c: ti964: [ICI] Enabling TI964 deser and OV10635 sensor
e844132 drm/i915: Not wait for fuse registers in guest
86a6eb3 Merge "ASoC: Intel: boards: Update aliases for TDF machine drivers." into base
1116569 ASoC: Intel: boards: Update aliases for TDF machine drivers.
4d91449 Merge "igb_avb: back port an upstream patch and add debug hook." into base
a6f07e0 igb_avb: back port an upstream patch and add debug hook.
d01f88e drm/i915/gvt: force to active the high-performance mode during vGPU busy
ca8c4e5 Security: improvement for depressing compile warning
6f21740 vhm: fix audio backend module handle ioreq incorrectly
0750349 drm/i915/gvt: fix kernel panic when fail to create ppgtt
04c309e Merge "media: intel-ipu4: [VIRT] Support for IPU ACRN virtualization." into base
1e6ba2f Merge "media: ipu4: add virtio depends for ipu virtio driver" into base
5bf98b2 Merge "media: intel-ipu4: [ICI] Fix putbuf list and getbuf list out of sync issue." into base
7ef4e8a Merge "media: ici: Change ici_isys_pixelformat parameter with ICI_FORMAT_RGB565 format" into base
79cde33 Merge "media: intel-ipu4: [VIRT] Fix PSYS 2 PG operation issue." into base
190896e Merge "media: ici: Change value of ICI_FORMAT_RGB565" into base
408c5b1 Merge "media: intel-ipu4: [VIRT] Use native driver function return value for the IOCTL calls." into base
31be9d8 Merge "media: intel-ipu4: [VIRT] Fixed function exit to return error when failed." into base
2d48a89 Merge "media: intel-ipu4: [VIRT] Add timeout to front end request to avoid hang task." into base
856a4e0 Merge "media: intel-ipu4: [VIRT] Use actual object size for map_guest_phys call rather than using hard coded page size." into base
ebabdce Merge "media: intel-ipu4: [VIRT] Move the PYSY buffer release from SOS back to UOS." into base
311851e Merge "media: intel-ipu4: [VIRT] Fix 1st run hang and 3rd run crash issue when running single PG use cases." into base
623dc5a Merge "media: intel-ipu4: [VIRT] Add class_create for pipeline and psys device node." into base
7343c8b Merge "media: intel-ipu4: [VIRT] Add 32 bits IOTCL support for IPU PSYS virtualization." into base
4cdd2b2 Merge "media: intel-ipu4: [VIRT] Add support for IPU_IOC_QCMD ioctl call" into base
59d6037 Merge "media: intel-ipu4: [VIRT] Add support for dqevent/poll IOCTL and file ops." into base
eac3132 Merge "media: intel-ipu4: [VIRT] Add support for getbuf/mapbuf/unmapbuf IOCTL call" into base
34a6e6a Merge "media: intel-ipu4: [VIRT] Support for PSYS BE." into base
abe3bb9 Merge "media: intel-ipu4: [VIRT] Psys mediation connected to FE" into base
206f938 Merge "media: intel-ipu4: [VIRT] Psys mediation stub para virt driver." into base
4bf25a70 Merge "media: intel-ipu4: [VIRT] Use pointer for sync data member in request struct to avoid size mismatch." into base
0356c09 Merge "media: intel-ipu4: fix build warning" into base
f9b7289 Merge "media: intel-ipu4: css: scci_IPU4_master_20181030_0713 fw release" into base
7a8a16d Merge "media: intel-ipu4: css: scci_IPU4_master_20181029_0542 fw release" into base
acd2228 Merge "media: ti964: add magna subdev for 2nd ti964" into base
4615d53 Merge "media: ti964: pdata for AS_1140" into base
bd80c9c Merge "media: intel-ipu4: be-soc: Set NV16 input format" into base
f59fc63 Merge "media: ov2775: update register setting" into base
b88b3df3 Merge "media: intel-ipu4: magna: Modify for dual magna." into base
3700188 Merge "media: intel-ipu4: ox03a10: set hflip default" into base
79b98b7 Merge "media: Buttress base addr interface" into base
d9b8515 Merge "media: ov2775: Update v4l2 ctrl setting" into base
d765f9c Merge "media: intel-ipu4: add timestamp info in driver" into base
d906cd6 Merge "drm/i915: Allow user control over preempt timeout on their important context" into base
f422524 Merge "drm/i915: Use a preemption timeout to enforce interactivity" into base
535e63e Merge "drm/i915/preemption: Select timeout when scheduling" into base
b4d07f1 Merge "drm/i915/execlists: Try preempt-reset from hardirq timer context" into base
2c1530d Merge "drm/i915/execlists: Force preemption via reset on timeout" into base
c96319e media: intel-ipu4: [VIRT] Support for IPU ACRN virtualization.
756a96b media: ipu4: add virtio depends for ipu virtio driver
ea49cb9 media: intel-ipu4: [ICI] Fix putbuf list and getbuf list out of sync issue.
6ab089f media: ici: Change ici_isys_pixelformat parameter with ICI_FORMAT_RGB565 format
74378ed media: intel-ipu4: [VIRT] Fix PSYS 2 PG operation issue.
0b1960c media: ici: Change value of ICI_FORMAT_RGB565
d90a464 media: intel-ipu4: [VIRT] Use native driver function return value for the IOCTL calls.
ce08e63 media: intel-ipu4: [VIRT] Fixed function exit to return error when failed.
33017d7 media: intel-ipu4: [VIRT] Add timeout to front end request to avoid hang task.
7f335ef media: intel-ipu4: [VIRT] Use actual object size for map_guest_phys call rather than using hard coded page size.
57d5d40 media: intel-ipu4: [VIRT] Move the PYSY buffer release from SOS back to UOS.
6067264 media: intel-ipu4: [VIRT] Fix 1st run hang and 3rd run crash issue when running single PG use cases.
1e35b9e media: intel-ipu4: [VIRT] Add class_create for pipeline and psys device node.
4147ac9 media: intel-ipu4: [VIRT] Add 32 bits IOTCL support for IPU PSYS virtualization.
2b8d53d media: intel-ipu4: [VIRT] Add support for IPU_IOC_QCMD ioctl call
cd0b8d4 media: intel-ipu4: [VIRT] Add support for dqevent/poll IOCTL and file ops.
93c1a84 media: intel-ipu4: [VIRT] Add support for getbuf/mapbuf/unmapbuf IOCTL call
0daa3a5 media: intel-ipu4: [VIRT] Support for PSYS BE.
e84b0c7 media: intel-ipu4: [VIRT] Psys mediation connected to FE
4e05bf5 media: intel-ipu4: [VIRT] Psys mediation stub para virt driver.
65efffc media: intel-ipu4: [VIRT] Use pointer for sync data member in request struct to avoid size mismatch.
2bf12c7 media: intel-ipu4: fix build warning
8561cf4 media: intel-ipu4: css: scci_IPU4_master_20181030_0713 fw release
07675a2 media: intel-ipu4: css: scci_IPU4_master_20181029_0542 fw release
eff9e0b media: ti964: add magna subdev for 2nd ti964
d6b5697 media: ti964: pdata for AS_1140
4341f6d media: intel-ipu4: be-soc: Set NV16 input format
5b61764 media: ov2775: update register setting
4344ddc media: intel-ipu4: magna: Modify for dual magna.
eb975c6 media: intel-ipu4: ox03a10: set hflip default
2c8b2dc media: Buttress base addr interface
1358362 media: ov2775: Update v4l2 ctrl setting
de1c5e1 media: intel-ipu4: add timestamp info in driver
95a7d5c drm/i915: Allow user control over preempt timeout on their important context
a3cd919 drm/i915: Use a preemption timeout to enforce interactivity
cab2746 drm/i915/preemption: Select timeout when scheduling
eb77ed8 drm/i915/execlists: Try preempt-reset from hardirq timer context
6bf5601 drm/i915/execlists: Force preemption via reset on timeout
6430c87 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
8ecdb9d Merge "mei: dal: fix a race in bh_request()" into base
016f1f9 Merge "mei: dal: fix race in bh_request completion" into base
93bf89a Merge "mei: virtio: fix queue flush with non empty vtag list" into base
eb66a25 Merge "x86: vdso: Pass --eh-frame-hdr to ld" into base
d8280d1 mei: dal: fix a race in bh_request()
c5deebf mei: dal: fix race in bh_request completion
a50cac2 mei: virtio: fix queue flush with non empty vtag list
2279822 Merge changes from topic 'acrn_ww51.3' into base
baae5e3 x86: vdso: Pass --eh-frame-hdr to ld
4e24ac8 ASoc: Intel: Skylake: Pass correct parameter to acrn_ioreq_complete_request function
d5d79e9 virtio_blk: add discard and write zeroes support
731aa83 VBS-K: use kernel virtio header files
b50e0f3 drm/i915/gvt: emulate correct state of SKL_FUSE_STATUS on BXT
e5fe756 Kernel/VHM: Refine the usage of spinlock in VHM
2966146 Kernel/VHM: VM_list changes the lock from mutex to rw_lock to avoid sleeping
9b9078d kernel/VHM: Add the vm owner for each ioreq_client to release vhm_vm after releasing client
185e8ff vhm: Correct the parameters usage in find_next_bit
5654cf5 VHM: Check null-pointer of vhm_req before updating state of emulated io_request
888b529 ASoc: Intel: Skylake: Fix build issue in skl virtio driver
bbc69af Asoc: Intel: Skylake: display firmware name and version
f6b17f3 platform/x86: sep, socwatchhv driver and code-formatting fixes
4706c87 ASoC: tdf8532: Account for critical sections.
5e94049 Merge "REVERTME: ASoC: Add error handling for stream events in soc_pcm_prepare" into base
56aa33a Merge "ASoC: Intel: Skylake: Virt: Add virtualization layer to skl driver" into base
17f3ea9 Merge "ASoC: Intel: Skylake: Workarounds for virtualization" into base
7d01b5d Merge "ASoC: Intel: Skylake: Notify BE about stream update" into base
f260415 Merge "ASoC: Intel: Skylake: Register virtualization BE service" into base
1fb49e2 Merge "ASoC: Intel: Skylake: Add support for Virtio SST" into base
ff18ef8 Merge "tc: Add support for configuring the taprio scheduler" into base
bf673e6 Merge "ASoC: Intel: Skylake: Add Kconfig options for virtualization" into base
7fb6751 Merge "ASoC: Intel: Skylake: Modify skl_platform_register" into base
8d66ee0 Merge "ASoC: Intel: Skylake: Export skylake functions for virtio." into base
0ce69aa Merge "i915: make driver init async" into base
4c4b0b5 i915: make driver init async
799c0b9 Merge changes Ib176f84a,I13756406,I026c991f,I2d5ad9a8,If4d14f37, ... into base
75cae28 i915: temporarily disable a gem assert
420fc52 REVERTME: ASoC: Add error handling for stream events in soc_pcm_prepare
4dfae03 Kernel/VHM: refine the refcnt of vhm_vm so that vhm_vm exists before ioreq_client is released
a0776e6 kernel/VHM: Fix race condition in ioreq_client by using refcnt and idr mechanism
8cf33a2 Kernel/VHM: Use the traped pci_access addr based on VM instead of static global variable
26d8d65 Kernel/VHM: Use the bit_op to remove the volatile definition in ioreq_client
57d2674a Revert "drm/i915/gvt: hard code Pipe B plane owner to UOS"
f4ae0c0 drm/i915/gvt: remove tag from vGPU context ID before check
fad792b drm/i915/gvt: fix gvtbuffer ioctl tile format issue
28b346f VBS: export vbs symbols
a52cad1 vhm: remove "reserve memory for trusty"
cb2e039 HVLog: Fix typo and refine sbuf_hvlog_index
0018157 vhm: support polling mode of ioreq completion
a4c6f83 vhm: mark ioreq completed in acrn_ioreq_complete_request
b05dc73 vhm: Add ioctl IC_CLEAR_VM_IOREQ to cleanup VM ioreqs
19990a2 SOS: Guest x2APIC support for SOS
2bb1c0d Fixing doc build caused by linux/vbs/vbs.h
89cc5e4 kernel: Revert "x86:acrn: add write_msi pv ops to intercept pci msi write with pv method"
16614c1 Merge "sdhci: fix the timeout check window for clock and reset" into base
f1d6d19 tc: Add support for configuring the taprio scheduler
f06a40b ASoC: Intel: Skylake: Virt: Add virtualization layer to skl driver
e14cdd4 ASoC: Intel: Skylake: Workarounds for virtualization
2665897 ASoC: Intel: Skylake: Notify BE about stream update
c34730a ASoC: Intel: Skylake: Register virtualization BE service
0f753aa ASoC: Intel: Skylake: Add support for Virtio SST
c65cd19 ASoC: Intel: Skylake: Add Kconfig options for virtualization
d1fc8d7 ASoC: Intel: Skylake: Modify skl_platform_register
e948793 ASoC: Intel: Skylake: Export skylake functions for virtio.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-23 15:49:55 +08:00
Naveen Saini
3d9a8bf125 linux-intel/4.14: update to v4.14.87
* Stable Linux tag v4.14.87 : (56 commits)
      Linux 4.14.87
      tipc: use destination length for copy string
      net: qed: use correct strncpy() size
      mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo
      thermal/drivers/hisi: Remove costly sensor inspection
      thermal/drivers/hisi: Fix configuration register setting
      thermal/drivers/hisi: Encapsulate register writes into helpers
      thermal/drivers/hisi: Remove pointless lock
      thermal/drivers/hisi: Remove the multiple sensors support
      mm: cleancache: fix corruption on missed inode invalidation
      reset: remove remaining WARN_ON() in <linux/reset.h>
      reset: make device_reset_optional() really optional
      udf: Allow mounting volumes with incorrect identification strings
      arc: [devboards] Add support of NFSv3 ACL
      ARC: change defconfig defaults to ARCv2
      btrfs: Always try all copies when reading extent buffers
      btrfs: tree-checker: Don't check max block group size as current max chunk size limit is unreliable
      Input: elan_i2c - add support for ELAN0621 touchpad
      Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15ARR
      Input: elan_i2c - add ELAN0620 to the ACPI table
      ...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-23 15:49:44 +08:00
Naveen Saini
1570547447 README: update for thud release requirements
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-01-12 22:25:13 +08:00
Naveen Saini
7ea89b9ddc linux-intel/4.19: update to v4.19.8
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-13 16:42:13 +08:00
Anuj Mittal
8c3556b75b backport-iwlwifi: exclude from world builds
The release we use doesn't compile with 4.19 kernel (and shouldn't be
needed there) so exclude it from world builds for now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 15:06:19 +08:00
Anuj Mittal
4abc16cbbd linux-intel/4.19: update to v4.19.5
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
549a520fd6 linux-intel/4.19: add recipe
Builds 4.19/base from linux-intel-lts.

Include a patch from linux-yocto 4.18 to detect ncurses correctly when
cross-compiling and move the older patch to version specific recipes
from inc.

In addition to intel-common kernel configs from yocto-kernel-cache, this
also includes security.scc feature which enables a set of configs with
the aim of reducing the kernel attack surface and/or of performing
additional checks and validation of commonly used structures in kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
190d99f09e ixgbe: upgrade 5.3.8 -> 5.5.2
Added XDP support and fixes compilation issues with 4.19 kernel. License
checksum changed because of formatting related changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
eea37caf54 README: point to correct branch for thud
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-04 10:52:49 +08:00
16 changed files with 155 additions and 265 deletions

4
README
View File

@ -21,11 +21,11 @@ Dependencies
This layer depends on:
URI: git://git.openembedded.org/bitbake
branch: 1.38
branch: 1.40
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: sumo
branch: thud
Table of Contents

View File

@ -7,7 +7,7 @@ The metadata used to generate the images shipped with this BSP, in
addition to the code contained in this BSP, can be found at the
following location:
http://downloads.yoctoproject.org/releases/yocto/yocto-2.5/poky-sumo-19.0.0.tar.bz2
http://downloads.yoctoproject.org/releases/yocto/yocto-2.6.1/poky-thud-20.0.1.tar.bz2
The metadata used to generate the images shipped with this BSP, in
addition to the code contained in this BSP, can also be found at the

View File

@ -8,6 +8,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel"
PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel"
PREFERRED_VERSION_linux-intel_linuxstdbase ?= "4.9%"
PREFERRED_VERSION_linux-intel ?= "4.14%"
PREFERRED_VERSION_linux-intel-rt ?= "4.14%"
XSERVER_X86_ASPEED_AST = "xf86-video-ast \
"

View File

@ -1,123 +1,37 @@
INTEL SOFTWARE LICENSE AGREEMENT
Copyright (c) 2018-2019 Intel Corporation.
All rights reserved.
IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
Do not use or load this software and any associated materials (collectively,
the "Software") until you have carefully read the following terms and
conditions. By loading or using the Software, you agree to the terms of this
Agreement. If you do not wish to so agree, do not install or use the Software.
Redistribution.
LICENSES: Please Note:
- If you are a network administrator, the "Site License" below shall
apply to you.
- If you are an end user, the "Single User License" shall apply to you.
- If you are an original equipment manufacturer (OEM), the "OEM License"
shall apply to you.
Redistribution and use in binary form, without modification, are permitted,
provided that the following conditions are met:
SITE LICENSE. You may copy the Software onto your organization's computers
for your organization's use, and you may make a reasonable number of
back-up copies of the Software, subject to these conditions:
1. Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials provided
with the distribution.
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
2. Neither the name of Intel Corporation nor the names of its suppliers may
be used to endorse or promote products derived from this software without
specific prior written permission.
SINGLE USER LICENSE. You may copy the Software onto a single computer for
your personal, noncommercial use, and you may make one back-up copy of the
Software, subject to these conditions:
3. No reverse engineering, decompilation, or disassembly of this software
is permitted.
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
OEM LICENSE: You may reproduce and distribute the Software only as an
integral part of or incorporated in Your product or as a standalone
Software maintenance update for existing end users of Your products,
excluding any other standalone products, subject to these conditions:
"Binary form" includes any format that is commonly used for electronic
conveyance that is a reversible, bit-exact translation of binary
representation to ASCII or ISO text, for example "uuencode".
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may only distribute the Software to your customers pursuant to a
written license agreement. Such license agreement may be a "break-the-
seal" license agreement. At a minimum such license shall safeguard
Intel's ownership rights to the Software.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
DISCLAIMER.
NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
or by implication, with respect to any proprietary information or patent,
copyright, mask work, trademark, trade secret, or other intellectual property
right owned or controlled by Intel, except as expressly provided in this
Agreement.
OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
remains with Intel or its suppliers. The Software is copyrighted and
protected by the laws of the United States and other countries, and
international treaty provisions. You may not remove any copyright notices
from the Software. Intel may make changes to the Software, or to items
referenced therein, at any time without notice, but is not obligated to
support or update the Software. Except as otherwise expressly provided, Intel
grants no express or implied right under Intel patents, copyrights,
trademarks, or other intellectual property rights. You may transfer the
Software only if the recipient agrees to be fully bound by these terms and if
you retain no copies of the Software.
LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on
physical media, Intel warrants the media to be free from material physical
defects for a period of ninety days after delivery by Intel. If such a defect
is found, return the media to Intel for replacement or alternate delivery of
the Software as Intel may select.
EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND
INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A
PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the
accuracy or completeness of any information, text, graphics, links or other
items contained within the Software.
LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE
FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS,
BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR
INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR
LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
if you violate its terms. Upon termination, you will immediately destroy the
Software or return all copies of the Software to Intel.
APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
laws of California, excluding its principles of conflict of laws and the
United Nations Convention on Contracts for the Sale of Goods. You may not
export the Software in violation of applicable export laws and regulations.
Intel is not obligated under any other agreements unless they are in writing
and signed by an authorized representative of Intel.
GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED
RIGHTS." Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its
successor. Use of the Software by the Government constitutes acknowledgment
of Intel's proprietary rights therein. Contractor or Manufacturer is Intel
2200 Mission College Blvd., Santa Clara, CA 95052.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,123 +0,0 @@
INTEL SOFTWARE LICENSE AGREEMENT
IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
Do not use or load this software and any associated materials (collectively,
the "Software") until you have carefully read the following terms and
conditions. By loading or using the Software, you agree to the terms of this
Agreement. If you do not wish to so agree, do not install or use the Software.
LICENSES: Please Note:
- If you are a network administrator, the "Site License" below shall
apply to you.
- If you are an end user, the "Single User License" shall apply to you.
- If you are an original equipment manufacturer (OEM), the "OEM License"
shall apply to you.
SITE LICENSE. You may copy the Software onto your organization's computers
for your organization's use, and you may make a reasonable number of
back-up copies of the Software, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
SINGLE USER LICENSE. You may copy the Software onto a single computer for
your personal, noncommercial use, and you may make one back-up copy of the
Software, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
OEM LICENSE: You may reproduce and distribute the Software only as an
integral part of or incorporated in Your product or as a standalone
Software maintenance update for existing end users of Your products,
excluding any other standalone products, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may only distribute the Software to your customers pursuant to a
written license agreement. Such license agreement may be a "break-the-
seal" license agreement. At a minimum such license shall safeguard
Intel's ownership rights to the Software.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
or by implication, with respect to any proprietary information or patent,
copyright, mask work, trademark, trade secret, or other intellectual property
right owned or controlled by Intel, except as expressly provided in this
Agreement.
OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
remains with Intel or its suppliers. The Software is copyrighted and
protected by the laws of the United States and other countries, and
international treaty provisions. You may not remove any copyright notices
from the Software. Intel may make changes to the Software, or to items
referenced therein, at any time without notice, but is not obligated to
support or update the Software. Except as otherwise expressly provided, Intel
grants no express or implied right under Intel patents, copyrights,
trademarks, or other intellectual property rights. You may transfer the
Software only if the recipient agrees to be fully bound by these terms and if
you retain no copies of the Software.
LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on
physical media, Intel warrants the media to be free from material physical
defects for a period of ninety days after delivery by Intel. If such a defect
is found, return the media to Intel for replacement or alternate delivery of
the Software as Intel may select.
EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND
INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A
PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the
accuracy or completeness of any information, text, graphics, links or other
items contained within the Software.
LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE
FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS,
BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR
INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR
LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
if you violate its terms. Upon termination, you will immediately destroy the
Software or return all copies of the Software to Intel.
APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
laws of California, excluding its principles of conflict of laws and the
United Nations Convention on Contracts for the Sale of Goods. You may not
export the Software in violation of applicable export laws and regulations.
Intel is not obligated under any other agreements unless they are in writing
and signed by an authorized representative of Intel.
GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED
RIGHTS." Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its
successor. Use of the Software by the Government constitutes acknowledgment
of Intel's proprietary rights therein. Contractor or Manufacturer is Intel
2200 Mission College Blvd., Santa Clara, CA 95052.

View File

@ -11,16 +11,15 @@ DESCRIPTION = "The microcode data file contains the latest microcode\
if the file is placed in the /etc/firmware directory of the Linux system."
LICENSE = "Intel-Microcode-License"
LIC_FILES_CHKSUM = "file://Intel-Microcode-License;md5=9052c0dbf7250dc0bef70bd8212b0573"
LIC_FILES_CHKSUM = "file://license;md5=99b296eb12723fd1eeb52e24971eed84"
SRC_URI = "https://downloadmirror.intel.com/28039/eng/microcode-${PV}.tgz \
file://Intel-Microcode-License \
SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https \
"
SRC_URI[md5sum] = "49f534f1079d3c5bc178a150c1c105aa"
SRC_URI[sha256sum] = "29f9e8dc27e6c9b6488cecd7fe2394030307799e511db2d197d9e6553a7f9e40"
SRCREV = "1dd14da6d1ea5cfbd95923653f31c04aac3aa655"
DEPENDS = "iucode-tool-native"
S = "${WORKDIR}"
S = "${WORKDIR}/git"
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@ -32,18 +31,17 @@ inherit deploy
UCODE_FILTER_PARAMETERS ?= ""
do_compile() {
rm -f ${WORKDIR}/intel-ucode/list
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
${UCODE_FILTER_PARAMETERS} \
--overwrite \
--write-to=${WORKDIR}/microcode_${PV}.bin \
${WORKDIR}/intel-ucode/*
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
${STAGING_DIR_NATIVE}${sbindir_native}/iucode_tool \
${UCODE_FILTER_PARAMETERS} \
--overwrite \
--write-earlyfw=${WORKDIR}/microcode_${PV}.cpio \
${WORKDIR}/intel-ucode/*
${S}/intel-ucode/* ${S}/intel-ucode-with-caveats/*
}
do_install() {
@ -55,7 +53,7 @@ do_install() {
do_deploy() {
install -d ${DEPLOYDIR}
install ${S}/microcode_${PV}.cpio ${DEPLOYDIR}/
install ${WORKDIR}/microcode_${PV}.cpio ${DEPLOYDIR}/
cd ${DEPLOYDIR}
rm -f microcode.cpio
ln -sf microcode_${PV}.cpio microcode.cpio

View File

@ -5,14 +5,14 @@ PCI Express* 10 Gigabit Network Connections."
HOMEPAGE = "https://sourceforge.net/projects/e1000/"
SECTION = "kernel/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \
file://0001-ixgbe-skip-host-depmod.patch \
"
SRC_URI[md5sum] = "bc607eb17d119014ce51695177cb27f5"
SRC_URI[sha256sum] = "bdc7c71ebc6d1e836bd5bb495174ea89f1472b5a8f3597b93ecdedb5aa739052"
SRC_URI[md5sum] = "678514cb0e24f1c11d53d156a9845e64"
SRC_URI[sha256sum] = "1c1386e4eb0b4526d2edeb04cac657e1d74c2e5cef3f2d00a26a23926744ef1a"
S = "${WORKDIR}/${BP}/src"
MODULES_INSTALL_TARGET = "install"

View File

@ -52,3 +52,5 @@ KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
KERNEL_MODULE_PACKAGE_PREFIX = "backport-iwlwifi"
EXCLUDE_FROM_WORLD = "1"

View File

@ -17,8 +17,8 @@ SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.14.78"
SRCREV_machine ?= "7d5580386bfc36ccfaa05ee1bdfd4f5f8530b235"
SRCREV_meta ?= "6a3254e7b370cbb86c1f73379dcf38885c1c69e0"
LINUX_VERSION ?= "4.14.134"
SRCREV_machine ?= "09a421a9b2ba044daf4ab9ea2f54a33cf7a2fac1"
SRCREV_meta ?= "bc35d5bd224ab031440a69f9806d839db382f05c"
LINUX_KERNEL_TYPE = "preempt-rt"

View File

@ -0,0 +1,24 @@
require linux-intel.inc
# Skip processing of this recipe if it is not explicitly specified as the
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
# to build multiple virtual/kernel providers, e.g. as dependency of
# core-image-rt-sdk, core-image-rt.
python () {
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
}
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch"
KBRANCH = "4.19/preempt-rt"
KMETA_BRANCH = "yocto-4.19"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.19.59"
SRCREV_machine ?= "d6dc301c71aea6098e5e19ef3f265d0ba9981167"
SRCREV_meta ?= "960be4218436fbbb3500e019f7abf02fa94e6aac"
LINUX_KERNEL_TYPE = "preempt-rt"

View File

@ -13,8 +13,8 @@ python () {
KBRANCH = "4.9/yocto/base-rt"
KMETA_BRANCH = "yocto-4.9"
LINUX_VERSION ?= "4.9.84"
SRCREV_machine ?= "33b17c3a62dc470c849f85ce2a90cfa90e96bcf5"
LINUX_VERSION ?= "4.9.146"
SRCREV_machine ?= "bc2342621494c9c1b28ce29110fb95c80a17a1be"
SRCREV_meta ?= "bae5cc4e973f60baa35ed227ba0c3bdda4d16e87"
LINUX_KERNEL_TYPE = "preempt-rt"

View File

@ -7,7 +7,6 @@ KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
SRC_URI = " \
git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
${KERNEL_CONFIG_URI} \
"

View File

@ -0,0 +1,48 @@
From bebd63730a433ba62549a80114a9851328aa8897 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon, 2 Jul 2018 23:10:28 -0400
Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location
In some cross build environments such as the Yocto Project build
environment it provides an ncurses library that is compiled
differently than the host's version. This causes display corruption
problems when the host's curses includes are used instead of the
includes from the provided compiler are overridden. There is a second
case where there is no curses libraries at all on the host system and
menuconfig will just fail entirely.
The solution is simply to allow an override variable in
check-lxdialog.sh for environments such as the Yocto Project. Adding
a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing
compiling and linking against the right headers and libraries.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
cc: Michal Marek <mmarek@suse.cz>
cc: linux-kbuild@vger.kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
scripts/kconfig/mconf-cfg.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh
index c812872d7f9d..42d20819025c 100755
--- a/scripts/kconfig/mconf-cfg.sh
+++ b/scripts/kconfig/mconf-cfg.sh
@@ -4,6 +4,14 @@
PKG="ncursesw"
PKG2="ncurses"
+if [ "$CROSS_CURSES_LIB" != "" ]; then
+ echo libs=\'$CROSS_CURSES_LIB\'
+ if [ x"$CROSS_CURSES_INC" != x ]; then
+ echo cflags=\'$CROSS_CURSES_INC\'
+ fi
+ exit 0
+fi
+
if [ -n "$(command -v pkg-config)" ]; then
if pkg-config --exists $PKG; then
echo cflags=\"$(pkg-config --cflags $PKG)\"
--
2.17.1

View File

@ -4,13 +4,15 @@ KBRANCH = "4.14/base"
KMETA_BRANCH = "yocto-4.14"
# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch"
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.14.78"
SRCREV_machine ?= "56f15146cf0573a64a02f6d0ed2f002d4e1037d5"
SRCREV_meta ?= "6a3254e7b370cbb86c1f73379dcf38885c1c69e0"
LINUX_VERSION ?= "4.14.138"
SRCREV_machine ?= "3f695bb28f52f6317f034efbf42b052c66dee0e6"
SRCREV_meta ?= "bc35d5bd224ab031440a69f9806d839db382f05c"
# For Crystalforest and Romley
KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"

View File

@ -0,0 +1,21 @@
require linux-intel.inc
KBRANCH = "4.19/base"
KMETA_BRANCH = "yocto-4.19"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.19.62"
SRCREV_machine ?= "c8c1c2f3f330f4f93279a8ad842f68d40ae6fb3d"
SRCREV_meta ?= "960be4218436fbbb3500e019f7abf02fa94e6aac"
# For Crystalforest and Romley
KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc"

View File

@ -4,8 +4,12 @@ require linux-intel.inc
KBRANCH = "4.9/yocto/base"
KMETA_BRANCH = "yocto-4.9"
LINUX_VERSION ?= "4.9.134"
SRCREV_machine ?= "33c9f20d1f40e87af4ccaf55c0fabb89b068d6ab"
SRC_URI_append = " \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
"
LINUX_VERSION ?= "4.9.183"
SRCREV_machine ?= "107e98ee74a588750a5a80ffe11f52628295e461"
SRCREV_meta ?= "f9e90afd4e47920e990dacb73cd6508917ca5422"
# For Crystalforest and Romley