1. 27 Jun, 2017 18 commits
  2. 26 Jun, 2017 5 commits
  3. 23 Jun, 2017 3 commits
  4. 21 Jun, 2017 1 commit
  5. 20 Jun, 2017 13 commits
    • Kleber Sacilotto de Souza's avatar
    • Stefan Bader's avatar
      UBUNTU: SAUCE: mm: Only expand stack if guard area is hit · df5d7a91
      Stefan Bader authored
      This was a change which happened rather late in the process. It might
      have some performance benefit as it avoids trying to expand the stack
      every time it is touched and instead checks on whether the guard area
      has been reached.
      
      CVE-2017-1000364
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      df5d7a91
    • Andy Whitcroft's avatar
      UBUNTU: [Config] make linux-tools-common and linux-cloud-tools-common protection consistent · fbbadd1f
      Andy Whitcroft authored
      During the development of the linux-*-tools-common
      Privides/Conflicts/Replaces configuration we switched from versioned to
      unversioned Conflicts/Replaces and droped Breaks as redundant.  This
      somehow failed to be appplied to the linux-*-cloud-tools-common update.
      Though currently equivalent these should be made consistent.
      
      BugLink: http://bugs.launchpad.net/bugs/1688579Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
      Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      fbbadd1f
    • Eric Dumazet's avatar
      ipv6: fix out of bound writes in __ip6_append_data() · 57b0352b
      Eric Dumazet authored
      Andrey Konovalov and idaifish@gmail.com reported crashes caused by
      one skb shared_info being overwritten from __ip6_append_data()
      
      Andrey program lead to following state :
      
      copy -4200 datalen 2000 fraglen 2040
      maxfraglen 2040 alloclen 2048 transhdrlen 0 offset 0 fraggap 6200
      
      The skb_copy_and_csum_bits(skb_prev, maxfraglen, data + transhdrlen,
      fraggap, 0); is overwriting skb->head and skb_shared_info
      
      Since we apparently detect this rare condition too late, move the
      code earlier to even avoid allocating skb and risking crashes.
      
      Once again, many thanks to Andrey and syzkaller team.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Reported-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Tested-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Reported-by: <idaifish@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      
      CVE-2017-9242
      
      (cherry-picked from  232cd35d)
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin King <colin.king@canonical.com>
      Acked-by: default avatarAndy Whitcroft <andy.whitcroft@canonical.com>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      57b0352b
    • Eric Dumazet's avatar
      sctp: do not inherit ipv6_{mc|ac|fl}_list from parent · a774d8f1
      Eric Dumazet authored
      SCTP needs fixes similar to 83eaddab ("ipv6/dccp: do not inherit
      ipv6_mc_list from parent"), otherwise bad things can happen.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Reported-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Tested-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      
      CVE-2017-9075
      
      (cherry-picked from fdcee2cb)
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin King <colin.king@canonical.com>
      Acked-by: default avatarAndy Whitcroft <andy.whitcroft@canonical.com>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      a774d8f1
    • Craig Gallek's avatar
      ipv6: Prevent overrun when parsing v6 header options · 6468c531
      Craig Gallek authored
      The KASAN warning repoted below was discovered with a syzkaller
      program.  The reproducer is basically:
        int s = socket(AF_INET6, SOCK_RAW, NEXTHDR_HOP);
        send(s, &one_byte_of_data, 1, MSG_MORE);
        send(s, &more_than_mtu_bytes_data, 2000, 0);
      
      The socket() call sets the nexthdr field of the v6 header to
      NEXTHDR_HOP, the first send call primes the payload with a non zero
      byte of data, and the second send call triggers the fragmentation path.
      
      The fragmentation code tries to parse the header options in order
      to figure out where to insert the fragment option.  Since nexthdr points
      to an invalid option, the calculation of the size of the network header
      can made to be much larger than the linear section of the skb and data
      is read outside of it.
      
      This fix makes ip6_find_1stfrag return an error if it detects
      running out-of-bounds.
      
      [   42.361487] ==================================================================
      [   42.364412] BUG: KASAN: slab-out-of-bounds in ip6_fragment+0x11c8/0x3730
      [   42.365471] Read of size 840 at addr ffff88000969e798 by task ip6_fragment-oo/3789
      [   42.366469]
      [   42.366696] CPU: 1 PID: 3789 Comm: ip6_fragment-oo Not tainted 4.11.0+ #41
      [   42.367628] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.1-1ubuntu1 04/01/2014
      [   42.368824] Call Trace:
      [   42.369183]  dump_stack+0xb3/0x10b
      [   42.369664]  print_address_description+0x73/0x290
      [   42.370325]  kasan_report+0x252/0x370
      [   42.370839]  ? ip6_fragment+0x11c8/0x3730
      [   42.371396]  check_memory_region+0x13c/0x1a0
      [   42.371978]  memcpy+0x23/0x50
      [   42.372395]  ip6_fragment+0x11c8/0x3730
      [   42.372920]  ? nf_ct_expect_unregister_notifier+0x110/0x110
      [   42.373681]  ? ip6_copy_metadata+0x7f0/0x7f0
      [   42.374263]  ? ip6_forward+0x2e30/0x2e30
      [   42.374803]  ip6_finish_output+0x584/0x990
      [   42.375350]  ip6_output+0x1b7/0x690
      [   42.375836]  ? ip6_finish_output+0x990/0x990
      [   42.376411]  ? ip6_fragment+0x3730/0x3730
      [   42.376968]  ip6_local_out+0x95/0x160
      [   42.377471]  ip6_send_skb+0xa1/0x330
      [   42.377969]  ip6_push_pending_frames+0xb3/0xe0
      [   42.378589]  rawv6_sendmsg+0x2051/0x2db0
      [   42.379129]  ? rawv6_bind+0x8b0/0x8b0
      [   42.379633]  ? _copy_from_user+0x84/0xe0
      [   42.380193]  ? debug_check_no_locks_freed+0x290/0x290
      [   42.380878]  ? ___sys_sendmsg+0x162/0x930
      [   42.381427]  ? rcu_read_lock_sched_held+0xa3/0x120
      [   42.382074]  ? sock_has_perm+0x1f6/0x290
      [   42.382614]  ? ___sys_sendmsg+0x167/0x930
      [   42.383173]  ? lock_downgrade+0x660/0x660
      [   42.383727]  inet_sendmsg+0x123/0x500
      [   42.384226]  ? inet_sendmsg+0x123/0x500
      [   42.384748]  ? inet_recvmsg+0x540/0x540
      [   42.385263]  sock_sendmsg+0xca/0x110
      [   42.385758]  SYSC_sendto+0x217/0x380
      [   42.386249]  ? SYSC_connect+0x310/0x310
      [   42.386783]  ? __might_fault+0x110/0x1d0
      [   42.387324]  ? lock_downgrade+0x660/0x660
      [   42.387880]  ? __fget_light+0xa1/0x1f0
      [   42.388403]  ? __fdget+0x18/0x20
      [   42.388851]  ? sock_common_setsockopt+0x95/0xd0
      [   42.389472]  ? SyS_setsockopt+0x17f/0x260
      [   42.390021]  ? entry_SYSCALL_64_fastpath+0x5/0xbe
      [   42.390650]  SyS_sendto+0x40/0x50
      [   42.391103]  entry_SYSCALL_64_fastpath+0x1f/0xbe
      [   42.391731] RIP: 0033:0x7fbbb711e383
      [   42.392217] RSP: 002b:00007ffff4d34f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
      [   42.393235] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbbb711e383
      [   42.394195] RDX: 0000000000001000 RSI: 00007ffff4d34f60 RDI: 0000000000000003
      [   42.395145] RBP: 0000000000000046 R08: 00007ffff4d34f40 R09: 0000000000000018
      [   42.396056] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000400aad
      [   42.396598] R13: 0000000000000066 R14: 00007ffff4d34ee0 R15: 00007fbbb717af00
      [   42.397257]
      [   42.397411] Allocated by task 3789:
      [   42.397702]  save_stack_trace+0x16/0x20
      [   42.398005]  save_stack+0x46/0xd0
      [   42.398267]  kasan_kmalloc+0xad/0xe0
      [   42.398548]  kasan_slab_alloc+0x12/0x20
      [   42.398848]  __kmalloc_node_track_caller+0xcb/0x380
      [   42.399224]  __kmalloc_reserve.isra.32+0x41/0xe0
      [   42.399654]  __alloc_skb+0xf8/0x580
      [   42.400003]  sock_wmalloc+0xab/0xf0
      [   42.400346]  __ip6_append_data.isra.41+0x2472/0x33d0
      [   42.400813]  ip6_append_data+0x1a8/0x2f0
      [   42.401122]  rawv6_sendmsg+0x11ee/0x2db0
      [   42.401505]  inet_sendmsg+0x123/0x500
      [   42.401860]  sock_sendmsg+0xca/0x110
      [   42.402209]  ___sys_sendmsg+0x7cb/0x930
      [   42.402582]  __sys_sendmsg+0xd9/0x190
      [   42.402941]  SyS_sendmsg+0x2d/0x50
      [   42.403273]  entry_SYSCALL_64_fastpath+0x1f/0xbe
      [   42.403718]
      [   42.403871] Freed by task 1794:
      [   42.404146]  save_stack_trace+0x16/0x20
      [   42.404515]  save_stack+0x46/0xd0
      [   42.404827]  kasan_slab_free+0x72/0xc0
      [   42.405167]  kfree+0xe8/0x2b0
      [   42.405462]  skb_free_head+0x74/0xb0
      [   42.405806]  skb_release_data+0x30e/0x3a0
      [   42.406198]  skb_release_all+0x4a/0x60
      [   42.406563]  consume_skb+0x113/0x2e0
      [   42.406910]  skb_free_datagram+0x1a/0xe0
      [   42.407288]  netlink_recvmsg+0x60d/0xe40
      [   42.407667]  sock_recvmsg+0xd7/0x110
      [   42.408022]  ___sys_recvmsg+0x25c/0x580
      [   42.408395]  __sys_recvmsg+0xd6/0x190
      [   42.408753]  SyS_recvmsg+0x2d/0x50
      [   42.409086]  entry_SYSCALL_64_fastpath+0x1f/0xbe
      [   42.409513]
      [   42.409665] The buggy address belongs to the object at ffff88000969e780
      [   42.409665]  which belongs to the cache kmalloc-512 of size 512
      [   42.410846] The buggy address is located 24 bytes inside of
      [   42.410846]  512-byte region [ffff88000969e780, ffff88000969e980)
      [   42.411941] The buggy address belongs to the page:
      [   42.412405] page:ffffea000025a780 count:1 mapcount:0 mapping:          (null) index:0x0 compound_mapcount: 0
      [   42.413298] flags: 0x100000000008100(slab|head)
      [   42.413729] raw: 0100000000008100 0000000000000000 0000000000000000 00000001800c000c
      [   42.414387] raw: ffffea00002a9500 0000000900000007 ffff88000c401280 0000000000000000
      [   42.415074] page dumped because: kasan: bad access detected
      [   42.415604]
      [   42.415757] Memory state around the buggy address:
      [   42.416222]  ffff88000969e880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      [   42.416904]  ffff88000969e900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      [   42.417591] >ffff88000969e980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
      [   42.418273]                    ^
      [   42.418588]  ffff88000969ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
      [   42.419273]  ffff88000969ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
      [   42.419882] ==================================================================
      Reported-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Signed-off-by: default avatarCraig Gallek <kraig@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      
      CVE-2017-9074
      
      (cherry-picked from 2423496a)
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin King <colin.king@canonical.com>
      Acked-by: default avatarAndy Whitcroft <andy.whitcroft@canonical.com>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      6468c531
    • WANG Cong's avatar
      ipv6/dccp: do not inherit ipv6_mc_list from parent · 18238713
      WANG Cong authored
      Like commit 657831ff ("dccp/tcp: do not inherit mc_list from parent")
      we should clear ipv6_mc_list etc. for IPv6 sockets too.
      
      Cc: Eric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Acked-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      
      CVE-2017-9076
      CVE-2017-9077
      
      (cherry-picked from 83eaddab)
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin Ian King <colin.king@canonical.com>
      Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      18238713
    • Eric Dumazet's avatar
      dccp/tcp: do not inherit mc_list from parent · 5376db52
      Eric Dumazet authored
      syzkaller found a way to trigger double frees from ip_mc_drop_socket()
      
      It turns out that leave a copy of parent mc_list at accept() time,
      which is very bad.
      
      Very similar to commit 8b485ce6 ("tcp: do not inherit
      fastopen_req from parent")
      
      Initial report from Pray3r, completed by Andrey one.
      Thanks a lot to them !
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Reported-by: default avatarPray3r <pray3r.z@gmail.com>
      Reported-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Tested-by: default avatarAndrey Konovalov <andreyknvl@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      
      CVE-2017-8890
      
      (backported from 657831ff)
      [ignored top fuzz]
      Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin Ian King <colin.king@canonical.com>
      Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      5376db52
    • Seth Forshee's avatar
      UBUNTU: SAUCE: Fix module signing exclusion in package builds · 51d149ac
      Seth Forshee authored
      BugLink: http://bugs.launchpad.net/bugs/1690908
      
      The current module signing exclusion implementation suffers from
      two problems. First, it looks for the signed-inclusion file
      relative to the path where make is executed and thus doesn't work
      if the source and build directories are different. Second, the
      signed-inclusion file lists only the module name, but the strings
      searched for in the file include the path (and the path to the
      module install location at that).
      
      Fix these problems by updating scripts/Makefile.modinst to look
      for signed-inclusion relative to the path of the source tree and
      to use only the module name when matching against the contents of
      that file.
      Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
      Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      51d149ac
    • Thadeu Lima de Souza Cascardo's avatar
      UBUNTU: [Packaging] exact extend-diff-ignore matches · d7066ac4
      Thadeu Lima de Souza Cascardo authored
      BugLink: http://bugs.launchpad.net/bugs/1693504
      
      gen-auto-reconstruct script adds extend-diff-ignore options to
      debian/source/options for symlinks not found in the orig tarball.
      
      These options, however, are regular expressions, and match any part of a
      file path. This may cause some files to be excluded from source when
      they are not an exact match, but are a partial match to those symlinks.
      
      Using beggining and end of string metacharacters fix the issue.
      
      This problem was found in one of the derivatives, which contained a
      symlink, whose name was a prefix for a directory in the same path,
      leading that entire directory to be excluded from source.
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      [saf: escape literal '$' in string]
      Acked-by: default avatarAndy Whitcroft <apw@canonical.com>
      Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      d7066ac4
    • AceLan Kao's avatar
      UBUNTU: SAUCE: ath10k: fix the wifi speed issue for kill 1535 · 9690f19f
      AceLan Kao authored
      BugLink: http://bugs.launchpad.net/bugs/1692836
      
      The fix is suggested by Qualcomm, and it helps to fix the network speed
      issue.
      Ath10k driver changed a lot after 4.4 kernel, so this fix can't
      applied on other kernels than 4.4. We need to figure out other way for
      kernels after Xenial.
      
      Without the patch, the 5GHz network speed is pretty low
         11n
            0.0-120.1 sec 271 MBytes 18.9 Mbits/sec
         11AC
            0.0-120.2 sec 141 MBytes 9.86 Mbits/sec
      
      After applied the patch
         11n
            0.0-120.0 sec 2.04 GBytes 146 Mbits/sec
         11AC
            0.0-120.0 sec 1.17 GBytes 83.6 Mbits/sec
      Signed-off-by: default avatarAceLan Kao <acelan.kao@canonical.com>
      Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      9690f19f
    • Shrirang Bagul's avatar
      UBUNTU: SAUCE: Redpine: Upgrade to ver. 1.2.RC12 · 4515720a
      Shrirang Bagul authored
      BugLink: https://bugs.launchpad.net/bugs/1694607
      
      Vendor release ver: 1.2.RC12
      
      Changelog:
      
      1.2.RC12 -
          WLAN Bug Fixes:
          ---------------
          1) WoWLAN stress test cases issue resolved (when all wifi, bt, ble
          traffics run and suspend)
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) Low throughput observed for TCP downlink traffic in Coex mode
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC11 -
          WLAN New Features:
          ------------------
          1) Module parameter for debug level(ven_rsi_zone_enabled) is added.
          2) Regulatory changes for Caracalla added
      
          WLAN Bug Fixes:
          ---------------
          1) Legacy power save issue is fixed.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) Low throughput observed for TCP downlink traffic in Coex mode
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC10 -
          WLAN Bug Fixes:
          ---------------
          1) 1 minute time delay in sdio resume issue is resolved (Reduced to 10s).
          2) Fail in multiple iterations of hibernate issue is resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT New Features:
          ----------------
          1) BT classic + BT LE mode is supported
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC9 -
          WLAN Bug Fixes:
          ---------------
          1) BT reset added before going to S3/S4/S5 sleep when WoWLAN is enabled.
          2) Station connection check before going to S3/S4/S5 sleep removed.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC8 -
          WLAN Bug Fixes:
          ---------------
          1) Added power leak fixes for S4.
          2) S5 WoLAN issue resolved.
          3) Wakeup short pulse issue resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC7 -
          WLAN Bug Fixes:
          ---------------
          1) Configured host wakeup pin as active low from driver.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC6 -
          WLAN Bug Fixes:
          ---------------
          1) AP data throughput issue resolved.
          2) Scan results issue resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC4 -
          WLAN Bug Fixes:
          ---------------
          1) Buffer status interrupt handling improved.
          2) Scan results update in sta+bt dual mode issue resolved
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC3 -
          WLAN Bug Fixes:
          ---------------
          1) WoWLAN multiple cycles issue resolved.
          2) Driver Version is correctly updated.
          3) Default operating mode for Caracalla board is corrected.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
      
          BT New Features:
          ----------------
          1) Multiple slaves issue in WLAN-BT coex mode resolved.
      
          BT Limitations/Features NOT Supported:
          --------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC2 -
          WLAN Bug Fixes:
          ---------------
          1) Suspend/resume issues resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) EAP not tested
      
          BT Limitations/Features NOT Supported:
          --------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.2.RC1 -
          WLAN New Features:
          ------------------
          1) Restrict functional modes as per device operating mode
          2) Default operating mode for Caracalla board is 13
      
          WLAN Bug Fixes:
          ---------------
          1) Driver oops issue if more than 4 clients try to connect in
             operating mode 14 resolved.
          2) Issue with connecting more than max clients and disconnection
             issue resolved.
          3) L2 test stop when wlan interface down issue resolved.
          4) Driver version corrected.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) EAP not tested
          4) For channels 12 and 13 in US region max TX power is coming 0 in
             beacons.
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated
             from rsi module.
          2) In coex mode, BT file transfer fails at times with certain
             mobiles.
      
      1.1 -
          Generic
          -------
          1) Firmware file name is displayed along with version information.
             at the driver load time.
          2) Device operating mode is made available in the below files:
             /sys/module/rsi_sdio/parameters/dev_oper_mode
             /sys/module/rsi_usb/parameters/dev_oper_mode
          3) Wi-Fi BT radio sharing has been improved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) EAP not tested
          4) For channels 12 and 13 in US region max TX power is coming 0 in beacons.
      
          BT Limitations/Features NOT Supported:
          --------------------------------------
          1) To connect multiple BT slaves, connection should be initiated from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.0.RC7 -
          Generic
          -------
          1) Driver version, Firmware version and operating mode information is displayed
             at the driver load time.
          2) Driver version is made available in the below files:
             /sys/module/rsi_91x/version
             /sys/module/rsi_sdio/version
             /sys/module/rsi_usb/version
      
          WLAN Bug Fixes:
          ---------------
          1) Power save latencies resolved
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) EAP not tested
      
          BT Limitations/Features NOT Supported:
          --------------------------------------
          1) To connect multiple BT slaves, connection should be initiated from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.0 -
          WLAN New Features:
          ------------------
          1) Station mode
          2) All Security modes (WEP/WPA/WPA2)
          3) Station Power save (legacy and UAPSD)
          4) Bgscan and roaming
          5) External antenna selection
          6) Neighbour report request in RRM
          7) Regulatory (802)11d) support
          8) Management frame protection support (802)11w)
          9) Software RF-kill
          10) AP mode
          11) S3, S4 suspend and resume
          12) WoWLAN
          13) AP Power save
          14) Wi-Fi direct
      
          WLAN Bug Fixes:
          ---------------
          1) Allowed channels 12 and 13 in FCC region.
          2) For the allowed channels 12 and 13 in any region, power configuration
             updated as per Caracalla regulatory rules.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S5 with WoWLAN does not work.
          2) For GTK rekey, wakeup trigger send to host.
          3) EAP not tested
      
          BT New Features:
          ----------------
          1) BT EDR mode
          2) BT LE mode
          3) BT coex mode (All the coex modes))
          4) Multi-slave mode supported)
      
          BT Limitations/Features NOT Supported:
          ----------------------------------------
          1) To connect multiple BT slaves, connection should be initiated from rsi module.
          2) In coex mode, BT file transfer fails at times with certain mobiles.
      
      1.0_RC3 -
          Gerenic:
          --------
          1) Device operating mode is changed as module parameter. Please check
             README or TRM on how to configure this while loading the modules.
          2) Max number of stations supported in Wi-Fi AP alone mode is 32, and AP +
             BT coex mode is 4.
          3) AP + BT-EDR + BLE support added.
      
          WLAN Bug Fixes:
          ---------------
          1) Bgscan probe request issue resolved.
          2) WoWLAN before association issue resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) S4 with and without WoWLAN works with the work-around implemented by Canonical.
          2) S5 with WoWLAN does not work.
          3) For GTK rekey, wakeup trigger send to host.
          4) EAP not tested
          5) To connect multiple BT slaves, connection should be initiated from rsi module.
          6) In coex mode, BT file transfer fails at times with certain mobiles.
      
          BT New Features:
          ----------------
          1) Multi-slave mode supported.
      
          BT Bug Fixes:
          -------------
          1) Radio sharing of coex modes improved.
      
      1.0.RC2 -
          WLAN Bug Fixes:
          ---------------
          1) PVB preparation issue in AP mode resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Issue while Resume in S4 with or without WoWLAN.
          3) S5 with WoWLAN does not work.
          4) For GTK rekey, wakeup trigger send to host.
      
          BT Bug Fixes:
          -------------
          1) BT dual mode disconnection issue resolved
          2) AP BT dual mode issue resolved
      
      1.0_RC1 -
          WLAN Bug Fixes:
          ---------------
          1) WoWLAN in Co-ex mode issue resolved.
          2) AP beacon DTIM count update issue resolved.
          3) Firmware assertion (0x5d) in bgscan issue is resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Issue while Resume in S4 with or without WoWLAN.
          3) S5 with WoWLAN does not work.
          4) For GTK rekey, wakeup trigger send to host.
      
      0.9.8.5_RC6 -
          WLAN Bug Fixes:
          ---------------
          1) Firmware CRC check fail issue resolved
          2) Compilation fails on 4.10.1 kernel issue resolved
          3) BG scan issues resolved
          4) AP mode regulatory fixes
          5) WoWLAN issues resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Issue while Resume in S4 with or without WoWLAN.
          3) S5 with WoWLAN does not work.
          4) For GTK rekey, wakeup trigger send to host.
      
      0.9.8.5_RC4 -
          WLAN Bug Fixes:
          -------------------
          1) AP mode configuration in channels 12 and 13 for EU region issue resolved.
          2) Data latencies in AP mode issue resolved.
          3) Roaming issues resolved.
          4) AP WEP mode issue resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Issue while Resume in S4 with or without WoWLAN.
          3) S5 with WoWLAN does not work.
          4) For GTK rekey, wakeup trigger send to host.
          5) WoWLAN does not work in WEP mode.
      
          Others:
          -------
          1) USB binds only to RS9113, let upstream kernel driver handle other RSI chips
      
      0.9.8.5_RC3 -
          WLAN Bug Fixes:
          -------------------
          1) Power save issue in station mode (By default UAPSD is enabled on
          Caracalla board) fixed.
          2) WoWLAN with S3 issue resolved
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Not verified removing SDIO interrupt polling
          3) S4/S5 sleep states not supported (with and without WoWLAN)
      
      0.9.8.5_RC2 -
          WLAN Bug Fixes:
          -------------------
          1) Power save issue in station mode (By default UAPSD is enabled on
          Caracalla board) fixed.
          2) Firmware assert 0x71 (while doing bgscan) issue fixed.
          3) Keep alive functionality in station mode issue fixed.
          4) Data traffic stops when connected to multiple stations issue resolved
          5) WoWLAN not working issue is resolved
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Not verified removing SDIO interrupt polling
          3) S4/S5 sleep states not supported (with and without WoWLAN)
          4) Wi-Fi direct testing is in progress
      
      0.9.8.5_RC1 -
          WLAN Bug Fixes:
          -------------------
          1) Observed unicast probe requests during bgscan issue fixed
          2) Firmware assert 0x71 (while doing bgscan) issue fixed.
          3) Crash when doing rmmod while data traffic is going on issue resolved.
          4) Beacons stopped after 5 minutes of data traffic issue fixed.
          5) Keep alive functionality in station mode issue fixed
          6) 11n data rates issue in station mode resolved.
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) EAP not supported
          2) Not verified removing SDIO interrupt polling
          3) S4/S5 sleep states not supported (with.without WoWLAN)
          4) power save is not working consistently
          5) WoWLAN is not working consistently
      
      0.9.8.3 -
          WLAN New Features:
          -----------------------------------------
          1) AP Mode
          2) S3, S4 suspend and resume
          3) WoWLAN [Testing in progress]
      
          WLAN Bug Fixes:
          -------------------
          1) First EAPOL drop issue is resolved
          2) Firmware Assert while roaming issue is resolved
             (Provide driver bgsan should be enabled along with supplicant bgscan)
          3) Roaming takes longer time issue is resolved
          4) Added polling support as a work-around for the SDIO interrupt issue
             on some platforms
      
          WLAN Limitations/Features NOT Supported:
          ----------------------------------------
          1) Wi-Fi Direct mode not supported
          2) EAP not supported
          3) SDIO interrupts are not being delivered to the 9113 driver
          4) In S4 state 9113 device gets reset but device isn't getting re-enumerated.
      Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
      Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
      Acked-by: default avatarColin King <colin.king@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      4515720a
    • Libin Yang's avatar
      drm/i915: enable dp mst audio · 16c77039
      Libin Yang authored
      BugLink: http://bugs.launchpad.net/bugs/1694665
      
      This patch adds support for DP MST audio in i915.
      
      Enable audio codec when DP MST is enabled if has_audio flag is set.
      Disable audio codec when DP MST is disabled if has_audio flag is set.
      
      Another separated patches to support DP MST audio will be implemented
      in audio driver.
      
      This patch is ported from
      commit 3708d5e0 ("drm/i915: start adding dp mst audio")
      
      And because commit 3708d5e0 ("drm/i915: start adding dp mst audio")
      breaks MST multi-monitor setups on some platforms, the orignal patch is
      reverted by
      commit be754b10 ("Revert "drm/i915: start adding dp mst audio"")
      
      As the multi-monitor setups issue is fixed, let's port the patch and
      enable the dp mst audio.
      Signed-off-by: default avatarLibin Yang <libin.yang@intel.com>
      Cc: Lyude <cpaul@redhat.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1480334827-112273-3-git-send-email-libin.yang@intel.com
      (backported from commit 7f9e7754)
      Signed-off-by: default avatarTimo Aaltonen <timo.aaltonen@canonical.com>
      Acked-by: default avatarSeth Forshee <seth.forshee@canonical.com>
      Acked-by: default avatarColin King <colin.king@canonical.com>
      Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
      16c77039