Linux 4.4.54
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 53 +SUBLEVEL = 54 EXTRAVERSION = NAME = Blurry Fish Butt
arch/s390/include/asm/processor.h +2 -1
@@ -74,7 +74,8 @@ extern void execve_tail(void);* User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit. */ -#define TASK_SIZE_OF (tsk) ((tsk)->mm->context.asce_limit) +#define TASK_SIZE_OF (tsk) ((tsk)->mm ? \ + (tsk)->mm->context.asce_limit : TASK_MAX_SIZE)#define TASK_UNMAPPED_BASE (test_thread_flag(TIF_31BIT) ? \ (1UL << 30) : (1UL << 41))#define TASK_SIZE TASK_SIZE_OF(current)
arch/s390/kernel/setup.c +4 -4
@@ -805,10 +805,10 @@ static void __init setup_randomness(void) {struct sysinfo_3_2_2 *vmms; - vmms = (struct sysinfo_3_2_2 *)alloc_page (GFP_KERNEL ); -if (vmms &&stsi (vmms,3 ,2 ,2 ) ==0 && vmms->count) -add_device_randomness (&vmms, vmms->count); -free_page ((unsigned long ) vmms); + vmms = (struct sysinfo_3_2_2 *)memblock_alloc (PAGE_SIZE ,PAGE_SIZE ); +if (stsi (vmms,3 ,2 ,2 ) ==0 && vmms->count) +add_device_randomness (&vmms->vm,sizeof (vmms->vm[0 ]) * vmms->count); +memblock_free ((unsigned long ) vmms,PAGE_SIZE ); }/*
arch/s390/kvm/kvm-s390.c +3 -0
@@ -295,6 +295,9 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,struct kvm_memory_slot *memslot;int is_dirty =0 ; +if (kvm_is_ucontrol (kvm)) +return -EINVAL ; +mutex_lock (&kvm->slots_lock); r = -EINVAL ;
arch/x86/kvm/vmx.c +2 -2
@@ -3499,7 +3499,7 @@ static void fix_rmode_seg(int seg, struct kvm_segment *save) }vmcs_write16 (sf->selector, var.selector); -vmcs_write32 (sf->base, var.base); +vmcs_writel (sf->base, var.base);vmcs_write32 (sf->limit, var.limit);vmcs_write32 (sf->ar_bytes,vmx_segment_access_rights (&var)); }
@@ -7905,7 +7905,7 @@ static void kvm_flush_pml_buffers(struct kvm *kvm)static void vmx_dump_sel (char *name,uint32_t sel) {pr_err ("%s sel=0x%04x, attr=0x%05x, limit=0x%08x, base=0x%016lx\n" , - name,vmcs_read32 (sel), + name,vmcs_read16 (sel),vmcs_read32 (sel +GUEST_ES_AR_BYTES -GUEST_ES_SELECTOR ),vmcs_read32 (sel +GUEST_ES_LIMIT -GUEST_ES_SELECTOR ),vmcs_readl (sel +GUEST_ES_BASE -GUEST_ES_SELECTOR ));
arch/xtensa/kernel/setup.c +2 -2
@@ -133,6 +133,8 @@ static int __init parse_tag_initrd(const bp_tag_t* tag)__tagtable (BP_TAG_INITRD , parse_tag_initrd); +#endif /* CONFIG_BLK_DEV_INITRD */ +#ifdef CONFIG_OF static int __init parse_tag_fdt (const bp_tag_t *tag)
@@ -145,8 +147,6 @@ __tagtable(BP_TAG_FDT, parse_tag_fdt);#endif /* CONFIG_OF */ -#endif /* CONFIG_BLK_DEV_INITRD */ -static int __init parse_tag_cmdline (const bp_tag_t * tag) {strlcpy (command_line, (char *)(tag->data),COMMAND_LINE_SIZE );
drivers/bluetooth/ath3k.c +2 -0
@@ -94,6 +94,7 @@ static const struct usb_device_id ath3k_table[] = { { USB_DEVICE(0x04CA, 0x300f) }, { USB_DEVICE(0x04CA, 0x3010) }, { USB_DEVICE(0x04CA, 0x3014) }, + { USB_DEVICE(0x04CA, 0x3018) }, { USB_DEVICE(0x0930, 0x0219) }, { USB_DEVICE(0x0930, 0x021c) }, { USB_DEVICE(0x0930, 0x0220) },
@@ -160,6 +161,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = { { USB_DEVICE(0x04ca, 0x300f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3010), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3014), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3018), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x021c), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
drivers/bluetooth/btusb.c +1 -0
@@ -208,6 +208,7 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x04ca, 0x300f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3010), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3014), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3018), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x021c), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +6 -0
@@ -3704,9 +3704,15 @@ static void dce_v11_0_encoder_add(struct amdgpu_device *adev,default : encoder->possible_crtcs =0x3 ;break ; +case 3 : + encoder->possible_crtcs =0x7 ; +break ;case 4 : encoder->possible_crtcs =0xf ;break ; +case 5 : + encoder->possible_crtcs =0x1f ; +break ;case 6 : encoder->possible_crtcs =0x3f ;break ;
drivers/gpu/drm/ast/ast_post.c +38 -10
71 lines not on this page · raw message
drivers/gpu/drm/drm_atomic_helper.c +1 -1
@@ -265,7 +265,7 @@ mode_fixup(struct drm_atomic_state *state)struct drm_connector *connector;struct drm_connector_state *conn_state;int i; -bool ret; +int ret;for_each_crtc_in_state (state, crtc, crtc_state, i) { if (!crtc_state->mode_changed &&
drivers/gpu/drm/drm_edid.c +3 -0
@@ -144,6 +144,9 @@ static struct edid_quirk {/* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */ { "SEC", 0xd033, EDID_QUIRK_FORCE_8BPC }, + +/* Rotel RSX-1058 forwards sink's EDID but only does HDMI 1.1*/ + { "ETR", 13896, EDID_QUIRK_FORCE_8BPC }, };/*
drivers/gpu/drm/i915/intel_pm.c +12 -1
@@ -6803,7 +6803,18 @@ static void ivybridge_init_clock_gating(struct drm_device *dev)static void vlv_init_display_clock_gating (struct drm_i915_private *dev_priv) { -I915_WRITE (DSPCLK_GATE_D ,VRHUNIT_CLOCK_GATE_DISABLE ); +u32 val; + +/* +* On driver load, a pipe may be active and driving a DSI display. +* Preserve DPOUNIT_CLOCK_GATE_DISABLE to avoid the pipe getting stuck +* (and never recovering) in this case. intel_dsi_post_disable() will +* clear it when we turn off the display. +*/ + val =I915_READ (DSPCLK_GATE_D ); + val &=DPOUNIT_CLOCK_GATE_DISABLE ; + val |=VRHUNIT_CLOCK_GATE_DISABLE ; +I915_WRITE (DSPCLK_GATE_D , val);/* * Disable trickle feed and enable pnd deadline calculation
drivers/gpu/drm/ttm/ttm_bo.c +2 -2
@@ -1621,7 +1621,6 @@ static int ttm_bo_swapout(struct ttm_mem_shrink *shrink)struct ttm_buffer_object *bo;int ret = -EBUSY ;int put_count; -uint32_t swap_placement = (TTM_PL_FLAG_CACHED |TTM_PL_FLAG_SYSTEM );spin_lock (&glob->lru_lock);list_for_each_entry (bo, &glob->swap_lru, swap) {
@@ -1657,7 +1656,8 @@ static int ttm_bo_swapout(struct ttm_mem_shrink *shrink)if (unlikely (ret !=0 )) goto out; -if ((bo->mem.placement & swap_placement) != swap_placement) { +if (bo->mem.mem_type !=TTM_PL_SYSTEM || + bo->ttm->caching_state != tt_cached) {struct ttm_mem_reg evict_mem; evict_mem = bo->mem;
drivers/hv/hv.c +1 -1
@@ -219,7 +219,7 @@ int hv_init(void)/* See if the hypercall page is already set */ rdmsrl (HV_X64_MSR_HYPERCALL , hypercall_msr.as_uint64); - virtaddr =__vmalloc (PAGE_SIZE ,GFP_KERNEL ,PAGE_KERNEL_EXEC ); + virtaddr =__vmalloc (PAGE_SIZE ,GFP_KERNEL ,PAGE_KERNEL_RX );if (!virtaddr) goto cleanup;
drivers/infiniband/ulp/ipoib/ipoib_cm.c +7 -5
@@ -1488,12 +1488,14 @@ static ssize_t set_mode(struct device *d, struct device_attribute *attr, ret =ipoib_set_mode (dev, buf); -rtnl_unlock (); - -if (!ret) -return count; +/* The assumption is that the function ipoib_set_mode returned +* with the rtnl held by it, if not the value -EBUSY returned, +* then no need to rtnl_unlock +*/ +if (ret != -EBUSY ) +rtnl_unlock (); -return ret; +return (!ret || ret == -EBUSY ) ? count : ret; } static DEVICE_ATTR(mode, S_IWUSR | S_IRUGO, show_mode, set_mode);
drivers/infiniband/ulp/ipoib/ipoib_main.c +19 -17
@@ -464,8 +464,7 @@ int ipoib_set_mode(struct net_device *dev, const char *buf) priv->tx_wr.wr.send_flags &= ~IB_SEND_IP_CSUM ;ipoib_flush_paths (dev); -rtnl_lock (); -return 0 ; +return (!rtnl_trylock ()) ? -EBUSY :0 ; }if (!strcmp (buf,"datagram\n" )) {
@@ -474,8 +473,7 @@ int ipoib_set_mode(struct net_device *dev, const char *buf)dev_set_mtu (dev,min (priv->mcast_mtu, dev->mtu));rtnl_unlock ();ipoib_flush_paths (dev); -rtnl_lock (); -return 0 ; +return (!rtnl_trylock ()) ? -EBUSY :0 ; }return -EINVAL ;
@@ -628,6 +626,14 @@ void ipoib_mark_paths_invalid(struct net_device *dev)spin_unlock_irq (&priv->lock); } +static void push_pseudo_header (struct sk_buff *skb,const char *daddr) +{ +struct ipoib_pseudo_header *phdr; + + phdr = (struct ipoib_pseudo_header *)skb_push (skb,sizeof (*phdr)); +memcpy (phdr->hwaddr, daddr,INFINIBAND_ALEN ); +} +void ipoib_flush_paths (struct net_device *dev) {struct ipoib_dev_priv *priv =netdev_priv (dev);
@@ -852,8 +858,7 @@ static void neigh_add_path(struct sk_buff *skb, u8 *daddr, }if (skb_queue_len (&neigh->queue) <IPOIB_MAX_PATH_REC_QUEUE ) { -/* put pseudoheader back on for next time */ -skb_push (skb,IPOIB_PSEUDO_LEN ); +push_pseudo_header (skb, neigh->daddr);__skb_queue_tail (&neigh->queue, skb); }else { ipoib_warn(priv, "queue length limit %d. Packet drop.\n",
@@ -871,10 +876,12 @@ static void neigh_add_path(struct sk_buff *skb, u8 *daddr,if (!path->query &&path_rec_start (dev, path)) goto err_path; -if (skb_queue_len (&neigh->queue) <IPOIB_MAX_PATH_REC_QUEUE ) +if (skb_queue_len (&neigh->queue) <IPOIB_MAX_PATH_REC_QUEUE ) { +push_pseudo_header (skb, neigh->daddr);__skb_queue_tail (&neigh->queue, skb); -else + }else { goto err_drop; + } }spin_unlock_irqrestore (&priv->lock, flags);
@@ -910,8 +917,7 @@ static void unicast_arp_send(struct sk_buff *skb, struct net_device *dev, }if (path) {if (skb_queue_len (&path->queue) <IPOIB_MAX_PATH_REC_QUEUE ) { -/* put pseudoheader back on for next time */ -skb_push (skb,IPOIB_PSEUDO_LEN ); +push_pseudo_header (skb, phdr->hwaddr);__skb_queue_tail (&path->queue, skb); }else { ++dev->stats.tx_dropped;
@@ -943,8 +949,7 @@ static void unicast_arp_send(struct sk_buff *skb, struct net_device *dev,return ; }else if ((path->query || !path_rec_start (dev, path)) &&skb_queue_len (&path->queue) <IPOIB_MAX_PATH_REC_QUEUE ) { -/* put pseudoheader back on for next time */ -skb_push (skb,IPOIB_PSEUDO_LEN ); +push_pseudo_header (skb, phdr->hwaddr);__skb_queue_tail (&path->queue, skb); }else { ++dev->stats.tx_dropped;
@@ -1025,8 +1030,7 @@ send_using_neigh: }if (skb_queue_len (&neigh->queue) <IPOIB_MAX_PATH_REC_QUEUE ) { -/* put pseudoheader back on for next time */ -skb_push (skb,sizeof (*phdr)); +push_pseudo_header (skb, phdr->hwaddr);spin_lock_irqsave (&priv->lock, flags);__skb_queue_tail (&neigh->queue, skb);spin_unlock_irqrestore (&priv->lock, flags);
@@ -1058,7 +1062,6 @@ static int ipoib_hard_header(struct sk_buff *skb,unsigned short type, const void *daddr, const void *saddr, unsigned len) { - struct ipoib_pseudo_header *phdr; struct ipoib_header *header; header = (struct ipoib_header *)skb_push (skb,sizeof *header);
@@ -1071,8 +1074,7 @@ static int ipoib_hard_header(struct sk_buff *skb,* destination address into skb hard header so we can figure out where * to send the packet later. */ - phdr = (struct ipoib_pseudo_header *)skb_push (skb,sizeof (*phdr)); -memcpy (phdr->hwaddr, daddr,INFINIBAND_ALEN ); +push_pseudo_header (skb, daddr);return IPOIB_HARD_LEN ; }
drivers/infiniband/ulp/srp/ib_srp.c +32 -17
112 lines not on this page · raw message
drivers/infiniband/ulp/srp/ib_srp.h +1 -0
@@ -168,6 +168,7 @@ struct srp_rdma_ch {int max_ti_iu_len;int comp_vector; +u64 tsk_mgmt_tag;struct completion tsk_mgmt_done;u8 tsk_mgmt_status;bool connected;
drivers/net/ethernet/marvell/mvpp2.c +1 -1
@@ -993,7 +993,7 @@ static void mvpp2_txq_inc_put(struct mvpp2_txq_pcpu *txq_pcpu, txq_pcpu->buffs + txq_pcpu->txq_put_index; tx_buf->skb = skb; tx_buf->size = tx_desc->data_size; - tx_buf->phys = tx_desc->buf_phys_addr; + tx_buf->phys = tx_desc->buf_phys_addr + tx_desc->packet_offset; txq_pcpu->txq_put_index++;if (txq_pcpu->txq_put_index == txq_pcpu->size) txq_pcpu->txq_put_index =0 ;
drivers/net/ieee802154/fakelb.c +7 -7
@@ -30,7 +30,7 @@static int numlbs =2 ;static LIST_HEAD (fakelb_phys); -static DEFINE_SPINLOCK (fakelb_phys_lock); +static DEFINE_MUTEX (fakelb_phys_lock);static LIST_HEAD (fakelb_ifup_phys);static DEFINE_RWLOCK (fakelb_ifup_phys_lock);
@@ -180,9 +180,9 @@ static int fakelb_add_one(struct device *dev)if (err) goto err_reg; -spin_lock (&fakelb_phys_lock); +mutex_lock (&fakelb_phys_lock);list_add_tail (&phy->list, &fakelb_phys); -spin_unlock (&fakelb_phys_lock); +mutex_unlock (&fakelb_phys_lock);return 0 ;
@@ -214,10 +214,10 @@ static int fakelb_probe(struct platform_device *pdev)return 0 ; err_slave: -spin_lock (&fakelb_phys_lock); +mutex_lock (&fakelb_phys_lock);list_for_each_entry_safe (phy, tmp, &fakelb_phys, list)fakelb_del (phy); -spin_unlock (&fakelb_phys_lock); +mutex_unlock (&fakelb_phys_lock);return err; }
@@ -225,10 +225,10 @@ static int fakelb_remove(struct platform_device *pdev) {struct fakelb_phy *phy, *tmp; -spin_lock (&fakelb_phys_lock); +mutex_lock (&fakelb_phys_lock);list_for_each_entry_safe (phy, tmp, &fakelb_phys, list)fakelb_del (phy); -spin_unlock (&fakelb_phys_lock); +mutex_unlock (&fakelb_phys_lock);return 0 ; }
drivers/pwm/pwm-pca9685.c +0 -11
@@ -65,7 +65,6 @@#define PCA9685_MAXCHAN 0x10#define LED_FULL (1 << 4) -#define MODE1_RESTART (1 << 7)#define MODE1_SLEEP (1 << 4)#define MODE2_INVRT (1 << 4)#define MODE2_OUTDRV (1 << 2)
@@ -117,16 +116,6 @@ static int pca9685_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,udelay (500 ); pca->period_ns = period_ns; - -/* -* If the duty cycle did not change, restart PWM with -* the same duty cycle to period ratio and return. -*/ -if (duty_ns == pca->duty_ns) { -regmap_update_bits (pca->regmap,PCA9685_MODE1 , -MODE1_RESTART ,0x1 ); -return 0 ; - } }else {dev_err (chip->dev,"prescaler not set: period out of bounds!\n" );
drivers/s390/block/dcssblk.c +1 -1
@@ -892,7 +892,7 @@ dcssblk_direct_access (struct block_device *bdev, sector_t secnum, dev_info = bdev->bd_disk->private_data;if (!dev_info)return -ENODEV ; - dev_sz = dev_info->end - dev_info->start; + dev_sz = dev_info->end - dev_info->start +1 ; offset = secnum *512 ; addr = (void *) (dev_info->start + offset); *pfn =virt_to_phys (addr) >>PAGE_SHIFT ;
drivers/s390/cio/qdio_thinint.c +4 -4
@@ -147,11 +147,11 @@ static inline void tiqdio_call_inq_handlers(struct qdio_irq *irq)struct qdio_q *q;int i; -for_each_input_queue (irq, q, i) { -if (!references_shared_dsci (irq) && -has_multiple_inq_on_dsci (irq)) -xchg (q->irq_ptr->dsci,0 ); +if (!references_shared_dsci (irq) && +has_multiple_inq_on_dsci (irq)) +xchg (irq->dsci,0 ); +for_each_input_queue (irq, q, i) {if (q->u.in.queue_start_poll) {/* skip if polling is enabled or already in work */ if (test_and_set_bit(QDIO_QUEUE_IRQS_DISABLED,
drivers/target/target_core_device.c +8 -2
@@ -77,12 +77,16 @@ transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) &deve->read_bytes); se_lun =rcu_dereference (deve->se_lun); + +if (!percpu_ref_tryget_live (&se_lun->lun_ref)) { + se_lun =NULL ; + goto out_unlock; + } + se_cmd->se_lun =rcu_dereference (deve->se_lun); se_cmd->pr_res_key = deve->pr_res_key; se_cmd->orig_fe_lun = unpacked_lun; se_cmd->se_cmd_flags |=SCF_SE_LUN_CMD ; - -percpu_ref_get (&se_lun->lun_ref); se_cmd->lun_ref_active = true; if ((se_cmd->data_direction == DMA_TO_DEVICE) &&
@@ -96,6 +100,7 @@ transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) goto ref_dev; } } +out_unlock:rcu_read_unlock ();if (!se_lun) {
@@ -826,6 +831,7 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name) xcopy_lun = &dev->xcopy_lun;rcu_assign_pointer (xcopy_lun->lun_se_dev, dev);init_completion (&xcopy_lun->lun_ref_comp); +init_completion (&xcopy_lun->lun_shutdown_comp);INIT_LIST_HEAD (&xcopy_lun->lun_deve_list);INIT_LIST_HEAD (&xcopy_lun->lun_dev_link);mutex_init (&xcopy_lun->lun_tg_pt_md_mutex);
drivers/target/target_core_tpg.c +2 -1
@@ -539,7 +539,7 @@ static void core_tpg_lun_ref_release(struct percpu_ref *ref) { struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); -complete (&lun->lun_ref_comp); +complete (&lun->lun_shutdown_comp); } int core_tpg_register(
@@ -666,6 +666,7 @@ struct se_lun *core_tpg_alloc_lun( lun->lun_link_magic =SE_LUN_LINK_MAGIC ;atomic_set (&lun->lun_acl_count,0 );init_completion (&lun->lun_ref_comp); +init_completion (&lun->lun_shutdown_comp);INIT_LIST_HEAD (&lun->lun_deve_list);INIT_LIST_HEAD (&lun->lun_dev_link);atomic_set (&lun->lun_tg_pt_secondary_offline,0 );
drivers/target/target_core_transport.c +30 -1
@@ -2680,10 +2680,39 @@ void target_wait_for_sess_cmds(struct se_session *se_sess) }EXPORT_SYMBOL (target_wait_for_sess_cmds); +static void target_lun_confirm (struct percpu_ref *ref) +{ + struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); + +complete (&lun->lun_ref_comp); +} +void transport_clear_lun_ref (struct se_lun *lun) { -percpu_ref_kill (&lun->lun_ref); +/* +* Mark the percpu-ref as DEAD, switch to atomic_t mode, drop +* the initial reference and schedule confirm kill to be +* executed after one full RCU grace period has completed. +*/ +percpu_ref_kill_and_confirm (&lun->lun_ref, target_lun_confirm); +/* +* The first completion waits for percpu_ref_switch_to_atomic_rcu() +* to call target_lun_confirm after lun->lun_ref has been marked +* as __PERCPU_REF_DEAD on all CPUs, and switches to atomic_t +* mode so that percpu_ref_tryget_live() lookup of lun->lun_ref +* fails for all new incoming I/O. +*/ wait_for_completion (&lun->lun_ref_comp); +/* +* The second completion waits for percpu_ref_put_many() to +* invoke ->release() after lun->lun_ref has switched to +* atomic_t mode, and lun->lun_ref.count has reached zero. +* +* At this point all target-core lun->lun_ref references have +* been dropped via transport_lun_remove_cmd(), and it's safe +* to proceed with the remaining LUN shutdown. +*/ +wait_for_completion (&lun->lun_shutdown_comp); } static bool
drivers/tty/n_hdlc.c +69 -74
279 lines not on this page · raw message
drivers/tty/serial/8250/8250_pci.c +13 -0
@@ -2880,6 +2880,8 @@ enum pci_board_num_t { pbn_b0_4_1152000_200, pbn_b0_8_1152000_200, + pbn_b0_4_1250000, + pbn_b0_2_1843200, pbn_b0_4_1843200,
@@ -3113,6 +3115,13 @@ static struct pciserial_board pci_boards[] = { .uart_offset = 0x200, }, + [pbn_b0_4_1250000] = { + .flags = FL_BASE0, + .num_ports = 4, + .base_baud = 1250000, + .uart_offset = 8, + }, + [pbn_b0_2_1843200] = { .flags = FL_BASE0, .num_ports = 2,
@@ -5778,6 +5787,10 @@ static struct pci_device_id serial_pci_tbl[] = { { PCI_DEVICE(0x1c29, 0x1108), .driver_data = pbn_fintek_8 }, { PCI_DEVICE(0x1c29, 0x1112), .driver_data = pbn_fintek_12 }, + /* MKS Tenta SCOM-080x serial cards */ + { PCI_DEVICE(0x1601, 0x0800), .driver_data = pbn_b0_4_1250000 }, + { PCI_DEVICE(0x1601, 0xa801), .driver_data = pbn_b0_4_1250000 }, +/* * These entries match devices with class COMMUNICATION_SERIAL, * COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL
fs/ceph/mds_client.c +3 -2
@@ -644,6 +644,9 @@ static void __unregister_request(struct ceph_mds_client *mdsc, {dout ("__unregister_request %p tid %lld\n" , req, req->r_tid); +/* Never leave an unregistered request on an unsafe list! */ +list_del_init (&req->r_unsafe_item); +if (req->r_tid == mdsc->oldest_tid) {struct rb_node *p =rb_next (&req->r_node); mdsc->oldest_tid =0 ;
@@ -1051,7 +1054,6 @@ static void cleanup_session_requests(struct ceph_mds_client *mdsc,while (!list_empty (&session->s_unsafe)) { req =list_first_entry (&session->s_unsafe, struct ceph_mds_request, r_unsafe_item); -list_del_init (&req->r_unsafe_item);pr_warn_ratelimited (" dropping unsafe request %llu\n" , req->r_tid);__unregister_request (mdsc, req);
@@ -2477,7 +2479,6 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)* useful we could do with a revised return value. */ dout ("got safe reply %llu, mds%d\n" , tid, mds); -list_del_init (&req->r_unsafe_item);/* last unsafe request during umount? */ if (mdsc->stopping && !__get_oldest_req (mdsc))
fs/fat/inode.c +12 -1
@@ -1269,6 +1269,16 @@ out:return 0 ; } +static void fat_dummy_inode_init (struct inode *inode) +{ +/* Initialize this dummy inode to work as no-op. */ +MSDOS_I (inode)->mmu_private =0 ; +MSDOS_I (inode)->i_start =0 ; +MSDOS_I (inode)->i_logstart =0 ; +MSDOS_I (inode)->i_attrs =0 ; +MSDOS_I (inode)->i_pos =0 ; +} +static int fat_read_root (struct inode *inode) {struct msdos_sb_info *sbi =MSDOS_SB (inode->i_sb);
@@ -1713,12 +1723,13 @@ int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat, fat_inode =new_inode (sb);if (!fat_inode) goto out_fail; -MSDOS_I (fat_inode)->i_pos =0 ; +fat_dummy_inode_init (fat_inode); sbi->fat_inode = fat_inode; fsinfo_inode =new_inode (sb);if (!fsinfo_inode) goto out_fail; +fat_dummy_inode_init (fsinfo_inode); fsinfo_inode->i_ino =MSDOS_FSINFO_INO ; sbi->fsinfo_inode = fsinfo_inode;insert_inode_hash (fsinfo_inode);
fs/mount.h +0 -1
@@ -86,7 +86,6 @@ static inline int is_mounted(struct vfsmount *mnt) }extern struct mount *__lookup_mnt (struct vfsmount *,struct dentry *); -extern struct mount *__lookup_mnt_last (struct vfsmount *,struct dentry *);extern int __legitimize_mnt (struct vfsmount *,unsigned );extern bool legitimize_mnt (struct vfsmount *,unsigned );
fs/namespace.c +59 -50
181 lines not on this page · raw message
fs/pnode.c +49 -12
106 lines not on this page · raw message
fs/pnode.h +2 -0
@@ -49,6 +49,8 @@ int get_dominating_id(struct mount *mnt, const struct path *root);unsigned int mnt_get_count (struct mount *mnt);void mnt_set_mountpoint (struct mount *,struct mountpoint *,struct mount *); +void mnt_change_mountpoint (struct mount *parent,struct mountpoint *mp, +struct mount *mnt);struct mount *copy_tree (struct mount *,struct dentry *,int );bool is_path_reachable (struct mount *,struct dentry *,const struct path *root);
include/linux/ceph/osdmap.h +1 -1
@@ -49,7 +49,7 @@ static inline bool ceph_can_shift_osds(struct ceph_pg_pool_info *pool)case CEPH_POOL_TYPE_EC :return false;default : -BUG_ON (1 ); +BUG (); } }
include/linux/lockd/lockd.h +2 -1
@@ -355,7 +355,8 @@ static inline int nlm_privileged_requester(const struct svc_rqst *rqstp)static inline int nlm_compare_locks (const struct file_lock *fl1,const struct file_lock *fl2) { -return fl1->fl_pid == fl2->fl_pid +return file_inode (fl1->fl_file) ==file_inode (fl2->fl_file) + && fl1->fl_pid == fl2->fl_pid && fl1->fl_owner == fl2->fl_owner && fl1->fl_start == fl2->fl_start && fl1->fl_end == fl2->fl_end
include/target/target_core_base.h +1 -0
@@ -740,6 +740,7 @@ struct se_lun {struct config_group lun_group;struct se_port_stat_grps port_stat_grps;struct completion lun_ref_comp; +struct completion lun_shutdown_comp;struct percpu_ref lun_ref;struct list_head lun_dev_link;struct hlist_node link;
net/mac80211/pm.c +1 -0
@@ -168,6 +168,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)break ; } +flush_delayed_work (&sdata->dec_tailroom_needed_wk);drv_remove_interface (local, sdata); }
tools/testing/ktest/ktest.pl +1 -1
@@ -2629,7 +2629,7 @@ sub do_run_test { } waitpid $child_pid, 0; - $child_exit = $?; + $child_exit = $? >> 8; my $end_time = time; $test_time = $end_time - $start_time;
Greg KH
maintainerI'm announcing the release of the 4.4.54 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/s390/include/asm/processor.h | 3 arch/s390/kernel/setup.c | 8 - arch/s390/kvm/kvm-s390.c | 3 arch/x86/kvm/vmx.c | 4 arch/xtensa/kernel/setup.c | 4 drivers/bluetooth/ath3k.c | 2 drivers/bluetooth/btusb.c | 1 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 6 + drivers/gpu/drm/ast/ast_post.c | 48 +++++++--- drivers/gpu/drm/drm_atomic_helper.c | 2 drivers/gpu/drm/drm_edid.c | 3 drivers/gpu/drm/i915/intel_pm.c | 13 ++ drivers/gpu/drm/ttm/ttm_bo.c | 4 drivers/hv/hv.c | 2 drivers/infiniband/ulp/ipoib/ipoib_cm.c | 12 +- drivers/infiniband/ulp/ipoib/ipoib_main.c | 36 +++---- drivers/infiniband/ulp/srp/ib_srp.c | 49 ++++++---- drivers/infiniband/ulp/srp/ib_srp.h | 1 drivers/net/ethernet/marvell/mvpp2.c | 2 drivers/net/ieee802154/fakelb.c | 14 +- drivers/pwm/pwm-pca9685.c | 11 -- drivers/s390/block/dcssblk.c | 2 drivers/s390/cio/qdio_thinint.c | 8 - drivers/target/target_core_device.c | 10 +- drivers/target/target_core_tpg.c | 3 drivers/target/target_core_transport.c | 31 ++++++ drivers/tty/n_hdlc.c | 143 ++++++++++++++---------------- drivers/tty/serial/8250/8250_pci.c | 13 ++ fs/ceph/mds_client.c | 5 - fs/fat/inode.c | 13 ++ fs/mount.h | 1 fs/namespace.c | 109 ++++++++++++---------- fs/pnode.c | 61 ++++++++++-- fs/pnode.h | 2 include/linux/ceph/osdmap.h | 2 include/linux/lockd/lockd.h | 3 include/target/target_core_base.h | 1 net/mac80211/pm.c | 1 tools/testing/ktest/ktest.pl | 2 40 files changed, 405 insertions(+), 235 deletions(-)
Alex Deucher (1):
drm/amdgpu: add more cases to DCE11 possible crtc mask setup
Alexander Aring (1):
fakelb: fix schedule while atomic
Alexander Popov (1):
tty: n_hdlc: get rid of racy n_hdlc.tbuf
Arnd Bergmann (1):
libceph: use BUG() instead of BUG_ON(1)
Bart Van Assche (2):
IB/srp: Avoid that duplicate responses trigger a kernel bug IB/srp: Fix race conditions related to task management
Chao Peng (1):
KVM: VMX: use correct vmcs_read/write for guest segment selector/base
Clemens Gruber (1):
pwm: pca9685: Fix period change with same duty cycle
Dan Carpenter (1):
drm/atomic: fix an error code in mode_fixup()
Dmitry Tunin (1):
Bluetooth: Add another AR3012 04ca:3018 device
Erez Shitrit (1):
IB/IPoIB: Add destination address when re-queue packet
Eric W. Biederman (1):
mnt: Tuck mounts under others instead of creating shadow/side mounts.
Feras Daoud (1):
IB/ipoib: Fix deadlock between rmmod and set_mode
Gerald Schaefer (1):
s390/dcssblk: fix device size calculation in dcssblk_direct_access()
Greg Kroah-Hartman (1):
Linux 4.4.54
Hans de Goede (1):
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
Heiko Carstens (2):
s390: make setup_randomness work
s390: use correct input data address for setup_randomness
Ian Abbott (1):
serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
Janosch Frank (1):
KVM: s390: Disable dirty log retrieval for UCONTROL guests
Jeff Layton (1):
ceph: remove req from unsafe list when unregistering it
Jiri Slaby (1):
TTY: n_hdlc, fix lockdep false positive
Julian Wiedmann (1):
s390/qdio: clear DSCI prior to scanning multiple input queues
K. Y. Srinivasan (1):
drivers: hv: Turn off write permission on the hypercall page
Martin Schwidefsky (1):
s390: TASK_SIZE for kernel threads
Matt Chen (1):
mac80211: flush delayed work when entering suspend
Max Filippov (1):
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
Michel Dänzer (1):
drm/ttm: Make sure BOs being swapped out are cacheable
Nicholas Bellinger (1):
target: Fix NULL dereference during LUN lookup + active I/O shutdown
OGAWA Hirofumi (1):
fat: fix using uninitialized fields of fat_inode/fsinfo_inode
Steven Rostedt (VMware) (1):
ktest: Fix child exit code processing
Thomas Petazzoni (1):
net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
Tomeu Vizoso (1):
drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
Trond Myklebust (1):
nlm: Ensure callback code also checks that the files match
Y.C. Chen (3):
drm/ast: Fix test for VGA enabled
drm/ast: Call open_key before enable_mmio in POST code drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS